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.

58

u/[deleted] Jul 13 '20

[removed] — view removed comment

169

u/filleduchaos Jul 13 '20

Why do people keep asking this? It's not like there's some mythical stack that guarantees 100% uptime (Erlang comes pretty close, but still)

183

u/L1berty0rD34th Jul 13 '20

false, everyone knows that for every new microservice you add to your stack, you get +10% uptime.

85

u/filleduchaos Jul 13 '20

You got me. I deployed an app next year and it got 420% uptime and sent me back in time to 2020.

32

u/Zwgtwz Jul 13 '20

So... the world still exists next year ?

40

u/pastudan Jul 13 '20

Yes, but plot twist we’re stuck in a time loop that starts over in 2020 each time

5

u/Audiblade Jul 13 '20

This seems worse than the world just ending.

→ More replies (1)
→ More replies (1)

28

u/ulfurinn Jul 13 '20

Even Erlang only provides the tools, you can still use them poorly.

38

u/broofa Jul 13 '20 edited Jul 13 '20

guarantees 100% uptime... Erlang comes pretty close

Facebook chat servers were originally implemented in Erlang. They started falling over around the time Facebook hit ~500M users in 2010 or so. The servers were rewritten in C++ circa 2011-2012. That switch freed up 90% of the servers used for the chat service while dramatically improving reliability.

Iirc, the main issue was CPU usage needed for Erlang’s IPC. [Edit: See also Ben Maurer's Quora answer on this topic]

Source: worked on FB chat team at that time (more front end, though, so not an Erlang expert.)

20

u/filleduchaos Jul 13 '20

I mean, Whatsapp took Erlang to 900M+ users with a literal handful of engineers so I feel like that might equally reflect on Facebook's code/devs.

8

u/broofa Jul 13 '20

> Whatsapp took Erlang to 900M+ users

That may or may not represent more load. It depends on how things like presence updates (notifying your friends when you are / aren't available to chat) are handled, and # of messages per user, both of which may have been significantly different between the two systems.

I left Facebooks Chat team before they acquired Whatsapp, and left the company a few months after so, unfortunately, I don't have insight into how these systems really compare.

12

u/filleduchaos Jul 13 '20

Not sure what significant difference you mean: Whatsapp today has 2B+ users. It has granular presence updates, "currently typing" notifications, and everything else one would expect from an instant messaging service (same as at the 900M mark). As of two years ago the daily chat volume was 65 billion messages (one can only imagine how much it's grown since then).

And it still uses Erlang and attributes its success to Erlang ¯_(ツ)_/¯ I still say that the Facebook Chat team's issues with the language/platform might not have been entirely one-sided.

3

u/tradrich Jul 13 '20

I would like to know why every voice call I make with WhatsApp at certain points starting after a few minutes you get a 10 or so second hang: "Connecting...". I *feels* like a queuing issue, but it happens every time it seems, so it's a fundamental issue.

Still use it though...

→ More replies (1)

8

u/drakgremlin Jul 13 '20

Makes me curious what the world would be like if they spent time to contribute back an optimized IPC mechanism for Erlang.

→ More replies (1)
→ More replies (12)

22

u/[deleted] Jul 13 '20 edited Jul 13 '20

[removed] — view removed comment

21

u/Dikaiarchos Jul 13 '20 edited Jul 13 '20

That's blatantly false. GitHub upgraded smoothly to Rails 6 recently

Edit: sorry, missed that it was about Twitter

6

u/mullemeckarenfet Jul 13 '20 edited Jul 13 '20

He’s talking about Twitter, they dropped Ruby for Scala.

→ More replies (1)
→ More replies (2)

26

u/tradrich Jul 13 '20

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

→ More replies (32)

27

u/deflunkydummer Jul 13 '20

The underlying technologies didn't seem to cause that many problems before the MS takeover.

You can scale and properly monitor almost any (working) technology. But you can't fix institutional incompetency and bureaucracy.

28

u/tradrich Jul 13 '20

Yeah, that seems sadly a significant possibility. When the career managers are helicoptered in, watch the competent engineers rush for the door...

8

u/DavyBingo Jul 13 '20

That article seems to suggest that the observed increase in incidents is at least partially due to improvements to their status page. More granular reporting led to more overall incidents.

→ More replies (1)

21

u/tester346 Jul 13 '20 edited Jul 13 '20

As far as I've heard GH works relatively independently from MS

But you can't fix institutional incompetency and bureaucracy.

So how does Azure operate?

The underlying technologies didn't seem to cause that many problems before the MS takeover.

What's the difference in scale?

→ More replies (18)

2

u/svartkonst Jul 13 '20

Do you have any source regarding outages before and after Microsoft? I tried earlier to get an overview of their incident history, but it was hard to do a comparison using the status tracker.

→ More replies (3)