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

Control Socket Connection Manager #131

Open
GIC-de opened this issue Nov 22, 2022 · 1 comment
Open

Control Socket Connection Manager #131

GIC-de opened this issue Nov 22, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request low Low priority

Comments

@GIC-de
Copy link
Member

GIC-de commented Nov 22, 2022

The BNG Blaster control socket is an UNIX domain stream socket which allows to interactively communicate with the BNG Blaster via JSON RPC.

This request is about to add connection management and further enhancements for the control socket.

Today the control socket is already handled in an operate thread (bbl_ctrl_socket_thread) but only one connection/request is served at the same time.

LOOP:

  1. accept new connection
  2. receive command
  3. send response
  4. wait 100ms for client to process response
  5. close connection

Here it would be good if socket can be handled without the 100ms break which is more like a workaround. This means to implement a proper connection management.

Here we should be able to keep multiple sessions open and even reuse one connection for multiple requests until client send close command.

@GIC-de GIC-de added the enhancement New feature or request label Nov 22, 2022
@GIC-de GIC-de self-assigned this Nov 22, 2022
@GIC-de
Copy link
Member Author

GIC-de commented Feb 22, 2024

There are some enhancements introduced with version 0.8.36!

@GIC-de GIC-de added the low Low priority label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant