lambdaclass / lambdaclass/lambda_ethereum_consensus
Move to our own SSE implementation
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 109
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Implementing a quick SSE stream function shouldn't be a really complex issue, we are right now using sse and event_bus libraries for convenience due to they working pretty much out of the box, but the idea is to migrate to phoenix_pubsub and implement the SSE event listener on our own. For now the current implementation works.
The more important functions to take a look at are Plug.Conn.send_chunked and Plug.Conn.chunk
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the current SSE usage and the sse and event_bus integrations. Read Plug.Conn.send_chunked and Plug.Conn.chunk, then inspect how phoenix_pubsub can replace the existing event flow. Done means the SSE listener is implemented in the project and the current stream behavior remains working without those convenience libraries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100