https://nodejs.org/dist/latest-v10.x/docs/api/v8.html#v8_serialization_api node 8 开始有 v8 自带的序列化方法,如果是2个 node 进程之间交换数据,是它会更加合适。