rio — A lightweight job scheduler in Go with batteries included

Supratim Samanta
Geek Culture
Published in
3 min readJun 23, 2021

--

Photo by Joey Kyber on Unsplash

What is RIO?

Rio is a lightweight job scheduler and job chaining library. Its mainly build for Golang web apps, but it can be very easily mold to serve any application needing job scheduling. The library is an asynchronous job processor, which makes all the backed calls asynchronously with retry, timeout and context cancellation functionality.

It also provides very easy semantics to join multiple data sources based on their output and input types, at the same time having no coupling between the data sources. This helps in creating new APIs or resolvers for GraphQL APIs a breeze.

Concern

Many times we write web apps which connects to different data sources, combines the data obtained from these sources and then do some more jobs. During these process, we do a lot of boilerplate to transform one data type to other. Also in the absence of a proper job scheduler, we create goroutines abruptly and without proper management. These create unmanageable code. To update those code is even more…

--

--

Supratim Samanta
Geek Culture

300K+views 🙏🏼#Unconventional #ProblemSolver #Tech #Dev #Productivity . Join my fascinating journey.🕺 Support me at https://susamn.medium.com/membership