getAlby / getAlby/http-nostr

Use a single/less nostr subscription(s) for fetching events

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Currently we do `relay.Subscribe` for every request that comes in, we can optimize this by reusing the subscription with updated filters, but that would require us to bring larger code changes to listen to events and dispatch them accordingly (also we are not sure if it is possible to update an existing subscription with new filter changes while not dropping any events on the old subscription)

Not high priority, but we can come to this later if our relay is being affected too much because of concurrent subscriptions

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.