-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Dispatch events over gRPC #2231
Conversation
one instance of AppFlowyCore for each path
@abichinger Nice try! That is a new way to passthrough the data to the backend. I am not sure is it work on mobile platform too and it seems like FFI is faster than gRPC. |
Thanks! According to https://pub.dev/packages/grpc all platforms are supported. |
Except Web (At least without grpc-web) - It's weird why it's not in supported platforms if they have support for it. |
Multiple AppFlowy instances can share the same backend that hosts on the cloud. Correct me if I was wrong |
Yes that should be possible. (Haven't tested it yet) |
Yep, each instance of the backend is belonging to a user. |
@abichinger I am going to close this issue. Maybe we can reopen it in the future. |
I have been playing around with gRPC as an alternative to
dart:ffi
. So far I only tried it on my local system with a single user.Generating dart files
The code generation should be done inside
flowy_codegen
, but I couldn't figure out how to do that.Running the server
using docker:
Feature Preview
Screencast.2023-04-11.01.34.08.mp4
PR Checklist