News for hackers. Stuff that matters.
Re:Show HN: Moltin - eCommerce API by sytse on Friday March 13, 2015 @03:52PM (#9199574)
What performance problems are the hardest to solve? Do you have some performance data?
Re:Show HN: Moltin - eCommerce API by AJSturrock on Friday March 13, 2015 @05:21PM (#9200149)
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

Re:Show HN: Moltin - eCommerce API by sytse on Friday March 13, 2015 @05:47PM (#9200302)
Thanks for the benchmarks, they look interesting. Any issues you ran into with the HHVM?
Re:Show HN: Moltin - eCommerce API by outrunthewolf on Friday March 13, 2015 @06:19PM (#9200449)
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

Re:Show HN: Moltin - eCommerce API by sytse on Friday March 13, 2015 @06:23PM (#9200469)
Interesting, thanks!