7 ms·
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 cou
by AJSturrock 12y ago
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 http://i.imgur.com/vFOXWfl.png
- sytse 12y agoThanks for the benchmarks, they look interesting. Any issues you ran into with the HHVM?
- outrunthewolf 12y agoWe 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 https://github.com/PocketRent/hhvm-pgsql
- sytse 12y agoInteresting, thanks!