Wiki: open source, gobench :: ApacheBench (ab) on steroids

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

The speaker introduces an open-source HTTP performance and load testing tool called GoBench, designed to overcome the limitations of existing solutions. The main argument is that traditional tools either fail to scale to hundreds of thousands of concurrent connections efficiently or suffer from complex asynchronous programming models and deployment issues. By leveraging Go, the tool provides high scalability, simple single-binary deployment, and an extremely small, easy-to-modify codebase. The audience learns why Go is well-suited for building high-concurrency network tools and how simple it can be to customize load testing logic.

Key points

  • 0:07 The speaker introduces GoBench, an open-source HTTP performance and load testing tool.
  • 1:25 Existing tools like ApacheBench or JMeter either struggle with high concurrency due to thread-per-connection models or require complex code modifications for custom business logic.
  • 2:28 Alternative tools written in Java or Node.js require complex asynchronous programming models with steep learning curves, while Python suffers from dependency and versioning issues.
  • 3:33 GoBench solves these issues by offering high scalability, simple compilation into a single static binary, and easy deployment across various Linux distributions.
  • 4:38 The codebase is extremely small, consisting of only about 350 lines of code in a single file, making it very easy to modify and contribute to.

Takeaways

  • Use Go for building high-concurrency network tools to avoid complex asynchronous programming models found in other languages.
  • Compile load testing tools into a single static binary to simplify deployment across different environments and cloud servers.
  • Keep critical testing utilities lightweight and concise so they can be easily modified for custom business logic and payload generation.

Questions this talk answers

  • How does GoBench achieve high concurrency compared to traditional thread-per-connection load testing tools?
  • What are the advantages of using Go for network-heavy and concurrency-focused utilities?
  • How can developers customize request payloads and business logic in GoBench?

Technologies

Go, Java, Node.js, Python

Tags

concurrency, http, load testing, open source, performance testing