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

Make admin websocket more functional #73

Closed
FZambia opened this issue Feb 21, 2016 · 2 comments
Closed

Make admin websocket more functional #73

FZambia opened this issue Feb 21, 2016 · 2 comments

Comments

@FZambia
Copy link
Member

FZambia commented Feb 21, 2016

The goal here - make admin websocket endpoint (/socket) more advanced and similar to client endpoint in the end. This should not affect users as our web interface is embedded and will be updated together with Centrifugo.

  • Rename auth to connect
  • Support API commands (so it will be possible to remove http ActionsHandler)
  • Call stats API instead of InfoHandler (so remove InfoHandler)
  • Possibility to start communicating with admin endpoint without auth (--insecure_admin, maybe rename --insecure_web to --insecure_admin, but leave alias for backwards compatibility)

Benefits:

  • publish over pool of Websocket connections
  • less various HTTP handlers that were only required for web interface

The only problem I see at moment - how to show secret and current configuration options - so it seems extra admin method will be required to get current config.

@FZambia
Copy link
Member Author

FZambia commented Mar 27, 2016

The work started here and first changes appeared in 1.4.2 release. Though still more work needed to make admin websocket able to be an way to work from application backends - need to add queue to admin connection similar to client's queue.

@FZambia
Copy link
Member Author

FZambia commented Jun 11, 2016

Message queue added in 71faa51

@FZambia FZambia closed this as completed Jun 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant