News for hackers. Stuff that matters.
Re:The End of the Redis Adventure by antirez on Tuesday June 30, 2020 @10:26AM (#23690332)
Actually 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.
Re:The End of the Redis Adventure by rakoo on Tuesday June 30, 2020 @02:40PM (#23693299)
As a lover of Tcl (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
Re:The End of the Redis Adventure by ahmetkun on Tuesday June 30, 2020 @10:53AM (#23690645)
I 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?'
Re:The End of the Redis Adventure by tgtweak on Tuesday June 30, 2020 @09:28PM (#23696765)
Or just build a proper Ruby implementation
Re:The End of the Redis Adventure by izietto on Tuesday June 30, 2020 @10:52AM (#23690618)
That sounds like a good area on which you might work! :D
Re:The End of the Redis Adventure by niyazpk on Wednesday July 01, 2020 @01:43AM (#23698139)
NGINX supports Lua scripting. Many years ago I worked on a system which ran a full website on NGINX + Lua + Redis.