Warp speed Data Transfer (WDT) is an embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths.
we could consider using cbuffer vs reimplementing - I'll let you figure out (reimplementing if short enough is marginally better from a build/release point of view)
https://www.mikeash.com/pyblog/friday-qa-2012-02-03-ring-buffers-and-mirrored-memory-part-i.html
http://man7.org/linux/man-pages/man2/remap_file_pages.2.html
stackoverflow link doesn't seem to have any answer
cbuffer indeed has prettier picture than the ascii art in https://www.mikeash.com/pyblog/friday-qa-2012-02-03-ring-buffers-and-mirrored-memory-part-i.html
we could consider using cbuffer vs reimplementing - I'll let you figure out (reimplementing if short enough is marginally better from a build/release point of view)
Posting some links that are useful : https://github.com/willemt/cbuffer/ [Has pretty pictures] https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buffer/ http://stackoverflow.com/questions/2920495/how-good-is-the-memory-mapped-circular-buffer-on-wikipedia