Hacker News new | ask | show | jobs
by jHoldroyd 4110 days ago
Hey co-founder here. Thanks, we're built on PHP, nginx, Postgres and redis running on AWS.
1 comments

What performance problems are the hardest to solve? Do you have some performance data?
One of the biggest problems we faced from the offset was optimising our PHP codebase and to get the best response times possible.

There was only so much we could do before we hit the limits of the existing system, and turning to HHVM really helped to push our API further.

Here's some simple benchmarks we did whilst we were optimising: http://i.imgur.com/vFOXWfl.png

Thanks for the benchmarks, they look interesting. Any issues you ran into with the HHVM?
We certainly did. HHVM doesn't support postgres well straight out of the box.

We managed to patch a third-party driver to give us the functionality we needed.

https://github.com/PocketRent/hhvm-pgsql

Interesting, thanks!