Tags

#performance
performance

79stories
1 d agolatest
NebulaGraph
Duplicate-free graph loads
DVDEV Community: #csharp Mehdi Mohseni 3 d ago

Idempotent NebulaGraph bulk ingestion from .NET using deterministic VIDs

NebulaGraph has no unique indexes, so duplicates in a graph load usually come from unstable vertex IDs and edge ranks. The author shows how to derive deterministic VIDs from business keys with FNV-1a and pin edge rank, which makes repeated loads safe. A batched .NET ingestion pipeline with checkpoints and retries is included.

C# 14
Events and subscriptions

Events and Delegates in C#: Contracts, Subscriptions and Notification

This article explains the difference between delegates and events in C#, the subscription boundary an event creates, and how multicast invocation behaves when a handler throws. It also covers what notification does not guarantee: completion of every subscriber, async handling and subscription lifetime. Read it to design event-based notifications with clearer contracts.

Azure SQL
One writer, distributed design
SQAzure SQL Blog Anna Hoffman 3 d ago

Is Azure SQL Database Hyperscale really distributed SQL?

Azure SQL Database Hyperscale splits a single-writer SQL engine across separate compute, log, page server and storage tiers, so it is distributed in architecture but not in write capacity. The author explains where that line falls against the usual meaning of distributed SQL, and cites a commissioned benchmark against Aurora PostgreSQL. Useful when you choose a database for a growing workload.

Veri ve SQL Server
UTF-8 Collation Migration
CCC# Corner Vivek Kumar 3 d ago

Migrating SQL Server to UTF-8 Collations Without Breaking Data

In SQL Server 2019 and later, varchar columns using a collation whose name ends in _UTF8 can store Unicode text, so not every text column has to become nvarchar. The change is more than a single database setting, though: comparisons, sorting, unique indexes and storage sizes all shift. The article lays out a step-by-step path from column inventory to production rollout.

C# 15
Add your own indexer

C# 15 Extension Indexers: Add [] Syntax to Types You Don't Own

C# 15 lets you declare indexers inside extension blocks, so types you don't own can support square-bracket access. Adding Count and Slice also unlocks index-from-end, ranges, and list patterns. The feature was tested on the .NET 11 RC 1 SDK, and the article lists its gotchas: real indexers win silently, arrays and strings are excluded, and expression trees reject it.

TableSchema
Compare, plan, then apply
DVDEV Community: #dotnet Jeff Tsai 3 d ago

TableSchema and database structure upgrades: compare, plan, execute

This post explains how a .NET ERP framework applies TableSchema definitions to the physical database without migration scripts. Each upgrade compares the live structure with the definition, then separates compare, plan and execute so the mode (ALTER or rebuild) can be checked before running. It is useful for developers who maintain schemas that already hold production data.

Wolverine 6.58
Message loss closed
JXJasperFx (Critter Stack) Blog Jeremy Miller 3 d ago

Critter Stack in Review: message loss fixes, clean shutdown and multi-tenancy

JasperFx shipped 72 tagged releases across Wolverine, Marten and shared libraries between October 12 and 30. The headline theme is a durable inbox and outbox hardening pass that closed about a dozen ways messages could go missing or run twice, much of it driven by community bug reports. For .NET developers running durable messaging, the review also covers performance fixes, cleaner shutdown and multi-tenant Marten changes.

EF Core 10
Database blocks overlaps
DVDEV Community: #csharp Ricardo Groß 3 d ago

Booking cottages with range types in .NET 10: no double bookings via PostgreSQL

CodoMetis.ValueRanges 10.4 and EFCore.ComplexIndexes are used to build a holiday-cottage booking API end to end. Date ranges are modelled as single values, overlapping bookings are blocked by a PostgreSQL exclusion constraint, and free nights are computed in one query. A practical example for EF Core developers working with PostgreSQL.

EF Core 10
Query patterns and SQL

EF Core Isn't Slow: Five Query Patterns That Are

This article outlines five EF Core query patterns behind many slow pages, plus one habit that catches them all: read the SQL EF generates instead of judging the C# code. It covers N+1 queries, loading whole tables or unneeded columns, cartesian explosions from collection Includes, and filters that prevent index use. It is a practical checklist for anyone writing data access code.

Feedback

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

Type of message