Scaling PHP Up, Out, and Around
blog.phpfog.com
blog.phpfog.com
Heroku doesn't put your applications on their own instances. I imagine they are also getting around the problem of crap low end EC2 instances by distributing all apps across clusters of the largest instances.
Not to bag on PHP Fog, they have created a lot of excitement in the PHP space. Personally, I prefer Heroku's model and for PHP I would rather just cut out the middle man and run my own VPS. It's nice not to have to deal with administration, but that's just one benefit of using Heroku, and not the most important for me.
This doesn't really make sense -- maintaining a TCP connection requires no "tubes"; the limit comes from finite state storage: a finite state table, a finite number of file descriptors, and a finite amount of RAM in which to store the application-level connection contexts. These numbers turn out to be Really Fucking Big, so this is probably not affecting your application unless you are Google's IMAP servers or something.
More on topic, scaling web servers is not hard, just tedious. Scaling storage, especially if you need to use RDBMS's is the real trick.
No, a database connection is just another socket in your "awesome epoll-based framework".
Worst of all, your ORM likely hides the facts from you
Maybe if you're writing your app in BASIC? A good ORM doesn't hide the query logic from you, and there are plenty of popular languages that have good ORMs. The difference between using an ORM and not using an ORM is that you don't have a bunch of code to map SQL rows to application domain objects in your app. That's it.
(Note: Active Record and Class::DBI from 5 years ago aren't good ORMs. But people have written good ones in the intervening time, like DBIx::Class.)
I am looking forward for a service like this, any idea when this will be open to the general public?