Coder Social home page Coder Social logo

Comments (6)

spockz avatar spockz commented on July 26, 2024 3

Latency spikes can be simulated by routing the traffic through a proxy (envoy supports it out of the box and there are many others) or even just on the tcp level with iptables or tc on Linux or throttle/pfctrl on macOS.

Tools such as chaos monkey can be used to simulate resource contention like another process using up all the cpu and ram in a vm. I'm not aware of something doing this in the same JVM process.

from concurrency-limits.

adamconnelly avatar adamconnelly commented on July 26, 2024 1

@guilherme unfortunately not - it's not been a priority and I haven't had a chance to look at this since. I'd still be interested in knowing good techniques to simulate this though!

from concurrency-limits.

guilherme avatar guilherme commented on July 26, 2024 1

Thank you for the hints @spockz I found this video here: https://www.youtube.com/watch?v=CQvmSXlnyeQ you might find interesting @adamconnelly

from concurrency-limits.

guilherme avatar guilherme commented on July 26, 2024

@adamconnelly hi! did you manage to simulate?

from concurrency-limits.

guilherme avatar guilherme commented on July 26, 2024

A little more info about this talk: https://twitter.com/tonya11en/status/1295762154214195203

from concurrency-limits.

adamconnelly avatar adamconnelly commented on July 26, 2024

@guilherme thanks for sharing that - the talk was really interesting. It was really cool seeing the graphs from the various test scenarios that were run!

from concurrency-limits.

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.