4 ms·
I think its website need a fast cache.
by bactisme 6y ago
I think its website need a fast cache.
- antirez 6y agoActually the web site uses Redis as the only store. And Redis is using 0.1% of CPU. The problem is that Ruby sucks at doing anything scalable. It's just a Ruby/Sinatra app. If you do that in PHP, it will work out of the box with many concurrent accesses. With Ruby not the case. There are ways to deploy it better, but it should be fast as default, which is not the case.
- izietto 6y agoThat sounds like a good area on which you might work! :D
- ahmetkun 6y agoI guess it would be interesting if you re-wrote your website in PHP and wrote a blog post about it with the title 'Why I Moved From Ruby to PHP?'
- rakoo 6y agoAs a lover of Tcl (https://web.archive.org/web/20200615130120/http://antirez.com/articoli/tclmisunderstood.html https://web.archive.org/web/20200615130120/http://antirez.co...), I'm surprised you're using ruby and not something Tcl-based with its built-in concurrency
- niyazpk 6y agoNGINX supports Lua scripting. Many years ago I worked on a system which ran a full website on NGINX + Lua + Redis.