Code Monkey home page Code Monkey logo

back-to-back's People

Contributors

jackdoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

back-to-back's Issues

Backpressure!

Hi! I read your blog on https://proxy.vulpes.one/gemini/berserk.red/~jack/we-got-it-all-wrong.txt and I think this is a really great concept. We've all drunk the cool-aid that makes it seem like microservices and queues fix everything but they don't.

https://ferd.ca/queues-don-t-fix-overload.html is an essay I like addressing this. There's another that more specifically calls out queues+microservices for being a sham but I can't find it anymore.

I think it's interesting that all that long time ago Unix got this right: a unix pipe has implicit backpressure at every connection. There is a small buffer between each process to allow each to do work without being directly slogged by the consumer, but when that buffer fills write(2) blocks until the consumer read(2)s some content. It would be interesting to experiment with changing that queue size (I think you can do this in Linux? I'm sure there's a sysctl somewhere).

I've been thinking of this principle of system design as the maxim:

Producers set the size, consumers set the speed.

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.