Using Phoenix.PubSub to manage side effects

In a normal cycle of a request we do a couple of things before we show something to the user. A CRUD request is received, we do something on the database and return the data on the page that’s shown to the user. Because of this, it takes some time before the user gets shown what he requested. In some requests there are side effects. What I see as a side effects is everything in the request that has been done that doesn’t have a direct input on what the user sees. [Read More]