API
Three hands-on articles. The first uses the HTTP ETag header so that two people editing the same record don’t silently overwrite each other’s changes. The other two deal with data that updates a moment after the write: keeping read models in MongoDB correct, and making the API wait briefly so the client sees its own change.
3 articles
Long-polling, how to make our async API synchronous
I’ll continue today a topic of handling eventual consistency that I started in the previous article. This time let’s learn the trick called…
Dealing with Eventual Consistency and Idempotency in MongoDB projections
Auditability, diagnostics, time travelling are usually the first mentioned features when speaking about Event Sourcing. All of them are…
How to use ETag header for optimistic concurrency
In my article “Optimistic concurrency for the pesimistic times”, I described the premises for optimistic concurrency handling. As a reminder…




