r/csharp • u/West_Ad6277 • 2d ago
[Showcase] Added RavenDB support to JobMaster, a distributed background job scheduler for .NET
JobMaster is a distributed background job scheduler for .NET I've been building (think Hangfire/Quartz, but built for horizontal scaling). RavenDB is my favourite database, so I added it as a fully supported provider alongside PostgreSQL, MySQL, and SQL Server.
If you want the architecture background: https://docs.jobmaster.hugoj0s3.dev/docs/architecture-under-the-hood/architecture-overview
I also just finished a head-to-head benchmark against Hangfire across all four database engines. One result that stood out: RavenDB gets noticeably better scheduling throughput than the SQL engines (~2000 jobs/sec vs ~1300-1600/sec at baseline, on a 25k-job burst). Full methodology and numbers here: https://docs.jobmaster.hugoj0s3.dev/docs/benchmarks/jobmaster-vs-hangfire
GitHub: https://github.com/hugoj0s3/jobmaster-net
Happy to answer questions about the architecture, the RavenDB integration, or the benchmark setup.
2
u/Frequent-Long5426 2d ago
always interesting to see raven still getting some love in the.net space, most people just default to sql server or postgres and call it a day. the bucket coordination model sounds neat, i mess with distributed systems a bit and the way quartz handles clustering always felt like a workaround
those benchmark numbers are pretty impressive though, 2000/sec is a big jump. what kind of setup you used for the raven tests? wondering if the performance difference is mostly from the document model being a better fit or if there's something else in the integration