Reputation: 6813
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.
Upvotes: 3
Views: 1374
Reputation: 22681
If your code is simple, don't use Php !
You can consider:
Php is good for big project because its simple, fast to use/test/debug ...
Upvotes: 0
Reputation: 853
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).
Upvotes: 0
Reputation: 6635
Cloud solution is perfect. You can even write shell scripts to increase decrease RAM whenever demand goes up.
Upvotes: 1
Reputation: 27305
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.
Upvotes: 1
Reputation: 9387
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.
Upvotes: 4