12 Toward responsiveness with load and chaos testing

This chapter covers

  • Simulating users with Locust
  • Load testing HTTP endpoints with Hey
  • Chaos testing with Pumba
  • Mitigating failures with explicit timeouts, circuit breakers, and caches

We have now covered all the important technical parts of the 10k steps challenge application: how to build web APIs, web applications, and edge services, and how to use databases and perform event-stream processing. By using Vert.x’s asynchronous and reactive programming, we can expect the set of services that form the application to be reactive : scalable as workloads grow and resilient as failures happen.

Are the services that we built actually reactive? Let’s discover that now through testing and experimentation, ...

Get Vert.x in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.