cluster-client icon indicating copy to clipboard operation
cluster-client copied to clipboard

use Serialization API

Open fengmk2 opened this issue 6 years ago • 1 comments

https://nodejs.org/dist/latest-v10.x/docs/api/v8.html#v8_serialization_api

node 8 开始有 v8 自带的序列化方法,如果是2个 node 进程之间交换数据,是它会更加合适。

fengmk2 avatar Oct 30 '18 17:10 fengmk2

https://github.com/node-modules/serialize-json/pull/8 效果不错,值得干。

fengmk2 avatar Oct 30 '18 17:10 fengmk2