Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

每个actor跑在单独的web worker中 #30

Open
hufeng opened this issue Sep 14, 2018 · 6 comments
Open

每个actor跑在单独的web worker中 #30

hufeng opened this issue Sep 14, 2018 · 6 comments

Comments

@hufeng
Copy link
Member

hufeng commented Sep 14, 2018

No description provided.

@hufeng
Copy link
Member Author

hufeng commented Sep 19, 2018

想想都有点兴奋呢 哈哈。
目前测试发现web worker的创建成本毫秒级 已经比较快了
希望可以通过不同的配置开启或者不开启,或者监控到只要支持web worker就自动开启这些特性。

@boneVidy
Copy link

@hufeng webworker 传递消息会自动序列化反序列化对象的, 不知道如果频繁传递消息性能损耗大不大
还有我 去年发现 webworker 也可以 inline 掉
https://github.com/boneVidy/inline-webworker

@hufeng
Copy link
Member Author

hufeng commented Mar 22, 2019 via email

@boneVidy
Copy link

boneVidy commented Dec 6, 2019

@hufeng 多线程的redux https://dassur.ma/things/react-redux-comlink/
https://github.com/GoogleChromeLabs/comlink
actor model+ shared Arraybuffer

@hufeng
Copy link
Member Author

hufeng commented Dec 6, 2019 via email

@KeithZhang
Copy link
Collaborator

KeithZhang commented Dec 11, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants