News for hackers. Stuff that matters.
Re:Stateless and Proud in the Realtime World by StavrosK on Sunday August 05, 2012 @04:20PM (#4342508)
This is the same way I implemented Instabot[1] with. Instabot is an IRC/etc bot for teams, so I didn't want connections to irc to be reset every time we upgraded the server code.

I agree that this is the obvious way to do it. Each client has an id, it talks to the backend via a Redis queue and all the state is in the database, which the irc client never sees.

The irc client itself is written in Go, which means that we should really only ever need that one process for all the irc clients. If anyone wants more info I can write it up quickly.

[1] http://instabot.stochastictechnologies.com

Re:Stateless and Proud in the Realtime World by eugenes on Sunday August 05, 2012 @05:25PM (#4342708)
Please do write it up if you can, I'm interested. Thanks!
Re:Stateless and Proud in the Realtime World by StavrosK on Sunday August 05, 2012 @07:23PM (#4343001)
Fantastic, I will. It was my first foray into Go, too, so I might do a writeup on that too (spoiler: I quite liked Go).