xenophobia Posted July 17, 2009 Share Posted July 17, 2009 Im developing a socket server using PHP. What I wanna know is, how well can the PHP socket server can handle the public traffics. Say if I got around 10K users connected to the server, will it able to handle all of them? What about the performance. Well, my server is simple as to receive text message from client and redirect them to other client. Anyone experience with php socket server? Quote Link to comment Share on other sites More sharing options...
trq Posted July 17, 2009 Share Posted July 17, 2009 10k connections at once? You have to be kidding. PHP's socket implementation is pretty solid, I used to run my site on a web server written in php but haven't for a long time. Never had any trouble, but then again, I never had any traffic. Quote Link to comment Share on other sites More sharing options...
xenophobia Posted July 17, 2009 Author Share Posted July 17, 2009 Im new to socket programming. But Im very familiar with PHP and did discover that PHP do provide a set of API for it. So I wanted to give it a try. But my socket server will allowed the public to connect to it. So it will be alot of traffics. But as PHP doesn't allowed multi-threads, so I just wonder whether using PHP server is effective or not. Else, I will consider using Java. Quote Link to comment Share on other sites More sharing options...
trq Posted July 17, 2009 Share Posted July 17, 2009 Like I said, I used to run a web site on a web server built with php. Your not likely to be getting 10k request at a time unless your planning on being the next google. Quote Link to comment Share on other sites More sharing options...
xenophobia Posted July 18, 2009 Author Share Posted July 18, 2009 Thanks for your advise thorpe! I think I will just continue my development on using PHP socket. Im actually developing an virtual socket that enable browser to browser communication. I going to make it open source. Once i published it, i will first let the members of this community know. Cya~ Quote Link to comment Share on other sites More sharing options...
AprilMay Posted August 14, 2009 Share Posted August 14, 2009 Like I said, I used to run a web site on a web server built with php. Your not likely to be getting 10k request at a time unless your planning on being the next google. i'm not planning on being the next google, but i am interested in researching the topic. does anyone know of any performance studies done on php socket servers? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.