Re:SimpleSSR: Server-Side Rendering at Scale
by deialtrous on Saturday October 27, 2018 @06:34PM
(#18318085)
I think both statements depend on the definition of "at scale". I am no expert, but every RoR thing I have ever seen has been tiny in terms of traffic and still performed terribly. Is there anything in the top 100 sites using RoR?
[ Parent
| on HN ]
Re:SimpleSSR: Server-Side Rendering at Scale
by jashmatthews on Saturday October 27, 2018 @07:29PM
(#18318279)
YouTube, No. 2, was still running Python 2.7 as of last year. Python and Ruby are basically the same performance wise.
Instagram is also a Python app, AFAIK. Last year they contributed some memory efficiency improvements to CPython.
Shopify is likely the largest RoR site at 80k requests per second but since it's served as tons of different domains it doesn't really count.
Re:SimpleSSR: Server-Side Rendering at Scale
by ksec on Sunday October 28, 2018 @03:06PM
(#18322321)
Stripe is also on Ruby. I think we should separate Ruby and Rails in performance comparison. Python and Ruby are definitely on the same scale.
>Shopify is likely the largest RoR site at 80k requests per second but since it's served as tons of different domains it doesn't really count.
And Different DB etc... Last time I said this I got massively downvoted for it. I think Github is possibly the largest RoR site out there.
Re:SimpleSSR: Server-Side Rendering at Scale
by sam0x17 on Saturday October 27, 2018 @08:09PM
(#18318400)
Twitter was (originally) also built on RoR. Not to mention GitHub is a rails app.
Re:SimpleSSR: Server-Side Rendering at Scale
by hnzix on Saturday October 27, 2018 @08:28PM
(#18318470)
It's also worth noting that Twitter's feature velocity fell off a cliff when they moved to Scala.
Re:SimpleSSR: Server-Side Rendering at Scale
by fouc on Saturday October 27, 2018 @10:36PM
(#18318842)
Oh interesting, I hadn't noticed that pattern.
Re:SimpleSSR: Server-Side Rendering at Scale
by sam0x17 on Sunday October 28, 2018 @01:32AM
(#18319313)
I do think though there is a certain size companies like this reach where they go from innovative to being afraid to change anything lest the viral popularity goes away.
Re:SimpleSSR: Server-Side Rendering at Scale
by keypusher on Saturday October 27, 2018 @09:02PM
(#18318578)
GitHub, AirBnb, Bloomberg, Hulu, Basecamp, Goodreads, Groupon, SoundCloud, Kickstarter, ...
Re:SimpleSSR: Server-Side Rendering at Scale
by wrs on Saturday October 27, 2018 @06:44PM
(#18318128)
There's quite a distance between "tiny" and "top 100 sites"! Some pretty darn popular sites that use Rails (afaik) are GitHub, Shopify, Hulu, Twitch, and Airbnb.
Re:SimpleSSR: Server-Side Rendering at Scale
by deialtrous on Saturday October 27, 2018 @07:15PM
(#18318228)
Not really. The web has become massively centralized with almost all traffic going to a small number of sites. The bottom of the top 100 list is only getting about 50 million pageviews a month, even poorly written sites in slow languages can easily do that on very cheap low end hardware. Pretty much anything not in the top 100 is dealing with a tiny amount of traffic, even a fair bit of the top 100 is. So it is github and twitch, neither of which actually do anything substantial in RoR any more. That seems like a pretty good reason to think RoR's strength isn't high traffic volumes.
Re:SimpleSSR: Server-Side Rendering at Scale
by jashmatthews on Saturday October 27, 2018 @07:34PM
(#18318292)
This is wrong. GitHub is still a large Rails app. See presentations by the core Rails team people who work there like Eileen Uchitelle and Aaron Patterson.
Re:SimpleSSR: Server-Side Rendering at Scale
by deialtrous on Sunday October 28, 2018 @07:52AM
(#18320235)
That's what I am going on. It literally says the RoR stuff is just the basic webpages, everything else has been re-written or was never RoR. Same deal as twitch, the RoR is just the trivial web portion which is mostly cached. All the chat and video is in go.
Re:SimpleSSR: Server-Side Rendering at Scale
by jashmatthews on Sunday October 28, 2018 @06:10PM
(#18323539)
This may be true of Twitch but not GitHub. GitHub uses https://github.com/libgit2/rugged to bridge between Ruby and Git. As far as I'm aware, they still use Ruby to pull the diffs etc out of Git etc.
https://githubengineering.com/how-we-made-diff-pages-3x-fast... indicates they were still doing this as late as 2016.