Tag: dotnet
All the articles with the tag "dotnet".
-
The EF Core Livelock That Looks Like a Hang: Stale ChangeTracker State and the Atomic-Claim Fix
🇺🇸 ENA scheduled worker claiming payment rows under optimistic concurrency started livelocking at 2+ instances - not crashing, just never finishing. This traces the two-layer root cause and compares the minimal ChangeTracker.Clear() patch against removing the race entirely with an atomic UPDATE.
-
Livelock Trong EF Core: ChangeTracker 'Dính' State Cũ, Và Cách Sửa Bằng UPDATE Nguyên Tử
🇻🇳 VIMột worker chạy theo lịch, giành các dòng thanh toán dưới cơ chế optimistic concurrency (kiểm soát tương tranh lạc quan), bắt đầu livelock khi scale từ 2 instance trở lên - không crash, chỉ là không bao giờ chạy xong. Bài viết truy nguyên nhân gốc hai tầng và so sánh patch tối thiểu ChangeTracker.Clear() với việc loại bỏ hẳn race bằng một UPDATE nguyên tử.
-
Beyond Coverage, Part 4: Tooling for Go and .NET
🇺🇸 ENA concrete tooling map for a legacy Go + .NET codebase - Coverlet and Stryker.NET, go test and gremlins, FsCheck/CsCheck and gopter/rapid - and the diff-scoping discipline that keeps mutation testing fast enough to run on every PR.
-
Công cụ đo chất lượng test cho Go và .NET: Coverlet, Stryker, gremlins
🇻🇳 VICoverlet và go test -cover cho coverage, Stryker.NET và gremlins cho mutation score, FsCheck/CsCheck và gopter/rapid cho property testing. Phần công cụ, kèm bí quyết chạy mutation testing trên codebase kế thừa mà không tốn cả ngày CI.