全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 学道会
792 6
2019-03-24
  • 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

二维码

扫码加我 拉你入群

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

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

全部回复
2019-3-24 18:28:45
为您点赞!!!
二维码

扫码加我 拉你入群

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

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

2019-3-25 04:46:28
点赞!
二维码

扫码加我 拉你入群

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

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

2019-3-25 05:25:41
点赞~
二维码

扫码加我 拉你入群

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

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

2019-3-25 09:14:34
谢谢分享!
二维码

扫码加我 拉你入群

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

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

2019-3-25 09:55:24
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群