Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.0 preview #27

merged 26 commits into from Mar 5, 2018

v0.6.0 preview #27

merged 26 commits into from Mar 5, 2018


Copy link

@palkan palkan commented Feb 26, 2018

This PR introduces a lot of changes and new features.


The codebase has been rewritten from almost from scratch.

The main breaking change is a new configuration.

Another noticeable change is a new logging format: now we use structured logs by default. Also, JSON formatter is included out-of-the-box.


Added metrics package with some basic metrics (counters and gauges).

Metrics collected (cached) every 15s (will be configurable in the future).

Currently, only logging mode is available (disabled by default): run with --metrics_log command to flush stats every 15s to log (with info level).

NOTE: Counter values contain delta counts (for the last period).

Added signal handling and graceful shutdown.

When receiving SIGINT or SIGTERM we:

  • Stop the server (to not accept new connections)

  • Close all registered sessions (authenticated clients)

  • Wait for pending Disconnect requests to complete

  • Wait for active RPC calls to finish.

  • Upgrade deps (first of all, grpc)

  • Update Changelog

  • Update Readme

  • Run benchmarks

@palkan palkan merged commit 3a66d5d into master Mar 5, 2018
@palkan palkan deleted the v0.6.0-dev branch Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant