Tagged With: Marshalling
Ultra-fast Serialization of C++ Objects
May 16, 2017 by • “No Bugs” Bunny
Quote:
in both these cases we can be 100% sure that we’ll be deserializing this state on the executable which is identical to the executable which serialized the state.
Another Quote:
Even when comparing with home-grown code with per-field serialization, our Ultra-Fast Serialization still wins (up to 1.5x-2x)
Filed under: On.ProgrammingTips and TricksOptimizations
Read moreMarshalling and Encodings
May 16, 2016 by • “No Bugs” Bunny
Quote:
Encoded data size is especially important for Client-Server communications, and less important (within reason) for Server-to-Server ones and for locally-stored format.
Another Quote:
On the other hand, due to being optimized for CPU operation, Flatbuffers are NOT optimized space-wise; even compared to not-so-optimal-space-wise Google Protocol Buffers, Flatbuffers can lose additional 1.5x in size
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork Programming
Read moreIDL: Encodings, Mappings, and Backward Compatibility
February 15, 2016 by • “No Bugs” Bunny
Quote:
Modifying generated code usually qualifies as a Really Bad Idea
Another Quote:
How much can be gained by each of such specialized encodings – still depends on the game, but if you can try-and-test a dozen of different encodings within a few hours – it will usually allow you to learn quite a few things about your traffic (and to optimize things both visually and traffic-wise too).
Filed under: Book: D&D of MOGs1st beta of Vol. I-IIIOn.System ArchitectureDistributed systemsOn.ProgrammingNetwork Programming
Read morePart IIa: Protocols and APIs of 64 Network DO’s and DON’Ts for Game Engine Developers
May 25, 2015 by • “No Bugs” Bunny
Quote:
While using framework is fine, forgetting about it is not.
Another Quote:
Even if you're forcing the auto-update every time the game app starts, there still are users who were online at the moment of the update, and those who found a way to bypass game updates
Filed under: On.System ArchitectureDistributed systemsOn.ProgrammingNetwork Programming
Read more