Slide 1

Slide 1 text

DISTRIBUTED SYSTEMS WITH PUB/SUB or how micro services can rock your socks

Slide 2

Slide 2 text

It’s actually quite simple You have two processes You send a message from one to the other Surprise! Distributed system.

Slide 3

Slide 3 text

Why would I bother?! Separation of concerns. More robust in the face of nodes failing. Easier to bring up and take down nodes.

Slide 4

Slide 4 text

Ok but what are WE doing? We have an IRC bot. It listens to and writes to a couple Pub/Sub channels. This lets us do our logic in other processes.

Slide 5

Slide 5 text

The real fun. They don’t have to be on the same server.