Notes

Blog

Engineering notes on the products Launchbase ships.

  1. Abstract illustration of a row of pipeline stages sending small packets into a server rack, which connects over a dashed private link to a database cylinder, on a dark blue grid.

    Deploy ASP.NET Core 10 to Magalu Cloud with GitHub Actions

    Deploy ASP.NET Core 10 to a Magalu Cloud VM with managed PostgreSQL, EF Core migration bundles, nginx, systemd and GitHub Actions secrets.

    • aspnet-core
    • dotnet-10
    • magalu-cloud
    • postgresql
    • github-actions
    • ef-core
  2. Abstract illustration: a jam of amber request blocks in front of a five-lane gate; four lanes are blocked by parked red workers and only one cyan lane is moving.

    Sync Npgsql starved ASP.NET Core 10's thread pool for 39 seconds

    A reproduction on .NET 10.0.14 and Npgsql 10.0.3: sync database calls took about 39 s to get enough threads for 64 concurrent requests, while .Result got there in about 5 s and async never needed more than 16.

    • aspnet-core
    • npgsql
    • postgresql
    • dotnet
    • performance
  3. Abstract illustration: amber row-shaped packets flowing left-to-right and transforming into cyan vertical columnar bars on a dark grid.

    ClickHouse's native TCP .NET client vs HTTP, on our hardware

    We remeasure ClickHouse.Driver 1.5.0's experimental TCP client against HTTP on self-hosted 26.9: StreamAsync reads 500k rows in 0.43× the HTTP POCO time and allocates 64× less.

    • clickhouse
    • csharp
    • performance
    • dotnet
    • benchmarking
  4. Illustration: an amber line of light reaches a fork of three rounded branches on a dark navy background; two branches are dim grey and the third glows cyan as the chosen path.

    C# 14 first-class spans can change which overload you call

    C# 14 adds implicit array-to-span conversions, so retargeting to .NET 10 can pick new overloads, break builds, or throw at runtime. Reproductions and fixes.

    • csharp
    • dotnet-10
    • span
    • overload-resolution
    • breaking-changes
  5. Illustration: two abstract B-trees on a dark background. The left tree has scattered amber nodes; the right tree has cyan nodes packed along the right edge.

    UUIDv7 vs UUIDv4 PKs in Postgres 18: inserts and WAL

    We insert 1M rows with uuidv4(), uuidv7(), and Guid.CreateVersion7() on PostgreSQL 18.6 and measure throughput, index size, leaf density, and WAL.

    • postgresql
    • uuid
    • performance
    • dotnet
    • npgsql