Hacker News new | ask | show | jobs
by cookerware 4467 days ago
What server can I use with HHVM to get the performance boost claimed in the video? Does it have a built in HTTP server?

Are there any benchmarks proving that HHVM improves performance?

Can I get a better performance than my current setup of Nginx + uWSGI + Flask ?

3 comments

>Can I get a better performance than my current setup of Nginx + uWSGI + Flask ?

That's really a bad question. It really all depends on where your bottleneck is. If you're benchmarking "Hello World" HHVM will be undoubtedly faster than Python/Flask. But if your bottleneck is in database/io, then you won't see much of a performance gain.

Presumably it depends on the task, on how much the previous code-tuning prevents hhvm jit, on how much the code is changed with type hints, ...

Compare PHP fannkuch-redux with Hack Vector fannkuch-redux:

http://benchmarksgame.alioth.debian.org/u64/program.php?test...

http://benchmarksgame.alioth.debian.org/u64/program.php?test...

It says it works via FastCGI, so you should be able to use any web server you want.

edit: Seeing as how Flask is Python, and HHVM is for PHP, you may have some trouble there.