<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf" -->

---
title: TamarackDB: An Event Store You Can Actually Deploy
description: TamarackDB is a new standalone event store written in Go, backed by SQLite, and exposed over HTTP, built to follow the Dynamic Consistency Boundary (DCB)...
canonical: https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: TamarackDB: An Event Store You Can Actually Deploy | daily.dev
og:description: TamarackDB is a new standalone event store written in Go, backed by SQLite, and exposed over HTTP, built to follow the Dynamic Consistency Boundary (DCB)...
og:url: https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf
og:image: https://api.daily.dev/og/posts/9HH6Y6ajf.png
og:image:alt: TamarackDB: An Event Store You Can Actually Deploy
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TamarackDB: An Event Store You Can Actually Deploy

**[Maxime Gosselin](https://daily.dev/sources/maximegosselin)** · 6 min read · 8 upvotes · 0 comments

## Summary

TamarackDB is a new standalone event store written in Go, backed by SQLite, and exposed over HTTP, built to follow the Dynamic Consistency Boundary (DCB) specification while also working for plain aggregates. It positions SQLite's single-writer, WAL-mode file as an operational strength rather than a limitation, since the store targets modest-throughput applications with few concurrent writers rather than internet-scale traffic. Reads and writes go over a small HTTP API using the QUERY method and NDJSON streaming, letting multiple applications in different languages share one event store without a SQLite driver on the client. It can also persist versioned projections atomically alongside events in the same SQLite transaction, closing the usual eventual-consistency gap between event logs and read models. The author situates it among a newer wave of standalone DCB-native stores (UmaDB, Tephra, EventsourcingDB), distinct from in-process libraries (MartenDB, Backslash, Fact) and large clustered platforms (EventStoreDB, AxonServer), arguing that tooling simplicity is what will make event sourcing more accessible to teams.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://maximegosselin.com/posts/tamarackdb-an-event-store-you-can-actually-deploy>

## Questions this post answers

### What is TamarackDB and how does it store events?

TamarackDB is a standalone event store written in Go that stores events in a SQLite file and exposes them over an HTTP API, rather than being a library imported into an application. It follows the DCB (Dynamic Consistency Boundary) specification but also supports plain aggregates, uses SQLite's WAL mode so reads continue during writes, and ships as a single static Go binary with no external database dependency.

_Teams weighing event sourcing tools against library-based options can track new entrants like this via daily.dev._

### How does TamarackDB let multiple applications read and write events without a SQLite driver?

It wraps the SQLite file in an HTTP API: a QUERY /events endpoint (using the HTTP QUERY method rather than GET, since DCB queries can be too large for a query string) to read events, and a POST /write endpoint to append them. Responses stream back as NDJSON, one event per line, so large result sets never need to be buffered whole, and any client that speaks HTTP and JSON can use it without a SQLite client library.

_Developers wiring up cross-language event stores can keep an eye on protocol choices like this through daily.dev._

### How does TamarackDB keep event logs and projections consistent without eventual consistency?

It lets the POST /write endpoint carry documents alongside events: versioned, current-state-only projections identified by type and id, whose version bump and triggering event are written in the same SQLite transaction. Both happen or neither does, closing the usual window where an event log and its read-model projection can disagree, though applications that maintain projections elsewhere can ignore this feature entirely.

_Anyone deciding how to avoid read-model drift in event-sourced systems can follow approaches like this on daily.dev._

## Similar posts on daily.dev

- [Thoughts on Dynamic Consistency Boundary](https://daily.dev/posts/thoughts-on-dynamic-consistency-boundary-qnj7c9eoo) · Event-Driven by Oskar Dudycz · 1 upvotes · 0 comments
- [Object storage is all you need](https://daily.dev/posts/object-storage-is-all-you-need-hsmxpbxss) · Tigris · 29 upvotes · 3 comments
- [Writing Events Is All You Need](https://daily.dev/posts/writing-events-is-all-you-need-rjvxyoggv) · Event Store · 0 upvotes · 0 comments
- [Self-hosting DuckDB: the road to production](https://daily.dev/posts/self-hosting-duckdb-the-road-to-production-crsdobrlt) · MotherDuck · 1 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#database](https://daily.dev/tags/database), [#golang](https://daily.dev/tags/golang), [#sqlite](https://daily.dev/tags/sqlite)

[View this post on daily.dev](https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"TamarackDB: An Event Store You Can Actually Deploy","url":"https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf"},"datePublished":"2026-09-22T02:00:42.052Z","dateModified":"2026-09-22T02:01:04.432Z","description":"TamarackDB is a new standalone event store written in Go, backed by SQLite, and exposed over HTTP, built to follow the Dynamic Consistency Boundary (DCB)...","image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","thumbnailUrl":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","isAccessibleForFree":true,"articleSection":"Maxime Gosselin","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Maxime Gosselin","logo":"https://media.daily.dev/image/upload/s--rbumXu-w--/f_auto,q_auto/v1774179563/logos/maximegosselin","url":"https://daily.dev/sources/maximegosselin"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":8},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,database,golang,sqlite","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Maxime Gosselin","item":"https://daily.dev/sources/maximegosselin"},{"@type":"ListItem","position":3,"name":"TamarackDB: An Event Store You Can Actually Deploy"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/tamarackdb-an-event-store-you-can-actually-deploy-9hh6y6ajf#faq","mainEntity":[{"@type":"Question","name":"What is TamarackDB and how does it store events?","acceptedAnswer":{"@type":"Answer","text":"TamarackDB is a standalone event store written in Go that stores events in a SQLite file and exposes them over an HTTP API, rather than being a library imported into an application. It follows the DCB (Dynamic Consistency Boundary) specification but also supports plain aggregates, uses SQLite's WAL mode so reads continue during writes, and ships as a single static Go binary with no external database dependency. Teams weighing event sourcing tools against library-based options can track new entrants like this via daily.dev."}},{"@type":"Question","name":"How does TamarackDB let multiple applications read and write events without a SQLite driver?","acceptedAnswer":{"@type":"Answer","text":"It wraps the SQLite file in an HTTP API: a QUERY /events endpoint (using the HTTP QUERY method rather than GET, since DCB queries can be too large for a query string) to read events, and a POST /write endpoint to append them. Responses stream back as NDJSON, one event per line, so large result sets never need to be buffered whole, and any client that speaks HTTP and JSON can use it without a SQLite client library. Developers wiring up cross-language event stores can keep an eye on protocol choices like this through daily.dev."}},{"@type":"Question","name":"How does TamarackDB keep event logs and projections consistent without eventual consistency?","acceptedAnswer":{"@type":"Answer","text":"It lets the POST /write endpoint carry documents alongside events: versioned, current-state-only projections identified by type and id, whose version bump and triggering event are written in the same SQLite transaction. Both happen or neither does, closing the usual window where an event log and its read-model projection can disagree, though applications that maintain projections elsewhere can ignore this feature entirely. Anyone deciding how to avoid read-model drift in event-sourced systems can follow approaches like this on daily.dev."}}]}
```

