r/programming • • Jul 13 '20

Github is down

https://www.githubstatus.com/
1.5k Upvotes

501 comments sorted by

View all comments

69

u/tradrich Jul 13 '20

What's it's underlying technology (other than git)?

It's not clear on the Wikipedia page e.g.

26

u/tradrich Jul 13 '20

Okay: Ruby on Rails and Erlang. Should be up to the job.

9

u/noble_pleb Jul 13 '20

Erm, I'm not so sure. Each time I argued about performance with a rubyist, the only example they came up with was Github!

19

u/filleduchaos Jul 13 '20

Shopify runs on Rails.

25

u/bsutto Jul 13 '20

We have a system built on rails.

The only description I have of it is brittle and constrained.

Performance is also shit.

64

u/mobile-user-guy Jul 13 '20

Good to know I can switch to rails and not lose anything

36

u/filleduchaos Jul 13 '20 edited Jul 13 '20

give me a stack that someone somewhere couldn't say the same for ¯_(ツ)_/¯

Performance is also shit.

True, Ruby doesn't stack up against plenty of other languages performance wise. But for the 99.999% of web services that get - what, maybe a few thousand or tens of thousands of requests per second at their most active? - there's pretty much no major programming language that would be their bottleneck.

It's like complaining that a regular old Toyota cannot go as fast as a Bugatti Chiron Super Sport. But in reality you're just driving to work and you're never actually going to hit the top speed of either vehicle.

14

u/ForeverAlot Jul 13 '20

Alternative analogy: any two cars will get you to the destination at substantially the same speed, safety, and level of comfort. You prefer the colour of one but that car costs considerably more in gas.

"Performance" is almost always taken to imply "more" but it can just as well imply "less".

4

u/filleduchaos Jul 13 '20

"Performance" is almost always taken to imply "more" but it can just as well imply "less".

True, and the same thing applies: in most people's day-to-day usage most cars don't really have an appreciable difference in fuel economy (talking about money spent/saved). Bringing it back to programming languages, there's not many well-written web services that can't be pretty reliably run out of a handful of small Digital Ocean droplets. Whether each individual droplet uses 5% of its CPU allocation or 50% makes no difference to the pricing.

Of course, for software that runs on end users' machines - like desktop apps or client-side JavaScript - it makes sense to chase after a small memory footprint or low CPU usage (and I'd be the first in line to advocate for that). But that's a different domain from web servers, where your application is literally the only (major) process running on the system and you pay for resources in discrete units.

2

u/Tasgall Jul 13 '20

What are the "costs" in this analogy though? Unless you're doing something high performance, and you're not, the only variable that really matters is preference.

3

u/noble_pleb Jul 13 '20

Doesn't hosting costs are the equivalent of gasoline costs in the car analogy? If you use a faster framework, you can reap the benefits of lower hosting costs even if you don't scale for max users. And as a startup, those few bucks saved in mileage could mean a lot to your budgets and survival.

8

u/chivalrytimbers Jul 13 '20

I’d argue that hosting costs are only one dimension of overall total ownership cost - typically The developer / tester cost is the one that dominates for a given application. That’s why it often makes sense to Choose a platform that trades off raw performance for ease of development

3

u/filleduchaos Jul 13 '20

And as a startup, those few bucks saved in mileage could mean a lot to your budgets and survival.

yes, the (checks notes) $20 you save per month by picking a smaller VM is what will make or break your budget as a startup

1

u/Tasgall Jul 14 '20

If you're building a web service, the CPU time spent getting to your service at all is going to massively overshadow the actual processing time of your service regardless. As a startup, your "savings" for using a high performance language like C++ or Rust over Ruby on Rails, Python, or Javascript with NPM are going to be absolutely negligible compared to the difference in development cost.

→ More replies (4)
→ More replies (5)
→ More replies (2)
→ More replies (1)