The Talon Manual

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
div
idtoc
classtoc
div
classtocTitle

In This Section

div
classtocContents

Table of Contents
maxLevel23
indent8px
stylenone

Overview

...

Tip

Protobuf is recommended for generating ADM objects used for application state.

 

Pros:

  • Memory Utilization: Protobuf generated objects are fairly compact in memory compared to Xbuf objects, non repeated field values are store directly in the generated message object, making protobuf encoded objects a good candidate for usage as state entities. 
  • Faster serialization than Json. 
  • Protobuf is a well known standard, making it easy to interoperate with applications not uses ADM generated code.
  • Supports serialization / from json. 

...