This commit is contained in:
Doug Hoyte
2023-02-08 14:05:15 -05:00
parent fd0caaad66
commit 50a3b5ed71

20
TODO
View File

@ -1,15 +1,12 @@
0.1 release 0.1 release
event sources write policy plugin
rate limits
NIP-40 expiration
NIP-33 param replaceable events
fix sync
when disk is full it should log warning but not crash when disk is full it should log warning but not crash
ensure DB upgrade flow works ensure DB upgrade flow works
disable sync
? why isn't the LMDB mapping CLOEXEC ? why isn't the LMDB mapping CLOEXEC
features 0.2 release
finish syncing fix sync
* logging of bytes up/down * logging of bytes up/down
* up/both directions * up/both directions
* error handling and reporting * error handling and reporting
@ -17,19 +14,20 @@ features
* limit on number of concurrent sync requests * limit on number of concurrent sync requests
* full-db scan limited by since/until * 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 * `strfry sync` command always takes at least 1 second due to batching delay. figure out better way to flush
features
less verbose default logging less verbose default logging
make it easier for a thread to setup a quadrable env
multiple sync connections in one process/config multiple sync connections in one process/config
relay block-list events
NIP-42 AUTH NIP-42 AUTH
procmail-like API for event filtering slow-reader detection and back-pressure
? relay block-list events
rate limits rate limits
! event writes per second per ip ! event writes per second per ip
slow-reader detection and back-pressure
max connections per ip (nginx?) max connections per ip (nginx?)
max bandwidth up/down (nginx?) max bandwidth up/down (nginx?)
? limit on total number of events from a DBScan, not just per filter ? limit on total number of events from a DBScan, not just per filter
? time limit on DBScan
misc misc
? periodic reaping of disconnected sockets (maybe autoping is doing this already) ? periodic reaping of disconnected sockets (maybe autoping is doing this already)