Skip to content

Refactor adapters to share more code and reduce boilerplate #727

Description

@Totodore

Currently there are three different remote adapters:

  • Redis
  • Postgres
  • Mongodb

They each have a lot of common behavior that could be moved to socketioxide_core behind the remote_adapter feature flag.

We should make a little study on what can be factored-out. Here are the following things that I have in mind:

  • packet encoding/decoding
  • acknowledgement streams
  • response handlers and multiplexing
  • heartbeats

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-coreArea related to socketioxide-coreC-RefactoringImplies a refactoringP-MediumMedium priority

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions