-
Notifications
You must be signed in to change notification settings - Fork 41
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
Use socket connection to bird instead of calling birdc #25
Comments
Here is an example of the socket protocol: Output of
|
Using the socket directly was our first approach back at the hackathon. :) I'll checkout Daniels bird socket library! Thanks for the hint! |
Not sure if it will really reduce the memory footprint though... |
Yes, this is exactly the reason why we changed it to use Maybe we can implement a config option to have the choice of communicating directly with the socket or via |
I would propose to use bird's socket interface instead of spawning birdc.
The protocol is almost the the same as the stdout of birdc.
There is already a golang package for it: https://github.com/czerwonk/bird_socket
We gain:
We loose:
birdc -r
)The text was updated successfully, but these errors were encountered: