This is starting to get on my nerves here. Since the mass migration of everyone’s main chatrooms to AWS last week, I’ve noticed significant lag with group chat servers (and whispers) for at least every minute, regardless of how often I sent messages or whispered. It would take about a full second or more to be able to see my bot’s messages and whispers. (Yes, I run a bot, but mainly for my group chatrooms.) My friends in chat noticed roughly the same amount of delay too, and I even notice the same lag of at least that much time with other bots, including, but not limited, to “tpp”, the current main bot in the TwitchPlaysPokemon stream.
I was quite frustrated by this (because of how poorly Twitch is maintaining group chat servers the past month or so, IMO and no offense) that I decided to do some tests with my username and bot logged in at the same time. Using and my IRC client HexChat and my bot’s program, I first found out that USERSTATE messages are sent at the same time either user sees the message. For about every minute or so, I noticed my messages would take about a half-second on average to show up. Then, I was able to implement a way to measure USERSTATE lag, both in my bot’s code and in HexChat as a plugin. Here’s what I got on an empty group chatroom with no users joined there, and yet the result is the same in all of my other chatrooms:
The result is lag spikes for least every minute or more as I originally suspected, depending on how often I sent messages. Some smaller lag spikes within that 1-minute interval occur too as I continued to chat after the tests, up to about 3/4 of those lag times. I also got the same result with different IPs, implying that the entire group server cluster is affected and others might notice it with bots that normally have relatively low latency with the servers. I was also aware that this gets at its worst during the evening hours (U.S. time), and I was able to get a full second of USERSTATE lag once!
And here’s the result in the main chat cluster, not surprisingly:
I have a really fast and stable cable internet BTW, so I think this is more of a server-side issue to me.
But as you can see here, the lag times in the group cluster compared to the main cluster is so great it never got any faster as main chat did like before chatdepot.twitch.tv (the server responsible for maintaining everyone’s group chatrooms) went down for almost a full day earlier this month (March). So I concluded that something is making those processing delays every minute or so. I’ve emailed support about this 3 days ago and haven’t got any response from them as of writing. I’m pretty disappointed and still annoyed by this, although I do understand and respect Twitch’s plans to ditch group chat in the future entirely.
Does any of you still using group chat notice this same kind of lag too? And will it ever be fixed eventually? Any suggestions?
TL;DR: Group chat (and whispers, because they probably use group servers to get them sent) is lagging for a week now, and I’ve confirmed it by measuring time between sending a message and getting USERSTATE in return, as shown in the screenshots above. (Getting USERSTATEs from Twitch after sending every message in IRC chat is completely normal, as described here.) Now it’s about to become annoying, at least for me, and I’m curious what’s causing this to happen.