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?
What programming language allows for multithreading on a Unix box?
Collapse
X
-
Tags: None
-
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?Last edited by Kiopa_Matt; 03-18-2011, 01:16 AM.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! -
http://php.net/manual/en/book.pcntl.php you can use this to fake multithreading in php...Last edited by k0nr4d; 03-18-2011, 01:20 AM.Mechanical Bunny Media
Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web DevelopmentComment
-
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.- Free Premium Domain Lists and Tools at Clickmojo.com
- For Sale: Obscenity.com
Comment
-
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...Comment
-
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.- Free Premium Domain Lists and Tools at Clickmojo.com
- For Sale: Obscenity.com
Comment
-
Comment
-
-
-
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 ErlangComment
-
A java console application would also work but you could also use php and curl
http://php.net/manual/en/function.curl-multi-exec.phpComment
-
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.Comment
-
-
-
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.Comment
-
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.comComment
-
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 ManagerComment
-
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..Comment
-
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..Comment
-
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.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.Comment
-
Comment
-
Comment

AIM: GrouchyGfy

Comment