Signalynx.SourceGeneration 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Signalynx.SourceGeneration --version 1.0.2
                    
NuGet\Install-Package Signalynx.SourceGeneration -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Signalynx.SourceGeneration" Version="1.0.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Signalynx.SourceGeneration" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Signalynx.SourceGeneration">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Signalynx.SourceGeneration --version 1.0.2
                    
#r "nuget: Signalynx.SourceGeneration, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Signalynx.SourceGeneration@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Signalynx.SourceGeneration&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Signalynx.SourceGeneration&version=1.0.2
                    
Install as a Cake Tool

Signalynx

Signalynx is a high-performance mediator, dispatcher, and lightweight in-process messaging abstraction for .NET 8, .NET 9, and .NET 10. It supports CQRS commands, queries, request/response messages, notifications, domain events, pipeline behaviors, and bulk processing through a small, strongly typed API.

Signalynx is built from scratch. It does not depend on ASP.NET Core or an external messaging framework.

Why another mediator?

Mediator overhead should not dominate inexpensive handlers. Signalynx keeps dispatch typed, uses ValueTask, discovers handlers once during startup, avoids MethodInfo.Invoke on the hot path, and keeps optional integrations in separate packages.

The performance goal is low dispatch overhead—not a claim that real business logic can process millions of records in a millisecond. Handler code, I/O, persistence, and serialization remain the primary real-world costs.

Packages

Package Purpose
Signalynx.Abstractions Messages, handlers, pipelines, and mediator contracts
Signalynx.Core In-process mediator, publishers, registry, and bulk processor
Signalynx.DependencyInjection Assembly scanning and Microsoft DI registration
Signalynx.Validation Optional FluentValidation behaviors
Signalynx.Logging Optional Microsoft.Extensions.Logging behaviors
Signalynx.SourceGeneration Optional compile-time handler registration
Signalynx.Messaging Durable messaging contracts, workers, retries, inbox/outbox, and operations
Signalynx.Transports.InMemory Development/test transport and non-persistent stores
Signalynx.Stores.SqlServer SQL Server durable inbox, outbox, and dead-letter stores
Signalynx.Stores.PostgreSql PostgreSQL durable inbox, outbox, and dead-letter stores
Signalynx.Transports.RabbitMQ RabbitMQ transport adapter
Signalynx.Transports.AzureServiceBus Azure Service Bus transport adapter
Signalynx.Transports.AmazonSqs Amazon SQS transport adapter
Signalynx.Transports.Kafka Kafka transport adapter

Installation

When packages are published:

dotnet add package Signalynx.DependencyInjection
dotnet add package Signalynx.Logging
dotnet add package Signalynx.Validation
dotnet add package Signalynx.Messaging
dotnet add package Signalynx.Stores.SqlServer
dotnet add package Signalynx.Stores.PostgreSql
dotnet add package Signalynx.Transports.RabbitMQ
dotnet add package Signalynx.Transports.AzureServiceBus
dotnet add package Signalynx.Transports.AmazonSqs
dotnet add package Signalynx.Transports.Kafka

For local development, reference the projects in src/.

For production, keep API composition, application handlers, integration contracts, and infrastructure adapters in separate projects:

src/
  Orders.Api/              HTTP endpoints and composition root
  Orders.Application/      Commands, queries, handlers, validators
  Orders.Contracts/        Stable integration-message contracts
  Orders.Infrastructure/   Database, transport, inbox/outbox providers

Use in-process dispatch when the caller needs an immediate result. Use durable messaging when work may be delayed, retried, processed by another service, or completed after the original request ends.

Quick start

Define a command and handler:

public sealed record CreateOrderCommand(Guid CustomerId, decimal Amount)
    : ICommand<Guid>;

public sealed class CreateOrderHandler
    : ICommandHandler<CreateOrderCommand, Guid>
{
    public ValueTask<Guid> HandleAsync(
        CreateOrderCommand command,
        CancellationToken cancellationToken = default)
        => ValueTask.FromResult(Guid.NewGuid());
}

Register Signalynx:

builder.Services.AddSignalynx(options =>
{
    options.RegisterServicesFromAssembly(typeof(Program).Assembly);
    options.AddOpenBehavior(typeof(LoggingBehavior<,>));
    options.NotificationPublishStrategy = SignalynxPublishStrategy.Sequential;
});

Dispatch:

var id = await signalynx.DispatchAsync<CreateOrderCommand, Guid>(
    command,
    cancellationToken);

Messages and APIs

Use ICommand or ICommand<TResult> for state-changing operations, IQuery<TResult> for reads, and IRequest<TResult> for general request/response interactions.

Signalynx is async-only. APIs are DispatchAsync, QueryAsync, and RequestAsync; handlers expose HandleAsync and return ValueTask or ValueTask<TResult>.

Notifications and domain events allow multiple handlers:

await signalynx.PublishAsync(new OrderCreated(orderId), cancellationToken);
await signalynx.PublishEventAsync(new OrderConfirmed(orderId), cancellationToken);

Sequential publishing executes registrations in order and stops at the first exception. Parallel starts handlers concurrently and aggregates failures.

Pipeline behaviors

Implement IPipelineBehavior<TRequest, TResult>. Behaviors execute in registration order and can add validation, logging, authorization, metrics, or transactions.

options.AddOpenBehavior(typeof(LoggingBehavior<,>));

Validation is opt-in:

options.AddOpenBehavior(typeof(ValidationBehavior<,>));

Register your IValidator<T> implementations with the DI container. If no validators exist, the behavior immediately calls the next stage.

Bulk processing

ISignalynxBulkProcessor is deliberately separate from mediator dispatch. It supports sequential and parallel asynchronous processing, batching, cancellation, maximum concurrency, and stop/continue/collect exception strategies.

await bulk.ProcessParallelAsync(
    orders,
    static (order, token) => PersistAsync(order, token),
    maxDegreeOfParallelism: 8,
    cancellationToken);

Do not automatically dispatch every element of a million-item loop through the mediator. Benchmark the complete workload and use bulk APIs when per-item mediator semantics add no value.

Durable messaging

Signalynx.Messaging adds asynchronous message delivery without coupling the mediator hot path to a broker or database. It includes:

  • message envelopes with headers, correlation, causation, destination, and scheduling;
  • outbox and inbox persistence contracts;
  • transport send, receive, acknowledgement, retry, and dead-letter contracts;
  • hosted outbox and receiver workers;
  • exponential-backoff retries;
  • duplicate-delivery protection through the inbox;
  • dead-letter browsing and replay through IMessageOperations;
  • System.Diagnostics.Metrics counters under Signalynx.Messaging.

Define a message handler:

public sealed record OrderSubmitted(Guid OrderId);

public sealed class OrderSubmittedHandler : IMessageHandler<OrderSubmitted>
{
    public ValueTask HandleAsync(OrderSubmitted message, MessageContext context)
    {
        // Application work. Use context.MessageId for idempotency/auditing.
        return ValueTask.CompletedTask;
    }
}

Configure the development transport:

services.AddSignalynxInMemoryTransport();
services.AddSignalynxMessaging(options =>
{
    options.RegisterMessage<OrderSubmitted>();
    options.MaxDeliveryAttempts = 5;
});
services.AddSignalynxMessageHandler<OrderSubmitted, OrderSubmittedHandler>();

Enqueue or schedule:

var id = await bus.EnqueueAsync(
    new OrderSubmitted(orderId),
    destination: "orders",
    cancellationToken: cancellationToken);

await bus.ScheduleAsync(
    new OrderSubmitted(orderId),
    DateTimeOffset.UtcNow.AddMinutes(5),
    destination: "orders",
    cancellationToken: cancellationToken);

The in-memory provider is intentionally for development and tests. It loses messages when the process exits and is not a production durability guarantee. Production deployments must provide persistent implementations of IOutboxStore, IInboxStore, and IDeadLetterStore, plus an IMessageTransport adapter for the chosen broker.

A true transactional outbox also requires the application data update and outbox insert to participate in the same database transaction. The interfaces support that architecture, but transaction enlistment belongs in each database provider.

Signalynx ships durable store adapters for SQL Server and PostgreSQL. Each store implements IOutboxStore, IInboxStore, and IDeadLetterStore over a database-specific client abstraction so applications can bind raw ADO.NET, Dapper, EF Core, or a transaction-enlisted implementation.

Example SQL Server registration:

builder.Services.AddSingleton<ISqlServerMessageStoreClient, SqlServerStoreClient>();
builder.Services.AddSignalynxSqlServerStores(options =>
{
    options.Schema = "messaging";
    options.OutboxTable = "outbox";
    options.InboxTable = "inbox";
    options.DeadLetterTable = "dead_letters";
});

PostgreSQL uses the same shape through IPostgreSqlMessageStoreClient and AddSignalynxPostgreSqlStores.

For high-throughput workloads, the SQL Server and PostgreSQL stores also implement optional batch interfaces:

  • IBatchOutboxStore
  • IBatchInboxStore
  • IBatchDeadLetterStore

Provider clients should implement these batch methods with bulk insert/update commands, table-valued parameters, COPY, array parameters, partition-aware queries, or equivalent database-specific primitives. Avoid one database round-trip per message when processing large streams.

Signalynx ships transport adapter packages for RabbitMQ, Azure Service Bus, Amazon SQS, and Kafka. Each adapter implements IMessageTransport over a small broker-specific client abstraction, so applications can bind the official broker SDK client, a managed wrapper, or a test double without coupling Signalynx.Messaging to vendor packages.

Example RabbitMQ registration:

builder.Services.AddSingleton<IRabbitMqTransportClient, YourRabbitMqTransportClient>();
builder.Services.AddSignalynxRabbitMqTransport(options =>
{
    options.QueueName = "orders";
});

The same pattern is available through IAzureServiceBusTransportClient, IAmazonSqsTransportClient, and IKafkaTransportClient.

Production Configuration

Register validation, logging, and handlers:

builder.Services.AddValidatorsFromAssembly(
    typeof(CreateOrderValidator).Assembly);

builder.Services.AddSignalynx(options =>
{
    options.RegisterServicesFromAssembly(
        typeof(CreateOrderCommand).Assembly);
    options.AddOpenBehavior(typeof(ValidationBehavior<,>));
    options.AddOpenBehavior(typeof(LoggingBehavior<,>));
    options.NotificationPublishStrategy =
        SignalynxPublishStrategy.Sequential;
    options.EventPublishStrategy =
        SignalynxPublishStrategy.Sequential;
    options.ValidateHandlersOnStartup = true;
});

Sequential publishing is the safer default. Use parallel publishing only when handlers are independent and thread-safe. Handlers are resolved through DI; use scoped handlers for database contexts and request-scoped dependencies.

Register consumed messages with stable wire names:

builder.Services.AddSignalynxMessaging(options =>
{
    options.RegisterMessage<OrderSubmitted>("orders.submitted.v1");
    options.OutboxBatchSize = 100;
    options.OutboxPollingInterval = TimeSpan.FromMilliseconds(250);
    options.OutboxLockDuration = TimeSpan.FromSeconds(30);
    options.MaxDeliveryAttempts = 5;
    options.BaseRetryDelay = TimeSpan.FromSeconds(1);
});

builder.Services
    .AddSignalynxMessageHandler<OrderSubmitted, OrderSubmittedHandler>();

Explicit wire names are recommended because assembly-qualified names can change during refactoring.

Production deployments must register real providers:

builder.Services.AddSingleton<IMessageTransport, ProductionTransport>();
builder.Services.AddSingleton<ISqlServerMessageStoreClient, SqlServerStoreClient>();
builder.Services.AddSignalynxSqlServerStores();

These implementations are application- or vendor-specific. Do not register Signalynx.Transports.InMemory outside local development and tests.

Idempotent Message Handlers

Most brokers provide at-least-once delivery, so handlers must tolerate duplicates:

public sealed class OrderSubmittedHandler(
    OrdersDbContext database,
    ILogger<OrderSubmittedHandler> logger)
    : IMessageHandler<OrderSubmitted>
{
    public async ValueTask HandleAsync(
        OrderSubmitted message,
        MessageContext context)
    {
        var alreadyProcessed = await database.ProcessedMessages
            .AnyAsync(
                x => x.MessageId == context.MessageId,
                context.CancellationToken);

        if (alreadyProcessed)
        {
            return;
        }

        await ApplyBusinessChangeAsync(
            message,
            context.CancellationToken);

        database.ProcessedMessages.Add(
            new ProcessedMessage(
                context.MessageId,
                DateTimeOffset.UtcNow));

        await database.SaveChangesAsync(context.CancellationToken);

        logger.LogInformation(
            "Processed message {MessageId} on attempt {Attempt}",
            context.MessageId,
            context.Attempt);
    }
}

Record the message ID and business update in one transaction. Signalynx's inbox prevents completed messages from being handled twice by the same configured store, but business-level idempotency remains necessary when handlers call external systems.

Transactional Outbox

For a true transactional outbox, the business write and outbox insert must commit through the same database connection and transaction:

await using var transaction =
    await database.Database.BeginTransactionAsync(cancellationToken);

database.Orders.Add(order);
await database.SaveChangesAsync(cancellationToken);

await messageBus.EnqueueAsync(
    new OrderSubmitted(order.Id),
    destination: "orders",
    headers: new Dictionary<string, string>
    {
        ["tenant-id"] = tenantId,
        ["schema-version"] = "1"
    },
    cancellationToken: cancellationToken);

await transaction.CommitAsync(cancellationToken);

This is atomic only when the selected IOutboxStore enlists in that same transaction. A provider opening a separate connection is not transactional.

Retries and Dead Letters

The default policy uses bounded exponential backoff. Replace IRetryPolicy when permanent and transient exceptions require different handling:

builder.Services.AddSingleton<IRetryPolicy, ApplicationRetryPolicy>();

Dead letters can be inspected and replayed:

app.MapGet("/admin/messaging/dead-letters", async (
    IMessageOperations operations,
    CancellationToken cancellationToken) =>
    await operations.GetDeadLettersAsync(
        maxCount: 100,
        cancellationToken));

app.MapPost("/admin/messaging/dead-letters/{id:guid}/replay",
    async (
        Guid id,
        IMessageOperations operations,
        CancellationToken cancellationToken) =>
    {
        await operations.ReplayDeadLetterAsync(
            id,
            cancellationToken);
        return Results.Accepted();
    });

Protect these endpoints with administrative authorization and audit every replay.

Environment-Specific Providers

if (builder.Environment.IsDevelopment())
{
    builder.Services.AddSignalynxInMemoryTransport(options =>
    {
        options.Capacity = 10_000;
    });
}
else
{
    // Application-defined extension that registers the selected production
    // IMessageTransport and persistent stores.
    builder.Services.AddProductionSignalynxTransport(
        builder.Configuration);
}

Integration tests should cover successful delivery, retries, retry exhaustion, duplicate delivery, poison messages, scheduling, dead-letter replay, and process restart behavior.

Production Observability

Enable core mediator diagnostics when you want dispatch and publish telemetry:

builder.Services.AddSignalynx(options =>
{
    options.RegisterServicesFromAssembly(typeof(Program).Assembly);
    options.EnableDiagnostics = true;
});

Signalynx emits dispatch and publish activities through the Signalynx activity source and metrics through the Signalynx meter:

  • signalynx.dispatch.calls
  • signalynx.dispatch.failures
  • signalynx.dispatch.duration
  • signalynx.publish.calls
  • signalynx.publish.failures
  • signalynx.publish.duration

Signalynx emits these metrics through the Signalynx.Messaging meter:

  • signalynx.messaging.enqueued
  • signalynx.messaging.sent
  • signalynx.messaging.handled
  • signalynx.messaging.retried
  • signalynx.messaging.dead_lettered
  • signalynx.messaging.handler.duration

OpenTelemetry example:

builder.Services.AddOpenTelemetry()
    .WithTracing(tracing =>
    {
        tracing.AddSource(SignalynxDiagnostics.ActivitySourceName);
    })
    .WithMetrics(metrics =>
    {
        metrics.AddMeter(SignalynxDiagnostics.MeterName);
        metrics.AddMeter(SignalynxMessagingDiagnostics.MeterName);
        metrics.AddPrometheusExporter();
    });

This requires OpenTelemetry.Extensions.Hosting and the chosen exporter. Alert on dead-letter growth, retry rate, outbox depth and age, handler latency, and transport availability.

Deployment and Scaling

  • Run database migrations before enabling workers.
  • Ensure only a worker holding the outbox lock publishes a row.
  • Set lock duration above normal send latency and recover expired locks.
  • Scale consumers according to partitioning and ordering requirements.
  • Use graceful shutdown before terminating workers.
  • Set broker acknowledgement timeouts above expected handler duration.
  • Use bounded queues and broker quotas.
  • Version contracts additively and deploy compatible consumers first.

Security

  • Use TLS and workload identity for broker and database connections.
  • Never place credentials, access tokens, or unnecessary personal data in messages.
  • Treat message headers as untrusted input.
  • Validate tenant and authorization context inside handlers.
  • Restrict dead-letter payload access and define retention policies.
  • Keep Signalynx, .NET, serializers, broker clients, and providers patched.

Production Readiness Checklist

  • A persistent transport and inbox/outbox/dead-letter provider is installed.
  • Business writes and outbox inserts share one transaction.
  • Message wire names and schema versions are stable.
  • Handlers are idempotent.
  • Retry policy distinguishes transient and permanent failures.
  • Dead-letter access and replay are authorized and audited.
  • Metrics, logs, dashboards, and alerts are configured.
  • Broker and database identities use least privilege.
  • Retention, privacy, backup, and recovery policies are defined.
  • Load, failure, duplicate-delivery, and restart tests have passed.
  • Package versions are pinned and dependency licenses are reviewed.

Signalynx supplies the runtime and provider contracts. Production reliability also depends on the selected broker, persistence provider, transaction design, handler idempotency, deployment, and operations.

Source generation

Add Signalynx.SourceGeneration as an analyzer to generate:

services.AddSignalynxGenerated(options =>
{
    options.AddOpenBehavior(typeof(LoggingBehavior<,>));
});

The generator emits DI registrations, HandlerDescriptor metadata, a static handler map, and duplicate single-handler diagnostic SLX001. AddSignalynxGenerated registers the generated descriptors without runtime assembly scanning, which is the preferred path for trimmed and NativeAOT applications.

Runtime assembly scanning remains fully supported through AddSignalynx(options => options.RegisterServicesFromAssembly(...)), but those APIs are annotated with RequiresUnreferencedCode because linkers cannot statically preserve every handler discovered by reflection.

Minimal APIs and ASP.NET Core

The sample in samples/Signalynx.Samples.Api shows asynchronous order endpoints. ASP.NET Core is not required by the libraries; it is only one possible host.

app.MapPost("/orders", async (
    CreateOrderCommand command,
    ISignalynx signalynx,
    CancellationToken token) =>
    Results.Ok(await signalynx.DispatchAsync<CreateOrderCommand, Guid>(command, token)));

Build, test, and benchmark

dotnet restore
dotnet build Signalynx.slnx -c Release
dotnet test tests/Signalynx.Tests -c Release
dotnet run -c Release --project benchmarks/Signalynx.Performance
dotnet run --project samples/Signalynx.Samples.Api
dotnet publish samples/Signalynx.Samples.NativeAot -c Release -r linux-x64 --self-contained true
dotnet pack src/Signalynx.Core -c Release

BenchmarkDotNet scenarios include direct calls, cached delegates, reflection fallback, ValueTask dispatch, generated descriptor dispatch, one-million generated dispatch load tests, commands, queries, requests, notifications, events, diagnostics overhead, sequential/parallel publishing, one/three behavior pipelines, serialization, and enqueue cost. Dispatch, generated dispatch, pipeline, diagnostics, and messaging benchmarks emit allocation measurements; selected dispatch benchmarks also emit disassembly reports through BenchmarkDotNet. Always run benchmarks in Release mode without a debugger.

Docker provider load results

The repository includes opt-in Docker-backed provider benchmarks for RabbitMQ, Kafka, PostgreSQL, and SQL Server. These were run on local Docker with .NET 9.0.17 on Apple M5 Pro. Results vary by host, Docker resources, broker/database settings, message size, durability settings, and batching strategy.

Raw provider write/read benchmarks use broker or database primitives directly:

Provider Path 10k tested time Approx throughput Projected 1M time
RabbitMQ publish + push-consume, auto-ack 103.420 ms ~96,693 msg/s ~10.3 s
Kafka batched produce + consume 50.098 ms ~199,609 msg/s ~5.0 s
PostgreSQL insert rows + read rows 1.247 s ~8,019 rows/s ~2 min 5 s
SQL Server insert rows + read rows 2.723 s ~3,673 rows/s ~4 min 32 s

The RabbitMQ and Kafka rows are optimized raw broker benchmarks, not the full durable messaging pipeline. They intentionally exclude database outbox/inbox work, handler execution, retries, and JSON deserialization in the timed path. The PostgreSQL and SQL Server rows are primitive insert/read checks and are not bulk-loader or table-valued-parameter implementations.

Run the broker/provider primitive benchmarks:

docker compose -f docker-compose.integration.yml up -d --wait

SIGNALYNX_PROVIDER_LOAD_BENCHMARK=1 DOTNET_ROLL_FORWARD=Major \
  dotnet run -c Release --no-build --project benchmarks/Signalynx.Performance \
  -- --filter '*RabbitMqTransportLoadBenchmarks.PublishAndConsume*' --join \
  --warmupCount 1 --iterationCount 1

SIGNALYNX_PROVIDER_LOAD_BENCHMARK=1 DOTNET_ROLL_FORWARD=Major \
  dotnet run -c Release --no-build --project benchmarks/Signalynx.Performance \
  -- --filter '*KafkaTransportLoadBenchmarks.ProduceAndConsume*' --join \
  --warmupCount 1 --iterationCount 1

SIGNALYNX_PROVIDER_LOAD_BENCHMARK=1 DOTNET_ROLL_FORWARD=Major \
  dotnet run -c Release --no-build --project benchmarks/Signalynx.Performance \
  -- --filter '*PostgreSqlPrimitiveLoadBenchmarks.InsertAndRead*' --join \
  --warmupCount 1 --iterationCount 1

SIGNALYNX_PROVIDER_LOAD_BENCHMARK=1 DOTNET_ROLL_FORWARD=Major \
  dotnet run -c Release --no-build --project benchmarks/Signalynx.Performance \
  -- --filter '*SqlServerPrimitiveLoadBenchmarks.InsertAndRead*' --join \
  --warmupCount 1 --iterationCount 1

The full provider-backed messaging benchmark covers transport, outbox, inbox, retry, and handler execution across RabbitMQ/PostgreSQL, RabbitMQ/SQL Server, Kafka/PostgreSQL, and Kafka/SQL Server:

SIGNALYNX_PROVIDER_LOAD_BENCHMARK=1 DOTNET_ROLL_FORWARD=Major \
  dotnet run -c Release --no-build --project benchmarks/Signalynx.Performance \
  -- --filter '*ProviderBackedMessagingLoadBenchmarks.TransportOutboxInboxRetryAndHandlerExecution*' \
  --join --warmupCount 1 --iterationCount 1

Testing

Create a ServiceCollection, call AddSignalynx, and resolve ISignalynx. Tests should assert handler results, behavior ordering, cancellation flow, publisher strategy, and expected exceptions. The repository uses xUnit.

Performance design

  • Typed handler calls instead of reflection invocation during dispatch
  • Startup assembly scanning and immutable handler metadata
  • ValueTask-first async contracts
  • No LINQ in core dispatch loops
  • Async-only API with cancellation propagation
  • Sequential publishing as the predictable low-overhead default
  • Optional source-generated registration
  • Cached direct dispatch delegates and no-behavior pipeline fast paths
  • BenchmarkDotNet with allocation and GC measurements

EnableDelegateCaching is enabled by default for optimized dispatch caches. EnableDiagnostics turns on core dispatch and publish activities and metrics.

Roadmap

Completed foundation:

  • Generated descriptor registration and cached dispatch delegates
  • NativeAOT/trimming annotations on the core registration path
  • Real NativeAOT sample app with publish/run validation in CI
  • Diagnostic events, metrics, and OpenTelemetry documentation
  • Benchmark comparisons, allocation measurements, and generated dispatch load benchmarks
  • RabbitMQ, Azure Service Bus, Amazon SQS, and Kafka transport adapters
  • SQL Server and PostgreSQL durable inbox, outbox, and dead-letter store adapters
  • Docker-backed integration tests for RabbitMQ, Kafka, SQL Server, and PostgreSQL providers
  • End-to-end messaging load benchmark covering transport, outbox, inbox, retries, and handler execution
  • Provider implementation samples for official broker/database SDKs
  • Durable store concurrency validation for leases, duplicate delivery, retry races, and dead-letter replay
  • API compatibility checks and public API approval files
  • .NET 10 target support after the support baseline adoption

Next milestones:

  • Source Link, signed packages, deterministic package validation, and release automation

License

Signalynx is distributed under the MIT License. Third-party package licenses are listed in THIRD-PARTY-NOTICES.md.

The software is provided without warranty. Applications are responsible for their own security, privacy, regulatory, and industry-specific compliance.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 106 7/12/2026
1.0.2 100 7/4/2026
1.0.1 99 7/4/2026
0.1.0-alpha.1 64 6/29/2026