views:

73

answers:

4

Hi, I have a php script which requires no web hosting or disk space etc. The script simply retrieves infromation from a server, does some processing on this information and than passes it on to a client (an iPhone app in this case). The only thing is that if traffic gets high than there is a high demand for bandwidth and speed.

Does anyone know of a service with high speed and badwidth (apart from web hosting services) that allows you to host (on a static ip) such a php script?

Thanks.

+4  A: 

You may want to try some sort of cloud service where you can set up the environment you actually need. Let's say your script need a lot of RAM but only little CPU power (or the other way around) you can have exactly such a system. Amazon EC2 is one of many cloud computing providers out there.

Kau-Boy
You might even be able to run php on GoogleAppEngine, which would be perfect for your situation (or you rewrite your script in Python or Java).
FlorianH
GoogleAppEngine unfortunately does not yet have support for PHP but it would be great to use if it did.
+1  A: 

hmm the performance point you can use something like "Facebook HipHop" to convert your php script into "c++" then you have the performance you need.

Stony
Thanks Stony, the performance of the script is not such an issue but Facebook HipHop is really interesting and good to know about
+1  A: 

Cloud solution is perfect. You can even write shell scripts to increase decrease RAM whenever demand goes up.

Akshar Prabhu Desai
A: 

Like everyone here mentioned, cloud hosting is your best bet. It's slightly more expensive for resources & bandwidth than a dedicated but is superior in performance/latency/scalability. I have a similar application setup for a current project and I am running on the RackSpace cloud with 100K+ active users on a daily basis and I have had no problems (been running for 6 months).