HackerTrans
TopNewTrendsCommentsPastAskShowJobs

barell

no profile record

comments

barell
·6 वर्ष पहले·discuss
Netflix and spotify give me quick access to lot of content and I value it. I don’t care what software gives me this content.

With messaging it’s different. Transferring messages is relatively simple topic to do as a software. But the cost of running and maintaining it is hard and that’s what users don’t care.
barell
·6 वर्ष पहले·discuss
I tried many things from Apache with mod_php, nginx with php-fpm, Roadrunner and Swoole.

Apache and nginx are both great, both have pros and cons, although I would go with nginx and fpm as my first choice.

Swoole is totally different approach as it runs php as standalone server in a loop, just like python for example. It is great if you serve api but it kills the benefit of having each request isolated as you would have with nginx or apache. So you need to care about memory leaks, db connection pools etc. Also Swoole docs was not great few months ago.

Roadrunner is kind of between apache/nginx and Swoole. It is a golang server that can execute php in workers. For each worker once php is loaded it will stay in memory and it is super fast. The only downside on this one is that Roadrunner is developed by mostly one guy and not much you can find on the internet. Also Roadrunner features set is IMO very narrowed into what the company behind it needs at the time. IMO there is no clear vision where this project is going.
barell
·6 वर्ष पहले·discuss
I think he means C++ is 2x to 5x faster to run than Go. I saw many benchmarks and not sure if that is true though. Go is still one of the fastest out there.
barell
·6 वर्ष पहले·discuss
That is still not clear. Not everyone need to sign in so it could not be essential. It should ask when you want to login if you want to store a cookie or not.