Tech News
← Back to articles

Fast and observable background job processing for .NET

read original related products more articles

BusyBee

πŸπŸ’¨ Fast and observable background job processing for .NET

BusyBee is a high-performance .NET background processing library built on native channels. It provides a simple, configurable, and observable solution for handling background tasks with built-in OpenTelemetry support and flexible queue management.

Installation

dotnet add package BusyBee

Quick Start

Register BusyBee in your DI container and start processing background jobs:

// Program.cs builder . Services . AddBusyBee ( ) ; // Inject IBackgroundQueue and enqueue jobs await queue . Enqueue ( async ( services , context , cancellationToken ) => { var logger = services . GetRequiredService < ILogger < Program > > ( ) ; logger . LogInformation ( "Processing job {JobId}" , context . JobId ) ; await Task . Delay ( 1000 , cancellationToken ) ; } , cancellationToken ) ;

Features

πŸš€ High Performance

... continue reading