Skip to content

Enable distributed actors in development snapshots #4497

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

Merged
merged 2 commits into from
May 12, 2022

Conversation

MaxDesiatov
Copy link

@MaxDesiatov MaxDesiatov commented Apr 30, 2022

This would potentially allow us to implement a distributed actors runtime with WebAssembly clients communicating via RPC with other clients or servers written in Swift.

@MaxDesiatov

This comment was marked as outdated.

@MaxDesiatov MaxDesiatov force-pushed the maxd/distributed-actors branch from 546f8db to 8f96067 Compare May 11, 2022 11:54
@MaxDesiatov MaxDesiatov marked this pull request as ready for review May 12, 2022 11:09
@MaxDesiatov MaxDesiatov changed the title Attempt to enable distributed actors Enable distributed actors in development snapshots May 12, 2022
@MaxDesiatov MaxDesiatov requested a review from a team May 12, 2022 11:09
@kateinoigakukun
Copy link
Member

Can we utilize distributed actor by having transport implementation on browser?

@MaxDesiatov
Copy link
Author

Yes, that's my current understanding. In the real world scenario servers would need to support "singleton" actors for things like database access, otherwise spawning a separate database actor on the server for every client would be prohibitive from the performance perspective. But from what I gathered, this already works in the cluster sample code apparently.

@MaxDesiatov
Copy link
Author

Also, that Apple's sample repository has multiple branches, only one of them utilizes new DistributedActorSystem protocol from the proposal that we'd have to implement for things to work on our side.

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) May 12, 2022 11:19
@MaxDesiatov MaxDesiatov merged commit 37e25be into swiftwasm May 12, 2022
kateinoigakukun pushed a commit that referenced this pull request Oct 6, 2022
This would potentially allow us to implement a distributed actors runtime with WebAssembly clients communicating via RPC with other clients or servers written in Swift.
@kateinoigakukun kateinoigakukun deleted the maxd/distributed-actors branch June 30, 2023 02:23
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

Successfully merging this pull request may close these issues.

2 participants