• José Luis Millán's avatar
    flatbuffers (#1064) · a7d46d81
    由 José Luis Millán 提交于
    Flatbuffers
    
    WIP to remove JSON in favour of flatbuffers for as the worker communication format.
    
    - JSON parsing is CPU intensive.
    - JSON is not type safe.
    - flatbuffers does not parse the buffer. Reading the message takes 0ms.
    - flatbuffers is type safe since code (C++, Typescript, Rust, etc) is autogenerated out of the schema definitions.
    
    Extras that come along with this changes:
    - There is now a single Channel for worker communication.
    - Previously there were 2 (Channel and PayloadChannel)
    - Each message sent Node->Worker requires a single write() call to Channel.
    - Previously 2 calls per message were needed for Channel and 4 for PayloadChannel.
    - Each message sent Worker->Node previously executed two extra calls to memcpy that are not executed now.
    
    ---------
    Co-authored-by: 's avatarIñaki Baz Castillo <ibc@aliax.net>
    Co-authored-by: 's avatarNazar Mokrynskyi <nazar@mokrynskyi.com>
    a7d46d81
名称
最后提交
最后更新
..
Channel 正在载入提交数据...
RTC 正在载入提交数据...
handles 正在载入提交数据...
ChannelMessageRegistrator.hpp 正在载入提交数据...
DepLibSRTP.hpp 正在载入提交数据...
DepLibUV.hpp 正在载入提交数据...
DepLibWebRTC.hpp 正在载入提交数据...
DepOpenSSL.hpp 正在载入提交数据...
DepUsrSCTP.hpp 正在载入提交数据...
LogLevel.hpp 正在载入提交数据...
Logger.hpp 正在载入提交数据...
MediaSoupErrors.hpp 正在载入提交数据...
Settings.hpp 正在载入提交数据...
Utils.hpp 正在载入提交数据...
Worker.hpp 正在载入提交数据...
common.hpp 正在载入提交数据...
lib.hpp 正在载入提交数据...