HeadlinesBriefing favicon HeadlinesBriefing.com

Galick: Go Load Testing Tool with Starlark

DEV Community •
×

Developers often face a load testing trade-off: Vegeta and Wrk are fast but inflexible, while K6 offers powerful scripting at a heavy memory cost. A new tool, Galick, aims to resolve this dilemma. Built in Go, it uses the lightweight Starlark language for scripting, combining high performance with dynamic scenario flexibility.

Galick’s architecture leverages Go's concurrency for precise request pacing and uses HdrHistogram for accurate latency metrics. Its terminal UI, built with Bubble Tea, provides real-time feedback. For CI/CD pipelines, a headless mode outputs clean logs, and native Docker support allows easy integration into docker-compose files for automated testing.

This approach avoids the resource overhead of spawning a JavaScript VM per user, a common issue with K6. The result is a tool that simulates high user loads on a single machine without exhausting RAM. Galick is now open source, inviting feedback on its Starlark scripting and overall utility for API testing.