Latency reported when using linked SharedState

Open
#6,746 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python

Research direction

Start by reproducing the reported case where a state is linked, then measure per-message websocket latency against an equivalent unlinked state. Trace the linked SharedState path to identify why latency is about five times higher. Done means the regression is understood and the linked-state latency is reduced or covered by a reproducible test.

Written by the indexing model from the issue text.

Description

Describe the bug
Bert on discord notes that when a state is linked, per-message websocket latency is significantly higher (~5x)

Dominant language
Python
Stars
28.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
173

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reflex-dev/reflex

All issues in reflex-dev/reflex

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.