Skip to content

Compress build-in Logux actions in protocol #72

Open

Description

@ai

We can improve performance by compressing logux/* actions in WS protocol:

['sync', added, { type: 'logux/processed', id: "1564508138460 380:R7BNGAP5:px3-J3oc 0" }, { id, added }, …]
↓
['sync', added, "1564508138460 380:R7BNGAP5:px3-J3oc 0", {}, …]
{ type: 'logux/subscribe', channel: 'users/10', … } → [0, 'users/10', { … }]
{ type: 'logux/unsubscribe', channel: 'users/10', … } → [1, 'users/10', { … }]

Activity

  1. ai commented on Apr 12, 2021

    @ai
    MemberAuthor
    'logux/subscribed' → 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions