Files
strfry/TODO
Doug Hoyte 188a7ff6f1 todo triage
2023-02-25 00:03:59 -05:00

39 lines
1.2 KiB
Plaintext

0.1 release
when disk is full it should log warning but not crash
delete expired events
* decide what to do about generalised ephemeral events
kill plugin if it times out
0.2 release
? why isn't the LMDB mapping CLOEXEC
plugin for stream
fix sync
* logging of bytes up/down
* up/both directions
* error handling and reporting
* way to close sync request
* limit on number of concurrent sync requests
* full-db scan limited by since/until
* `strfry sync` command always takes at least 1 second due to batching delay. figure out better way to flush
features
less verbose default logging
multiple sync connections in one process/config
NIP-42 AUTH
slow-reader detection and back-pressure
delete command
* delete by receivedAt, IP addrs, etc
* inverted filter: delete events that *don't* match the provided filter
? relay block-list events
? if a client disconnects, delete all its pending write messages
rate limits
! event writes per second per ip
max connections per ip (nginx?)
max bandwidth up/down (nginx?)
? limit on total number of events from a DBScan, not just per filter
? time limit on DBScan
misc
? periodic reaping of disconnected sockets (maybe autoping is doing this already)