Forum Moderators: phranque
The service would be for a very high traffic site which would perhaps run on a combination of around 4-5 servers under a load balanced setup. (i.e. my client is estimating that kind of traffic and we need to develop the application based on his requirements and estimation).
Since the traffic would be high and mysql database activity would be continous, would it make sense to make the application in php or c/c++ for greater speed and lesser server loads.
I believe that many high end search engines run on programs developed in "C".
An inputs would be appreciated. TIA.
the .NET environment runs compiled programs while the scripting languages are interpreted and generally slower.
Although for your situation, it would seem that the database configuration would be more important than the language of the code. If you have a good budget, and it sounds like you do, you might want to consider using MS Sql Server or one of the bigger boys like Oracle. Don't get me wrong, mySQL is great, but you can do more with SQl Server, etc.
As for C vs PHP, C may be faster if it's written correctly. But PHP is quite fast, and much easier to program in, especially for database access.
Thanks a lot for all the responses. I have decided to use C language to develop the application, but I am not certain whether I would be able to move over to ms sql or oracle. We prefer mysql to the other databases. So I would develop the application with C/Mysql and test it. If it works slow, then perhaps I will move over to some other database.
Thanks again.