EventSourcingDB 1.3.0 Is Available
EventSourcingDB 1.3.0 introduces a v2 API with structured error reporting, major performance gains for writes and EventQL queries, incremental backups, and strict upgrade requirements.
summary is enough The release notes detail important performance improvements and breaking changes, but the core updates are easily grasped through a summary.
summary
EventSourcingDB version 1.3.0 brings a new v2 API that embeds request outcomes and error codes directly in response bodies, alongside recursive preconditions for nested subjects. Performance is enhanced across writes, reads, and complex EventQL queries, supported by new capabilities like incremental backups and Prometheus-compatible health endpoints. Upgrading requires caution due to breaking changes, including data directory locking and a change to the Docker container user ID. Commenters discuss the general operational complexity of event sourcing and criticize a potential bottleneck in EventQL precondition evaluation.
key points
- The v2 API embeds request outcomes and error codes in response bodies, running parallel to the legacy v1 API until January 2027.
- Performance is significantly increased for writes, reads, and complex EventQL queries, aided by more compact index files.
- New production features include incremental backups, Prometheus-compatible health endpoints, default rate limiting, and optional event schema validation.
- Upgrading requires data backups, handling a Docker container UID change, and updating client SDKs to support new event hashes.
who should read it
Backend engineers and database operators running or evaluating event-sourced systems.
discussion mixed
consensus
Commenters discuss the high operational complexity of event sourcing, noting it remains difficult for less experienced teams to adopt.
pushback
A commenter points out a major design trade-off where evaluating EventQL preconditions can block other writes for up to five seconds.
EventQL seems nice, but
> While an EventQL precondition is evaluated, every other write waits, so that nothing can come in between; reads go on meanwhile. So that no write holds up the others for long, the EventQL preconditions of a write are evaluated for at most five seconds, all of them together, counted from when the write gets its turn: a write whose preconditions take longer is rejected, with nothing written, with a 400
(From https://www.eventfoundation.io/docs/eventsourcingdb/precondi...)
That seems like a huge foot gun. Like, sure, you don't have to implement transactional …
It analyzes a significant architectural concern regarding write-blocking behavior during EventQL precondition checks.
Generated by an LLM from the article and thread. Check the sources before relying on it.