package
0.1.4
Repository: https://github.com/dataptive/styx.git
Documentation: pkg.go.dev

# README

golang-fast-producer

In this example, we'll push events to Styx at a very high rate using the Styx protocol in Golang.

Usage

Install dependencies

go get github.com/dataptive/styx

Ensure Styx is running and create a "fast" log

curl localhost:7123/logs -X POST -d name=fast

Setup a watch on the log to monitor its growth

watch curl localhost:7123/logs/fast -s

In another terminal, run the producer

go run main.go

When you're done, it may be a good idea to free disk space by deleting the log

curl localhost:7123/logs/fast -X DELETE

# Structs

No description provided by the author