sam
Rake-like task manager (by imdrasil)
mosquito
A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs (by robacarp)
sam | mosquito | |
---|---|---|
1 | 4 | |
96 | 235 | |
- | 0.4% | |
1.8 | 7.3 | |
about 1 year ago | 24 days ago | |
Crystal | Crystal | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sam
Posts with mentions or reviews of sam.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-02.
-
Background jobs for Kemal server in Crystal lang
I have a sam.cr task in place that helps me with local develpment. I tweaked make sam dev to spin up two Sentry runners, and it continues to work seamlessly with both development executables + livereload (livecompile?) again.
mosquito
Posts with mentions or reviews of mosquito.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-26.
-
What language do you use for performant web jobs and services?
it seems many big web projects (rails, django, etc. GIL langs) chose go(lang) to write "services" that could be separated. Yet, just about any language with quick startup, quick execution, concurrent (and/or parallel!), garbage-collecter would work: lisps, ocaml, haxe, nim, crystal, CLI langs, JVM langs! I wonder what HN folks used. Was it a good choice?
i was specifically thinking about crystal for rails, as i noticed a few interesting repos: mosquito, a job scheduler; fruit-juice, a ruby gem to enqueue jobs into mosquito (especially from rails); and lavinMQ, a successor of rabbitMQ(?).
https://github.com/mosquito-cr/mosquito
-
Background job processing with Marten and Mosquito
Marten is a web framework written in Crystal that makes building web applications easy and enjoyable. Mosquito is a background task runner for Crystal that uses Redis and that makes it easy to schedule and run tasks asynchronously.
-
Background jobs for Kemal server in Crystal lang
The Crytal Sidekiq port was a tempting option for a background task runner, but I went with mosquito-cr/mosquito. My initializer looks like this:
-
Database for Kemal server in Crystal lang
I actually already have this implemented with the mosquito shard, but that will be covered in the next post of this series. I'm waiting for at least a day's worth of leaderboard match data to reliably compare with the results above, so stay tuned if interested I guess.
What are some alternatives?
When comparing sam and mosquito you can also consider the following projects:
lake - Recursive tasks managed easily
NATS.io - Crystal client for NATS
crake - CRystal mAKE library
mongo_orm - Mongo ORM: A simple ORM for using MongoDB with the crystal programming language, designed for use with Amber. Based loosely on Granite ORM. Supports Rails-esque models, associations and embedded documents.
cake - Cake is a powerful and flexible Make-like utility tool. Make Tasks Great Again!
bonspiel.studio - https://bonspiel.studio/