Malgrim
06-02-2008, 11:13 AM
Hi,
I used to develop client side applications and am now on the brink of starting my first server based project, at least on a larger scale. Therefore I searched the web for the best way to do that and was a little surprised, that almost all web application in use, seem to be written in script languages (PHP, ASP, JSP, Perl, ...). Ok, I understand that these are the obvious choice, if the application is mainly about displaying some content. They are easily learned and simple to write. But I'll have to deal with a couple of hundred of users simultaneously, with most of the requests producing a lot of server load but little output.
Now, from all I read there seem to be 3 ways:
1.) Java Servlets (w/ or w/o JSP)
2.) PHP+eAccelerator or something alike (I'd expect to be the slowest)
3.) FastCGI + compiled programs (C/C++, whatever)
I ruled out ASP for other reasons.
What I'd like to know is, have any of you ever compared those options with respect to performance and/or development complexity? Any reason's why I should pick one over the other? And why ist that last option so unpopular?
Any experiences shared in building that kind of web application will be appreciated.
thanks,
Malgrim
I used to develop client side applications and am now on the brink of starting my first server based project, at least on a larger scale. Therefore I searched the web for the best way to do that and was a little surprised, that almost all web application in use, seem to be written in script languages (PHP, ASP, JSP, Perl, ...). Ok, I understand that these are the obvious choice, if the application is mainly about displaying some content. They are easily learned and simple to write. But I'll have to deal with a couple of hundred of users simultaneously, with most of the requests producing a lot of server load but little output.
Now, from all I read there seem to be 3 ways:
1.) Java Servlets (w/ or w/o JSP)
2.) PHP+eAccelerator or something alike (I'd expect to be the slowest)
3.) FastCGI + compiled programs (C/C++, whatever)
I ruled out ASP for other reasons.
What I'd like to know is, have any of you ever compared those options with respect to performance and/or development complexity? Any reason's why I should pick one over the other? And why ist that last option so unpopular?
Any experiences shared in building that kind of web application will be appreciated.
thanks,
Malgrim