NyaQueue

module
v0.0.0-...-8b14664 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2026 License: MIT

README

NyaQueue

Go-брокер сообщений с ML-оптимизированной балансировкой и автоконфигурацией. Хранение через tidwall/wal, оффсеты в bbolt, транспорт gRPC.

Запуск

Локально через Docker (поднимает брокер, producer, consumer, broker-exporter, Prometheus и Grafana):

make compose-up

Затем открыть Grafana: http://localhost:3000 (anonymous viewer, дашборд "Queue Quality" в папке NyaQueue). Prometheus: http://localhost:9091.

Остановить:

make compose-down

Локальные бинари (без Docker):

make build
./bin/broker          -config config.yaml
./bin/broker-exporter -config config.yaml
./bin/producer        -config config.yaml
./bin/consumer        -config config.yaml

Эксперименты

Прогон бенчмарков для ВКР, результат в experiments/results/:

make run-experiment

Сравнение с Apache Kafka (поднимает Kafka в отдельном профиле):

make compose-kafka
make compose-experiment

Разработка

make test
make bench
make lint
make proto

Лицензия

MIT

Directories

Path Synopsis
cmd
broker command
broker-exporter command
consumer command
experiment command
producer command
internal
app
pkg
nn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL