News for hackers. Stuff that matters.
Re:Ask HN: Server Infrastructure recommendations for a PHP app by debacle on Friday May 18, 2012 @10:17AM (#3991930)
For an application with the traffic and size of twitter, you're going to need at least three dedicated DBAs managing your MySQL installation (never have an even number of DBAs - it leads to tyranny), which is probably going to be spread out across a cluster of replicated servers.

You're going to have a very beefy load balancer, behind which sits a bunch of nginx installs and you'll have likely thrown CI out the window because, even though it's fast for a PHP framework, it's not fast enough for what you need. You'll be using PHP, likely with a few homebrew extensions written in C.

Or you could just use Node. It has non-blocking IO. :D

Realistically, write it on a crappy linode with the default MySQL install and your PHP framework of choice. If you ever get as big as twitter, you can worry about scaling up to that size then.

Re:Ask HN: Server Infrastructure recommendations for a PHP app by mwumva on Saturday May 19, 2012 @11:50AM (#3996205)
I'll try the React framework for Node+PHP. We'll see how that goes... but wait, why isnt CI useful enough?
Re:Ask HN: Server Infrastructure recommendations for a PHP app by dholowiski on Friday May 18, 2012 @02:21PM (#3993202)
> never have an even number of DBAs - it leads to tyranny

Please explain.

Re:Ask HN: Server Infrastructure recommendations for a PHP app by debacle on Friday May 18, 2012 @04:28PM (#3993746)
It's the same reason you never want an even number of supreme court justices. In the courts, it would lead to deadlock. In the server room, it will lead to bloodshed.