Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Limit the number of inflight writes per projection to 1 #1373
In an Event Store under significant load, the projections that write events to streams could flood the node with writes. This will result in quite a number of write timeouts.
This is because a projection can have a write in flight for each unique stream it writes to.
This PR allows a projection to only have a single write in flight regardless of the number of unique streams it writes to. This significantly reduces the chances of a commit timeout and have each projection act like a well behaved client.