楼主: liuxf666
860 6

[学习笔记] Foundations of Data Systems_Data encoding(serialization) [推广有奖]

  • 1关注
  • 3粉丝

已卖:70份资源

学科带头人

54%

还不是VIP/贵宾

-

威望
0
论坛币
13005 个
通用积分
409.9229
学术水平
109 点
热心指数
112 点
信用等级
103 点
经验
71218 点
帖子
1079
精华
0
在线时间
1538 小时
注册时间
2016-7-19
最后登录
2024-6-8

楼主
liuxf666 发表于 2019-3-24 09:47:52 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
  • Formats for Encoding Data:
    • Overview: Programs usually work with data in (at least) two different representations:
      • In memory, data is kept in objects, structs, lists, arrays, hash tables, trees, and so on. These data structures are optimized for efficient access and manipulation by the CPU (typically using pointers).
      • When you want to write data to a file or send it over the network, you have to encode it as some kind of self-contained sequence of bytes (for example, a JSON document). Since a pointer wouldn’t make sense to any other process, this sequence-of-bytes representation looks quite different from the data structures that are normally used in memory.
      • Thus, we need some kind of translation between the two representations. The translation from the in-memory representation to a byte sequence is called encoding (also known as serialization or marshalling), and the reverse is called decoding (parsing, deserialization, unmarshalling).
    • Language-Specific Formats
      • Java - java.io.Serializable
      • Ruby - Marshal
      • Python - pickle
      • etc.
    • JSON, XML, and Binary Variants
    • Thrift and Protocol Buffers
      • Field tags and schema evolution
      • Datatypes and schema evolution
    • Avro
      • The writer’s schema and the reader’s schema
      • Schema evolution rules
      • Dynamically generated schemas
      • Code generation and dynamically typed languages
    • The Merits of Schemas
  • Modes of Dataflow
    • Dataflow Through Databases
    • Dataflow Through Services: REST and RPC
    • Message-Passing Dataflow

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Foundations foundation Systems serial System

已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
经管之家编辑部 + 100 + 3 + 3 + 3 精彩帖子

总评分: 论坛币 + 100  学术水平 + 3  热心指数 + 3  信用等级 + 3   查看全部评分

本帖被以下文库推荐

沙发
artra2012 在职认证  发表于 2019-3-24 18:28:45
为您点赞!!!

藤椅
经管之家编辑部 在职认证  发表于 2019-3-25 04:46:28
点赞!

板凳
充实每一天 发表于 2019-3-25 05:25:41 来自手机
点赞~

报纸
从1万到一亿 在职认证  发表于 2019-3-25 09:14:34
谢谢分享!

地板
hifinecon 发表于 2019-3-25 09:55:24

7
renshok 发表于 2019-4-7 21:23:26
为您点赞

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-30 11:38