Tags

#performance
performance

83stories
3 h agolatest
NET 10 JSON
Read JSON from a pipe
ELelmah.io Blog Ali Hamza Ansari Oct 20

Reading large JSON with PipeReader in .NET 10 System.Text.Json

Ali Hamza Ansari compares the PipeReader overload that .NET 10 adds to System.Text.Json with reading the same large JSON payload from a Stream. He measures execution time, allocated memory and GC collection counts on a file with one million records. The results matter if your high-traffic endpoints deserialize big request bodies.

OrmLite v10.4
Typed complex queries

OrmLite v10.4 adds typed recursive, window and combined queries

ServiceStack v10.4 brings typed support to OrmLite for recursive hierarchies, named sub queries, window functions, set operations and keyset paging. These queries used to need hand-written SQL, and now they stay parameterized and composable with your existing filters and joins. The post walks through each feature with examples and the SQL they generate.

Wolverine 6.51
Zero-downtime rebuilds
JXJasperFx (Critter Stack) Blog Jeremy Miller Oct 19

Rebuilding Marten Projections Without Downtime with Wolverine 6.51 Warm-up Nodes

Wolverine 6.51 adds a warm-up node role for blue/green deployments. New nodes join the cluster only to rebuild new projection versions in Marten or Polecat, without handling messages or subscriptions. Combined with versioned projections and a side-effect gate, teams can catch up read models before switching traffic. This is a practical path to zero-downtime releases for event-sourced systems.

.NET 10 Runtime
Text search with SIMD
DVDEV Community: #csharp Pedro Sakuma Travi Oct 19

How ReadOnlySpan<char>.IndexOf finds a substring with SIMD

This article walks through how the .NET 10 runtime's ReadOnlySpan<char>.IndexOf finds a substring using SIMD vector instructions. The author compares it with a naive loop in a BenchmarkDotNet run and explains where the speed difference comes from. It is a useful deep dive for developers who care about string search performance.

Wolverine 6.51
Outbox for serverless
JXJasperFx (Critter Stack) Blog Jeremy Miller Oct 18

Serverless Wolverine Gets a Transactional Outbox in Wolverine 6.51

Wolverine 6.51 adds the DurabilityMode.ServerlessWithOutbox mode, letting handlers running on Cloud Run, AWS Lambda or Azure Functions keep the transactional outbox without always-on background agents. An externally triggered durability pass recovers messages that failed to send, and push receivers accept broker deliveries over HTTP. It is a useful option for teams on tight serverless budgets.

NAudio 3.3.0
Simpler Windows targets

NAudio 3.3.0 Simplifies Windows-Only Target Frameworks in the Meta-Package

NAudio 3.3.0 preview moves the meta-package to a single net9.0 target and marks Windows-only APIs with [SupportedOSPlatform] instead of a -windows TFM. The library is also fully annotated for nullable reference types. Developers targeting plain netX.0 should know the new package layout and the CA1416 warnings it can produce.

xapi-dotnet 0.2.0
Lessons from an xAPI library
DVDEV Community: #aspnetcore Nurullah Türkoğlu Oct 17

What I learned building an xAPI 2.0 library and LRS for .NET

The author built xapi-dotnet, an xAPI 2.0 (IEEE 9274.1.1) library with statement models, an async client, a durable outbox and an LRS that runs inside ASP.NET Core. The write-up covers conformance testing in CI, reflection-free JSON handling for Native AOT and Unity, and the real cost of durable writes. Useful for any team sending e-learning data from .NET.

Jev .NET SDK 0.7.0
Image and box support
LKLaurent Kempé Laurent Kempé Oct 17

TypeSafe Jev .NET SDK 0.7.0: Experimental Images and Bounding Boxes

The community TypeSafe Jev .NET SDK 0.7.0 adds experimental image input and a Box question type that returns a normalized bounding box for a target in an image. The release also brings nullable usage counts, stricter request validation and zstd compression. Developers experimenting with vision requests in C# should read on.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message