I was reading some old topics on here, and I feel like the question at the end of the topic quoted below about what the difference between connecting to a channel specific chat server and connecting to irc.twitch.tv is?
I am currently using irc.twitch.tv and it works fine, will there be any difference in performance/stability?
Continuing the discussion from Upgrading chat servers, new IPs :
FYI, I wanted to give you a heads up that we finally received some bigger, faster servers for the chat system. We plan on rolling them out over the next 24 hours. Unfortunately, our systems are set up that new servers need new IPs so you’ll need to update your bots to use the correct IPs.
Since we’ll be adding boxes and taking away boxes in several steps (for a graceful rotation), I’d recommend updating your bots use the https://api.twitch.tv/api/channels/some_channel/chat_properties (replace some_channel with an actual channel name) API which returns the list of servers available for a specific channel. This way we are not required to coordinate server changes with bot updates.
In any case, I’ll also post updates here when we have added / removed the servers during the migration.
Let me know if you have any questions.
Continuing the discussion from Upgrading chat servers, new IPs :
george
October 14, 2015, 9:02pm
2
See my comment here:
For most IRC users there are two chat clusters you need to be concerned with: main and event . You can access a particular channel from any server within a cluster to which it is assigned. Almost all channels will be on the main cluster with the exception of extremely large channels (riotgames) or events (esports, E3, TwitchCon, etc.).
There are various API endpoints you can use to determine which cluster a channel resides on including the one you mentioned above. For example:
Main: http://tmi.twitch.tv/servers?channel=lirik
Event: http://tmi.twitch.tv/servers?channel=riotgames
The cluster
value will tell you which you need to connect to and the servers
array will give you a list of IRC compatible servers. (Note: you can also use port 6667)
How many connections you uses depends on how active the channels and bot is. If they are a few smaller channels you can probably group them on a single connection. If you are receiving too many messages on a single connection you might reach the limit of the server’s sending buffer and get disconnected.
tl;dr - “irc.twitch.tv ” will work in almost all cases. The exception being channels on the event chat cluster.
In that case I will keep my bot for a rather small channel (~200 viewers) on irc.twitch.tv for now then
Many thanks!
system
Closed
November 13, 2015, 9:23pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.