Skip to content

In memory pubsub for bypassing redis #571

@ChaoticTempest

Description

@ChaoticTempest

Currently, it's kind of inefficient to insert into redis, and then immediately have the primitive (triples or presignatures) be taken immediately for processing. This creates latency where we need to send it over to the redis server, and then have it serialize to disk, and then deserialize back to MPC just to get the value.

Instead, I suggest we have a simple PubSub in memory where if somebody is already subscribed for that particular ID, we can just forward the primitive. We already have such a system with the message pubsub, but this would be simpler. Could just be map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions