Skip to content

Explore using sdk from webworker #161

@jak-pan

Description

@jak-pan

This would improve in-browser performance in multiple ways:

  1. Multiple pages can connect to single websocket connection via shared worker (not compatible with mobile chrome)
  2. All the RPC connection logic can run independently of browser window
  3. We can cache whole sdk state in separate thread with all the computations and not block frontend
  4. We will need to solve potentially running different environments (testnets) or connection to different chains at the same time

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/sdkRelated to trading routerkind/featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions