Files
strfry/TODO
Bonn Ortloff 2308276af5 patching writePolicy into cmd_stream, assuming we
want writePolicy to govern both relayIngest and stream

I really hate spam, is what I'm trying to say.
2023-03-27 18:24:41 -05:00

41 lines
1.4 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: make sure bortloff@github didn't make a mess of it
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?)
log IP address in sendNoticeError and elsewhere where it makes sense
? 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)
export not dying on SIGPIPE, or not getting SIGPIPE