How to do background processing / queue in Go?
For example, a user subscribes, and you send them a confirmation email - you want to send a confirmation email in the background, because it can be slow, and the mail server may not be available, etc. etc.
Ruby has a very nice DelayedJob solution that puts your work in a relational database (that is, simple and reliable), and then uses background workers to complete tasks, and retries if the work failed.
I am looking for a simple and reliable solution, not something low, if possible.
go
Lee
source share