EventSourcingDB 1.3.0 Is Available eventfoundation.io · 13 points · 0 comments ·...
HN Best 200 @best
EventSourcingDB 1.3.0 Is Available eventfoundation.io · 13 points · 0 comments · HN thread
TL;DR EventSourcingDB 1.3.0 is released with substantially faster writes, EventQL queries and reads, time bounds on every request, and more than sixty fixes. It adds a v2 API that reports the outcome of every accepted request in the response body and gives each error its own code. The v1 API is supported until January 31, 2027, and the documentation now lives on eventfoundation.io.
- The v2 API runs alongside v1 on the same data. Once a request is accepted, its outcome, including failed preconditions, unknown event types and read-only mode, is returned in the body, and every error has a code linked to its own documentation page.
- Writes, EventQL queries and event reads are described as considerably faster, and restores now write events in batches. Incremental backups store only events written since the previous backup.
- Requests, responses and idle connections are bounded in time, EventQL queries have nesting and memory limits, and the API token is compared in constant time and must be at least 32 characters unless a temporary data directory is used.
- If a write fails, for example on a full disk, the server switches to read-only mode until restarted and reports this through its health endpoint.
- Rate limiting is on by default and scales with machine size. The v2 health endpoint speaks OpenMetrics, and the new --require-event-schemas flag is available and off by default.
- Upgrade risks: a data directory opened by 1.3 cannot be opened by older versions, the old server must be stopped before the new one starts, the Docker image now runs as UID 65532, older SDKs flag events written after upgrade as tampered, and the first start rebuilds indexes, during which EventQL queries are refused.
Discussion No comments have been posted on this story yet, so there is no discussion to summarize.