8000 Reduce number of updates commited to dht · Issue #3 · holochain-open-dev/y-holochain · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Reduce number of updates commited to dht #3
Open
@mattyg

Description

@mattyg

Queue and batch updates to publish to the dht, at a configurable interval with debounce.

  • on ydoc update:
    • remote_signal update to peers
    • add update to local queue
  • on js interval with debounce:
    • aggregate updates from queue into single state vector
    • publish state vector to dht
  • before class destroyed
    • aggregate updates from queue into single state vector
    • publish state vector to dht

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0