Repository navigation
blobgate 0.11.5
Added
BLOBGATE_HELD_BLOCKS(default 32) andBLOBGATE_CLIENT_IDLE_SECONDS(default 120), in the chartconfig.heldBlocksandconfig.clientIdleSeconds; the new answer503 busywithRetry-After.
Fixed
- Clients that go slow or quiet no longer hold memory and places without end. Measured with 48 clients that took one byte of a big object and stopped: the module held 385 MiB (a block of 8 MiB each), and the same for 48 writers of no known length that sent 3 MiB and stopped; the limit
BLOBGATE_THREADSthat the documents named for it bounded only the reads from the nodes (the place was freed before the block was sent). With the default memory limit of the chart (512 MiB) some 60 slow readers would have ended the process. Now the blocks held for clients are bounded byBLOBGATE_HELD_BLOCKS(the same test: 32 MiB with 4 places), a call that finds no place is told503 busy, and a client with no byte moving forBLOBGATE_CLIENT_IDLE_SECONDSis ended, which also frees the places ofBLOBGATE_THREADSthat quiet writers into a store that seals held for ever (four quiet writers stopped every such write). - Tests of a client that leaves in the middle of an object (no slot or goroutine is left), one that stalls (it does not stop the others even with one read at a time), and a node that gives out after the first blocks went (the reader meets a cut, never a short answer that looks whole).
Image: ghcr.io/zystem/blobgate:0.11.5 (linux/amd64, linux/arm64)
Chart: oci://ghcr.io/zystem/charts/blobgate --version 0.11.5
Signatures, provenance and how to check them: docs/verifying-releases.md