Our great sponsors
-
JobRunr
An extremely easy way to perform background processing in Java. Backed by persistent storage. Open and free for commercial use.
-
scala-webapp-template
A pragmatic skeleton to build web applications in Scala/Scala.js, including user registration, login, admin portal, and, deployments
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Is there a lightweight background job runner framework in Scala? Something that's backed by a database so the jobs are durable? I found jobrunr which seems like a great framework, but it's Java and doesn't have an async API (i.e. each job is assumed to be blocking and runs on its own thread).
https://github.com/wiringbits/scala-webapp-template does something very similar with akka-stream but it is tied to send emails on the background, it seems that we can easily extend it to support arbitrary jobs (https://github.com/wiringbits/scala-webapp-template/issues/294). What is not so simple to do with such a schema is to distribute the jobs in many servers.
Long time I used http://www.quartz-scheduler.org which worked nicely, I wonder why Scala does not seem to have something standard for this.
Maybe quartz4s?