Comments (3)
Neat idea! I would definitely be open to proposing this as a NIP. My only worry is that maybe with some more applications we might come up with some improvements, and wouldn't want to have the old behaviour ossified and have to be supported forever.
BTW, do you use the "look-behind" feature? I thought it would be quite useful for re-calculating rate-limits when restarting a server, but maybe it's not actually a good solution for that?
from strfry.
I'm not using look-behind at all. My rate-limit policy stores data in an squite database: https://gitlab.com/soapbox-pub/strfry-policies/-/blob/develop/src/policies/rate-limit-policy.ts
from strfry.
Related: https://gitlab.com/minds/infrastructure/nostr-relay/-/issues/15
from strfry.
Related Issues (20)
- Question: How can I most efficiently stream from many relays? HOT 5
- strfry stream segfaults HOT 2
- Implement nip 42 client authentication HOT 8
- Please provide an api for "Read Policy Plugins" HOT 3
- "bad event id" on actually valid object. HOT 12
- Parser for x-forwarded-for does not work with IPv6 or multiproxy HOT 3
- Build error on latest master HOT 2
- nip-11 pubkey as bech32 should be rejected or warned or well documented to avoid HOT 2
- Using a Reverse Proxy like e.g. NGINX HOT 3
- strfry distribution channels HOT 2
- Write policy applied to sync? HOT 1
- Large database performance HOT 13
- Document all the secret strfry commands HOT 1
- Can I log the reason for "Request ID too long"? HOT 1
- REQ plugin HOT 1
- Compilation Errors HOT 2
- Trying to install HOT 2
- Dockerfile build fails HOT 1
- MDB_MAP_FULL: Environment mapsize limit reached HOT 5
- Work to change database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strfry.