4 ms·
Interesting that twitch still uses IRC as their messaging infrastructure. Wonder how they were able to scale it up.
by thirdplace_ 4y ago
Interesting that twitch still uses IRC as their messaging infrastructure. Wonder how they were able to scale it up.
- grogenaut 4y agoClarification: (had been stated publicly before) we speak irc as one protocol option at the edge. We are definitely not running IRC at the edge or infernally. Source: have worked there for over 5 years.
- Zee2 4y agoI'm sure it's infernal.
- deleted 4y ago[deleted]
- fulafel 4y agoIRC is pretty scalable as-is, no?
- kolme 4y agoIt is! AFAIK you can have a bunch of relay servers effectively acting as load balancers. In the nineties / early 00s you had large IRC networks with many thousands of users chatting in real time with no issues. Well, one known issue was a netsplit [1]. But it did work most of the time. [1] https://en.wikipedia.org/wiki/Netsplit https://en.wikipedia.org/wiki/Netsplit
- boredpudding 4y agoI'm not sure if they actually use IRC internally, it could just be presenting itself as IRC to have an easy API with tons of libraries offering support. Internally, it could translate IRC calls to whatever their internal architecture wants.
- MaxLeiter 4y agoAt least a few years ago it was an actual IRC server and has been since justin.tv. I don’t believe they’ve changed it, as irc clients and bots have continued working with no IRC related changes. (I don’t think they’d invest in providing an IRC gateway; it’d be easier to just abandon it)
- matt74827289 4y agoAn article from late 2015 indicates that IRC is nothing more than an API interface and not their underlying system. https://blog.twitch.tv/en/2015/12/18/twitch-engineering-an-introduction-and-overview-a23917b71a25/ https://blog.twitch.tv/en/2015/12/18/twitch-engineering-an-i...
- tingletech 4y agoI thought IRC was just an API interface to begin with? https://datatracker.ietf.org/doc/html/rfc2812 https://datatracker.ietf.org/doc/html/rfc2812
- dayjah 4y agoI can confirm this. Context: part of the engineering team that worked on the chat infrastructure around this time period. The history is basically: - v1: IRC API to process scoped servers (Python backend, haxe front end) - kept API as we migrated backed to go (via a terrible course through nodejs); this version allowed all participants to be in a room together (ie cross process servers). - once most of background was on go we migrated the front end (can’t remember to what) - backend then got revved a lot (a specialized team was convened to work on chat infrastructure full time) I left in 2017, no idea what has happened since.
- MaxLeiter 4y agoHuh, cool. Not sure when it changed but https://techcrunch.com/2007/05/22/justin-tv-network-launches-more-shows-to-come/ https://techcrunch.com/2007/05/22/justin-tv-network-launches... is a source for justintv using IRC
- distantsounds 4y agoconsidering IRC has existed for 30+ years I'd hope someone has this figured out by now
- TingPing 4y agoThey just disable WHO and don't list users in the channel. Otherwise IRC is trivial.
- ev1 4y agoThey do list users and provide joins and parts if you request the IRCv3 CAP. I've never used IRC before (well before my time) outside of implementing some Twitch overlay stuff for a friend though.