Giter Club home page Giter Club logo

Comments (3)

hoytech avatar hoytech commented on June 5, 2024 1

If it was 0 impact when disabled, yes, most likely I would merge it unless it required really invasive changes to the code-base. I suggest once you have a design in mind, drop your thoughts here and/or in nostr/telegram and I'll let you know if I foresee any issues.

from strfry.

hoytech avatar hoytech commented on June 5, 2024

The only thing about using plugins for read is that calling into another process would add a lot of extra latency. My instinct is that this latency would be too high, especially if many different clients were using it at the same time. Maybe for some relays this would be acceptable?

from strfry.

Giszmo avatar Giszmo commented on June 5, 2024

That sounds like I would have to code it myself? I very certainly want to be able to block based on nip42 authentication very soon. If resources are strained, only serve to authed users. If resources get strained, still, only serve paying users. As relay operator I want to offer a paid service and I want to prioritize the target audience at the expense of the general public, DOS attackers and clients that are buggy and demand the same resources over and over again.

So if I implement this ... would you merge it if the plugin was optional and without impact if not used? Would you require benchmarks?

from strfry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.