3 ms·
Shopify like many other successful Ruby shops were successful because of the speed of development. The cost of hosting is secondary and any company the size of
by xutopia 4y ago
Shopify like many other successful Ruby shops were successful because of the speed of development. The cost of hosting is secondary and any company the size of Shopify can afford to involve a small team to reduce hosting costs... with impact for the developers happiness to boot.
- ezekg 4y agoI wonder if YJIT actually did decrease infrastructure costs for Shopify, seeing as it requires ~3x more memory. For my business, it’s come out about even. But a >30% decrease in response time is worth it, for me at least. I run many small servers (2 processes each), but IIRC, Shopify runs beefy servers. So may be different for them.
- byroot 4y ago> as it requires ~3x more memory. Not sure were you've seen this, but that's absolutely not normal. The YJIT memory overhead is certainly sizeable, but is generally at least an order of magnitude smaller than that.
- ezekg 4y agoReddit. Per this discussion here: https://old.reddit.com/r/ruby/comments/zzbrch/how_much_memory_is_yjit_supposed_to_consume/j2cxy9d/ https://old.reddit.com/r/ruby/comments/zzbrch/how_much_memor.... My production workload shows similar results. The YJIT app's memory sits at about 2.4x what my non-YJIT app utilizes. Sidekiq sits at 3x.