~/talk

CQRS: Do you really need two databases?

Talkat Øredev 2023 · 2023-11-08..11-10· [microservices, databases]
links:none on file
slides:none on file

Argues that CQRS does not mandate two databases but that pragmatic choices decide persistence: event sourcing often pairs an event store + projection DB, projections can live in memory or Redis instead of a separate database, and RavenDB can act as one system because it is a key‑value store with an indexing engine; claims independent scaling of reads and writes and reports typical eventual consistency gaps at 10–50 ms while estimating 80–90% scenarios tolerate eventual consistency.

AI-written summary · about

  1. 0:00Projects off autopilot
  2. 1:23Developers change systems not build them
  3. 2:29Software complexity
  4. 5:16Essential vs accidental
  5. 6:20Pure functions and side effects
  6. 9:33Unit testing isolation
  7. 13:06Architecture limitations
  8. 13:51Command Query Separation origins
  9. 16:00CQS in practice
  10. 17:25CQS to CQRS evolution
  11. 18:53CQRS with two DBs and event sourcing
  12. 20:46Eventual consistency in systems
  13. 21:51Projections and caching pragmatism
  14. 22:57Avoiding CQRS cargo cult
  15. 24:01Single vs multiple databases in CQRS
  16. 25:25CQRS and async thinking
  17. 26:29CQRS without event sourcing
  18. 27:10When CQRS unnecessary
  19. 27:32Why devs love change
  20. 28:17Principles behind modern tech
  21. 29:01Pragmatism over dogma
  22. 29:44How many databases needed
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.