Coder Social home page Coder Social logo

Comments (5)

dt-rush avatar dt-rush commented on May 24, 2024

@kailuowang what do you take the difference to be between the two? I've only heard them used synonymously.

from kanaloa.

dt-rush avatar dt-rush commented on May 24, 2024

I can hazard a guess that you mean:

backpressure: dropping a proportion of incoming requests

load shedding: dropping a proportion of queued requests

Is that correct?

from kanaloa.

kailuowang avatar kailuowang commented on May 24, 2024

You got it right @dt-rush

from kanaloa.

dt-rush avatar dt-rush commented on May 24, 2024

@kailuowang additionally, by "we need to implement this based on proved algo", do you mean, we should implement this, but only if we can have some proofs around it? Or are you implying that this is part of the IETF paper on bufferbloat which inspired this project? Because I don't see a mention of load shedding in the paper, only backpressure.

Is there a particular instance in which you can imagine that load-shedding would be more useful than the backpressure? I'm guessing you found some kind of edge case where dropping incoming requests alone does not tend to keep the queue within reasonable performance bounds.

from kanaloa.

kailuowang avatar kailuowang commented on May 24, 2024

@dt-rush what I meant we should seek a (or possibly more than one) load shedding algorithm that is already battlefield tested and published. I haven't done any research yet.

To be honest, a coworker suggested a use case for load shedding and now I forgot the detail of it, but something along the line that allowing users to send with each request a per-request timeout and/or priority. This would make the drop more selective, but obviously with more computation cost, so probably only useful when the actual workload for each request is significantly higher.

from kanaloa.

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.