Comments (4)
Here is an example of the socket protocol:
Output of birdc show memory
BIRD memory usage
Routing tables: 165 MB
Route attributes: 298 MB
Protocols: 495 kB
Total: 466 MB
Socket communication
Sniffed with socat
< 2020/04/26 04:10:38.820683 length=23 from=0 to=22
0001 BIRD 2.0.7 ready.
BIRD 2.0.7 ready.
> 2020/04/26 04:10:38.820889 length=12 from=0 to=11
show memory
< 2020/04/26 04:10:39.302258 length=137 from=23 to=159
1018-BIRD memory usage
Routing tables: 165 MB
Route attributes: 298 MB
Protocols: 495 kB
Total: 466 MB
0000
See also: https://github.com/alice-lg/birdwatcher/blob/master/docs/bird-client-server.txt
from birdwatcher.
Using the socket directly was our first approach back at the hackathon. :)
I'll checkout Daniels bird socket library! Thanks for the hint!
from birdwatcher.
Not sure if it will really reduce the memory footprint though...
from birdwatcher.
We loose:
* Restricted mode (`birdc -r`)
Yes, this is exactly the reason why we changed it to use birdc
(being aware of the benefits you named).
Can we quantify the performance and memory overhead of using birdc
?
Maybe we can implement a config option to have the choice of communicating directly with the socket or via birdc
?
from birdwatcher.
Related Issues (20)
- Regex for interface names HOT 3
- Support for inet-vpn unicast NLRIs (MPLS L3VPN)
- "protocols" endpoint doesn't show routes count for IPv6 protocol on BIRDv2 HOT 3
- Unable to install; error with go-redis HOT 7
- Support for Bird2 ipv4 and ipv6 in a single daemon HOT 9
- allow_from doenst allow cidr HOT 1
- Birdwatcher returns empty array of routes HOT 9
- The problem that Capabilities cannot output. HOT 1
- Install error: cannot find package "go.opentelemetry.io/otel/label"
- panic: interface conversion: interface {} is nil, not string HOT 10
- parsing bird version fails with bird2 HOT 1
- RPM packaging - GitHub Action and RPM issues
- Deprecation of 'go get' for installing executables HOT 1
- Birdwatcher enabling more secure TLS communication HOT 8
- IPv6 interface {} is nil, not string HOT 5
- Unable to build docker container: failed to solve: ehlers/bird2
- Version 2.2.5
- How to query v4 and v6 networks HOT 3
- Bird Unreachable errors after route server migration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birdwatcher.