Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-18-2011, 02:09 AM   #1
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
What programming language allows for multithreading on a Unix box?

I'm under the impression that PHP is not the way to go as it doesn't support real multithreading. So what language does and will run smoothly on a unix/linux server?
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:11 AM   #2
Kiopa_Matt
Confirmed User
 
Industry Role:
Join Date: Oct 2007
Posts: 1,448
Perl. Google for Perl fork() examples.

And you're right, PHP doesn't support multi-threading.

PS. What do you need multi-threading for? Correct me if I'm wrong, but assuming you're a novice developer, you're going to want to put your head through a wall several times while trying to write a multi-threaded Perl application. Maybe it's not needed? What are doing?
__________________
xMarkPro -- Ultimate Blog Network Management
Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more!

Last edited by Kiopa_Matt; 03-18-2011 at 02:16 AM..
Kiopa_Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:18 AM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
http://php.net/manual/en/book.pcntl.php you can use this to fake multithreading in php...

Last edited by k0nr4d; 03-18-2011 at 02:20 AM..
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:44 AM   #4
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
php has more than adequate multithreaded support if you're doing scraping or fetching, so it depends what you're doing. python may also be a good candidate for your needs.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:59 AM   #5
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
I'm not touching this shit with a 10 foot pole, but I want to know what type of developer I want to be looking for. Will be fetching/scraping a large amount of data from multiple sources for SEO research. Needs to support a large proxy list and multi-threading to accomplish my goals. Will probably need to perform between 180-250k requests daily...
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:13 AM   #6
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
I know a great multithreaded perl coder if you need one. He specializes in data mining. I know how to do this stuff, and I still use him myself.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:14 AM   #7
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by Brujah View Post
I know a great multithreaded perl coder if you need one. He specializes in data mining. I know how to do this stuff, and I still use him myself.
You could just sell me your clickmojo script and cut through 90% of the shit... lol
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:16 AM   #8
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by Angry Jew Cat View Post
You could just sell me your clickmojo script and cut through 90% of the shit... lol
lol just join the site and use the scanner!
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:17 AM   #9
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by Brujah View Post
lol just join the site and use the scanner!
That come with resell rights? I'm sure it would be 1000% easier to just scrape your results...
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 04:36 AM   #10
jay23
Confirmed User
 
Join Date: Jun 2003
Posts: 1,444
http://en.wikipedia.org/wiki/Erlang_...ng_language%29

but this may be over kill for what you want to do .

If you are looking for the best programming language to code multithreading apps on a Unix box nothing comes close to Erlang
jay23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 05:29 AM   #11
nation-x
Confirmed User
 
nation-x's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
A java console application would also work but you could also use php and curl

http://php.net/manual/en/function.curl-multi-exec.php
nation-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 08:21 AM   #12
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Suggesting PCNTL use to someone who isn't familiar is like handing a 3 year old a Maserati, the keys, and a wrench. No good can come of this.

You can fork off several copies/etc, but seeing that you want to multiplex proxies and stuff.. nah, can't help ya man.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 09:10 AM   #13
v0id
Confirmed User
 
Industry Role:
Join Date: Sep 2006
Posts: 43
node.js http://nodejs.org/
v0id is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:51 PM   #14
blogman9
Confirmed User
 
blogman9's Avatar
 
Join Date: Dec 2005
Posts: 1,261
Java .
__________________
Adult industry news

blogman9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:53 PM   #15
Lassitor
Confirmed User
 
Lassitor's Avatar
 
Join Date: Jun 2009
Posts: 278
Perl or Python would be my first choice. What exactly are you doing on the unix box?
Lassitor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 02:55 PM   #16
WarChild
Let slip the dogs of war.
 
WarChild's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Bermuda
Posts: 17,263
PHP is a scripting language, not really a programming language.

Why do you need to use a Unix box? This is a job for C# or VB
__________________
.
WarChild is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:12 PM   #17
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by WarChild View Post
PHP is a scripting language, not really a programming language.

Why do you need to use a Unix box? This is a job for C# or VB
I'm assuming that this will be a resource hog necessitating it's own box, so Windows is an option, and it was something I had been considering as another alternative.
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:19 PM   #18
beta-tester
Rock 'n Roll Baby!
 
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
Python all the way
__________________

Sig for sale. Affordable prices. Contact me and get a great deal ;)

My contact:
ICQ: 944-320-46
e-mail: manca {AT} HotFreeSex4All.com
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:27 PM   #19
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
just about any language will work, unless you are building the next google, which you probably aren't...
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:29 PM   #20
WarChild
Let slip the dogs of war.
 
WarChild's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Bermuda
Posts: 17,263
Quote:
Originally Posted by Angry Jew Cat View Post
I'm assuming that this will be a resource hog necessitating it's own box, so Windows is an option, and it was something I had been considering as another alternative.
I program in Windows. You won't really need a very big box. Since you're going to use direct http post and get you should be okay. It's not like you'll be running hundreds of conncurent instances of IE.

The submit box that runs my custom tube submitter software literally submits to hundreds of tube sites at the same time and it's nothing special.
__________________
.
WarChild is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 03:35 PM   #21
WarChild
Let slip the dogs of war.
 
WarChild's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Bermuda
Posts: 17,263
Depending on the complexity of the scraping and warehousing requirments, I don't think it would take that long to do.

Personally I'd start with a third party component like Chilkat HTTP library which has built in proxing support and makes working with http uber simple.

You could easily house it on a webair $99 unmanaged windows server with 10mbit included bandwidth. SQL Server license is another $40 a month or something like that.
__________________
.
WarChild is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 04:31 PM   #22
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by WarChild View Post
Depending on the complexity of the scraping and warehousing requirments, I don't think it would take that long to do.

Personally I'd start with a third party component like Chilkat HTTP library which has built in proxing support and makes working with http uber simple.

You could easily house it on a webair $99 unmanaged windows server with 10mbit included bandwidth. SQL Server license is another $40 a month or something like that.
A lot of the data can be pulled from XML feeds and via a couple different APIs. I'm still researching my options for a while yet. I want to be sure I come at this from the right angle this first time. Windows is sounding like a good option. If it ever comes down to it, I could always run the software locally for my own use.
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 04:45 PM   #23
HarryMuff
Confirmed User
 
HarryMuff's Avatar
 
Join Date: Dec 2005
Posts: 271
Quote:
Originally Posted by blogman9 View Post
Java .
This ^. Unless u suck.
HarryMuff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 04:58 PM   #24
HarryMuff
Confirmed User
 
HarryMuff's Avatar
 
Join Date: Dec 2005
Posts: 271
Quote:
Originally Posted by WarChild View Post
PHP is a scripting language, not really a programming language.

Why do you need to use a Unix box? This is a job for C# or VB
Sure you could use C#, but he has unix, might as well use Java, which is what C# copied.
HarryMuff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 05:12 PM   #25
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by HarryMuff View Post
Sure you could use C#, but he has unix, might as well use Java, which is what C# copied.
Copied all the way down to being a resource hog and providing very little core functionality.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 05:31 PM   #26
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
python would be your best bet
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2011, 10:14 PM   #27
HarryMuff
Confirmed User
 
HarryMuff's Avatar
 
Join Date: Dec 2005
Posts: 271
Quote:
Originally Posted by GrouchyAdmin View Post
Copied all the way down to being a resource hog and providing very little core functionality.
Well that's it then, I'm going to do everything in assembly language from now on.
HarryMuff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.