~/talk

Tips on Schema, Queries, Parallel Access, and Reactive Programming

links:none on file
slides:none on file

Designs a backend for an authenticated social feed with concrete CQL schemas and query patterns, chooses ULID / UUIDv7 for time-sortable IDs, keeps counters in a separate post_stats table, and pins pagination to a start timestamp using a capped count (limit 1,000) to avoid full scans. Converts 81 sequential queries into bulk and parallel lookups, collapsing to ~two IO steps and ~23 queries by batching stats and relationships, implements a POC with Kotlin Quarkus Mutiny and reports 3.72 ms median response.

AI-written summary · about

  1. 0:00Cassandra intro and overview
  2. 2:12Cassandra challenges and trade-offs
  3. 3:19Social feed API use case
  4. 7:17Data entities and relationships
  5. 8:23Access patterns and query design
  6. 11:56Primary keys and schema design
  7. 14:23Handling counters and tables
  8. 16:10Pagination and counting posts
  9. 18:41Query optimization process
  10. 20:25Schema and query refinement
  11. 23:17Bulk queries and parallel access
  12. 25:49Query count and response time
  13. 26:54Caching user data
  14. 27:16Non-blocking I/O and reactive benefits
  15. 30:10Reactive with Quarkus and Mutiny
  16. 33:24Performance results and traces
  17. 34:06Conclusion and when to use
  18. 37:16Reactive learning curve
  19. 38:42Blue Sky’s Cassandra migration
  20. 39:25Q&A
~/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.