Speeding Up the Invisible: Building an Efficient Background Jobs Library
summary
A presentation about building a high-performance background job library for .NET that aims to outperform tools like Hangfire and Quartz. It covers storing and executing background tasks with focus on performance, resource efficiency, distributed-system usage, and fault tolerance, using .NET, PostgreSQL and Npgsql, and shares practical approaches and benchmark results useful to .NET developers.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:07Why background jobs matter
- 8:45Problems with Hangfire and Quartz
- 14:20Design principles: minimalism in Jobin
- 15:23Database schema and tables
- 18:12Client-side: commands and handlers
- 21:23Job storage and transactions
- 23:31Server-side: background execution
- 26:22Fetching jobs with parallelism
- 30:56Executing jobs: reflection and DI
- 37:35Benchmark results and performance
- 41:53Optimizing with batching
- 47:31Scheduling recurrent jobs
- 50:17Handling infrastructure failures
- 54:50Key principles and summary
- 57:17Q&A
