Last change
on this file since 12060 was 12060, checked in by hock@…, 12 years ago |
Reintegrate branch: 20130111-hock-message_classes
improvements:
- new message classes (reboost, zero-copy)
- "fast path" for direct links (skip overlay layer)
- link-properties accessible from the application
- SystemQueue can call boost::bind functions
- protlib compatibility removed (32bit overhead saved in every message)
- addressing2
- AddressDiscovery discoveres only addresses on which we're actually listening
- ariba serialization usage reduced (sill used in OverlayMsg)
- Node::connect, easier and cleaner interface to start-up ariba from the application
- ariba configs via JSON, XML, etc (boost::property_tree)
- keep-alive overhead greatly reduced
- (relayed) overlay links can actually be closed now
- lost messages are detected in most cases
- notification to the application when link is transformed into direct-link
- overlay routing: send message to second best hop if it would be dropped otherwise
- SequenceNumbers (only mechanisms, so for: upward compatibility)
- various small fixes
regressions:
- bluetooth is not yet working again
- bootstrap modules deactivated
- liblog4xx is not working (use cout-logging)
This patch brings great performance and stability improvements at cost of backward compatibility.
Also bluetooth and the bootstrap modules have not been ported to the new interfaces, yet.
|
File size:
631 bytes
|
Rev | Line | |
---|
[2454] | 1 |
|
---|
[12060] | 2 | //JSON
|
---|
| 3 | {
|
---|
| 4 | "ariba": {
|
---|
| 5 | "spovnet_name": "pingpong",
|
---|
| 6 |
|
---|
| 7 | "listen_on": [
|
---|
| 8 | {"category": "TCPIP", "addr": "::", "port": 5003 }
|
---|
| 9 | ],
|
---|
| 10 |
|
---|
| 11 | "bootstrap": {
|
---|
| 12 | "direct": [
|
---|
| 13 | {"category": "TCPIP", "addr": "127.0.0.1", "port": 41322 }
|
---|
| 14 | ],
|
---|
| 15 |
|
---|
| 16 | "broadcast": false,
|
---|
| 17 | "mdns": false,
|
---|
| 18 | "sdp": false
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
[6179] | 22 |
|
---|
[12060] | 23 |
|
---|
| 24 |
|
---|
| 25 | //node.name = nodeone
|
---|
| 26 | //ariba.endpoints = JSON { "endpoint_set": [ {"category": "TCPIP", "addr": "::", "port": 5003 } ] }
|
---|
| 27 | //ariba.bootstrap.hints=pingpong{broadcast;mdns;}
|
---|
| 28 |
|
---|
| 29 | //pingpong.name = nodeone
|
---|
| 30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.