plume2
plume2 copied to clipboard
每个actor跑在单独的web worker中
想想都有点兴奋呢 哈哈。 目前测试发现web worker的创建成本毫秒级 已经比较快了 希望可以通过不同的配置开启或者不开启,或者监控到只要支持web worker就自动开启这些特性。
@hufeng webworker 传递消息会自动序列化反序列化对象的, 不知道如果频繁传递消息性能损耗大不大 还有我 去年发现 webworker 也可以 inline 掉 https://github.com/boneVidy/inline-webworker
@vidy 是的 会有这样的问题,所以场景要像erlang的哲学一样 "小消息 大计算" 😃
vidy [email protected] 于2019年3月21日周四 下午11:34写道:
@hufeng https://github.com/hufeng webworker 传递消息会自动序列化反序列化对象的, 不知道如果频繁传递消息性能损耗大不大 还有我 去年发现 webworker 也可以 inline 掉 https://github.com/boneVidy/inline-webworker
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/QianmiOpen/plume2/issues/30#issuecomment-475279559, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgiEEAWS74J-HxTDAMRT2t0JQs87dClks5vY6Z8gaJpZM4WpW-M .
@hufeng 多线程的redux https://dassur.ma/things/react-redux-comlink/ https://github.com/GoogleChromeLabs/comlink actor model+ shared Arraybuffer
帅气啊 学习一波
vidy [email protected] 于2019年12月6日周五 上午9:22写道:
@hufeng https://github.com/hufeng 多线程的redux https://dassur.ma/things/react-redux-comlink/ https://github.com/GoogleChromeLabs/comlink actor model+ shared Arraybuffer
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/QianmiOpen/plume2/issues/30?email_source=notifications&email_token=AAECEED7VFWHWNNP3URZRI3QXGSO5A5CNFSM4FVFN6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCWQHI#issuecomment-562391069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAECEEAH4R5FHUVWW3MCIB3QXGSO5ANCNFSM4FVFN6GA .
帅气
胡锋 [email protected] 于2019年12月6日周五 下午10:58写道:
帅气啊 学习一波
vidy [email protected] 于2019年12月6日周五 上午9:22写道:
@hufeng https://github.com/hufeng 多线程的redux https://dassur.ma/things/react-redux-comlink/ https://github.com/GoogleChromeLabs/comlink actor model+ shared Arraybuffer
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/QianmiOpen/plume2/issues/30?email_source=notifications&email_token=AAECEED7VFWHWNNP3URZRI3QXGSO5A5CNFSM4FVFN6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCWQHI#issuecomment-562391069 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAECEEAH4R5FHUVWW3MCIB3QXGSO5ANCNFSM4FVFN6GA
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/QianmiOpen/plume2/issues/30?email_source=notifications&email_token=AAQWV23NYJAITH3NYQUNN6DQXJSBPA5CNFSM4FVFN6GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGEKQPY#issuecomment-562604095, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQWV27J67ET5HAHBAKSB7DQXJSBPANCNFSM4FVFN6GA .