Skip to content

Designing Data-Intensive Applications - 4. Encoding and Evolution

Published: at 11:49 AM

Table Of Contents

Open Table Of Contents

Formats for Encoding Data

Data is typically represented in two forms:

  1. In-memory representation: Data structures such as objects, arrays, hash tables, or trees optimized for efficient access and manipulation by the CPU.
  2. Serialized representation: Self-contained byte sequences (e.g., JSON, XML, or binary formats) used for storage or network transmission.

Encoding and Decoding

Language-Specific Encodings

Textual Formats

Binary Formats

Models of Dataflow

Data can flow between processes using:

  1. Databases
  2. Service calls (e.g., REST, RPC).
  3. Asynchronous message passing.

Dataflow Through Databases

Service-Oriented Architectures (SOA)

Service Calls

Remote Procedure Calls (RPC)

Asynchronous Message Passing


Contribute to this article here.