News for hackers. Stuff that matters.
Re:The End of the Redis Adventure by binarymax on Tuesday June 30, 2020 @09:21AM (#23689686)
HN hugged to death. Here's the snapshot on archive: https://web.archive.org/web/20200630130517/http://antirez.co...
Re:The End of the Redis Adventure by bactisme on Tuesday June 30, 2020 @09:43AM (#23689892)
I think its website need a fast cache.
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.
Re:The End of the Redis Adventure by entropie on Tuesday June 30, 2020 @09:58AM (#23690035)
I actually wonder how many request/s one gets from being on the top of HN.
Re:The End of the Redis Adventure by tuananh on Tuesday June 30, 2020 @10:14AM (#23690182)
not very high

a previous post of mine got 500 points and stay #1 for a few hours.

https://news.ycombinator.com/item?id=22410448

traffic from it looks like this

https://tuananh.net/2020/03/02/traffic-from-top-post-on-hack...

Re:The End of the Redis Adventure by Izkata on Tuesday June 30, 2020 @12:00PM (#23691411)
> Traffic stats on Cloudflare seems a bit inflated with the unique visitors at 36k. Maybe they do count bots as well there.

First screenshot looks like Google Analytics to me; I'd say it's more likely a lot of us have blocked it and Cloudflare's number is more accurate.

Re:The End of the Redis Adventure by rikroots on Tuesday June 30, 2020 @03:07PM (#23693603)
My "Show HN" post was in the bottom half of the HN home page for less than an hour. Traffic to the site was roughly 100 times greater than its current levels (by bandwidth):

https://www.linkedin.com/posts/rik-roots-50349611_in-case-an...

Re:The End of the Redis Adventure by polote on Tuesday June 30, 2020 @11:24AM (#23690978)
"antirez 2 hours ago. 52347 views. "
Re:The End of the Redis Adventure by ojosilva on Tuesday June 30, 2020 @12:45PM (#23691970)
Those are the ones that got through all the way, or at least the ones that got picked up by the view counter. Not the people that got error or timed-out responses.
Re:The End of the Redis Adventure by ignoramous on Tuesday June 30, 2020 @10:20AM (#23690263)