-
Task
-
Resolution: Done
-
Medium
-
None
-
None
The transport library is going through a major code refactory that involves
HICN-690Transport Library Major Refactory
The current patch provides a major refactory of the transportlibrary. A
summary of the different components that underwent major modifications
is reported below.
- Transport protocol updates
The hierarchy of classes has been optimized to have common transport
services across different transport protocols. This can allow to
customize a transport protocol with new features.
- A new real-time communication protocol
The RTC protocol has been optimized in terms of algorithms to reduce
consumer-producer synchronization latency.
- A novel socket API
The API has been reworked to be easier to consumer but also to have a
more efficient integration in L4 proxies.
- Several performance improvements
A large number of performance improvements have been included in
particular to make the entire stack zero-copy and optimize cache miss.
- New memory buffer framework
Memory management has been reworked entirely to provide a more efficient
infra with a richer API.
- A new slab allocator
Dynamic memory allocation is now managed by a novel slab allocator that
is optimized for packet processing and connection management.
- Support for FEC/ECC for transport services
FEC/ECC via reed solomon is supported by default and made available to
transport services as a modular component. Reed solomon block codes is a
default FEC model that can be replaced in a modular way by many other
codes including RLNC not avaiable in this distribution.
The current FEC framework support variable size padding and efficiently
makes use of the infra memory buffers to avoid additiona copies.
- - Secure transport framework for signature computation and verification
Crypto support is nativelty used in hICN for integrity and authenticity.
Novel support that includes RTC has been implemented and made modular
and reusable acrosso different transport protocols.
- TLS - Transport layer security over hicn
Point to point confidentiality is provided by integrating TLS on top of
hICN reliable and non-reliable transport. The integration is common and
makes a different use of the TLS record.
- MLS - Messaging layer security over hicn
MLS integration on top of hICN is made by using the MLSPP implemetation
open sourced by Cisco. We have included instrumentation tools to deploy
performance and functional tests of groups of end-points
- A new mulit-threading model
- New tools for instrumentation and testing