electric-sql / electric-sql/phoenix_sync

Optimistic token streaming pattern

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
290
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Building on the pattern in #46, design and implement a pattern for fast token streaming that doesn't go through the DB.

So e.g.:
- optimistic token streaming using broadcast
- batch up tokens into messages
- store messages in the DB
- some machinery to join things up
- handle token loss edge cases

N.b.: this pattern also really needs #27 implement to deliver the full benefit. Which also means getting https://github.com/electric-sql/electric/pull/2544 merged.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.