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

WebSocket Gateway #890

Open
wk1210 opened this issue Sep 13, 2023 · 9 comments
Open

WebSocket Gateway #890

wk1210 opened this issue Sep 13, 2023 · 9 comments

Comments

@wk1210
Copy link

wk1210 commented Sep 13, 2023

In a proto.actor cluster, if I want to implement a gateway layer for WebSocket connections to enable clients to initiate requests to the cluster and allow the cluster to push messages to clients, are there any good approaches for this?

@wk1210 wk1210 changed the title Gateway(WebSocket) WebSocket Gateway Sep 13, 2023
@cupen
Copy link
Contributor

cupen commented Sep 18, 2023

Just send the PID of the websocket connection holder to cluster.
image

edit

@wk1210
Copy link
Author

wk1210 commented Sep 20, 2023

@cupen Thank you for your response, your flowchart is very clear, do you have some example code?

@cupen
Copy link
Contributor

cupen commented Sep 21, 2023

@cupen Thank you for your response, your flowchart is very clear, do you have some example code?

Sorry, I don't. But you are welcome to sponsor the project protoactor-go. Just believe in the power of money, it can do anything for you. 😄

@rogeralsing
Copy link
Collaborator

Hi @wk1210 are you aiming to do OCPP for EV-Charging?

Let's talk in that case. I've built 3 Ocpp servers so far using Proto.Actor .NET :-)

@wk1210
Copy link
Author

wk1210 commented Oct 8, 2023

Hi @wk1210 are you aiming to do OCPP for EV-Charging?

Let's talk in that case. I've built 3 Ocpp servers so far using Proto.Actor .NET :-)

I'm not, I have gaming industry requirements.

@cupen
Copy link
Contributor

cupen commented Oct 23, 2023

Intresting. What gaming industry requirements? Some thing like the cloud service built on orleans for Halo4?

@wk1210
Copy link
Author

wk1210 commented Nov 9, 2023

Intresting. What gaming industry requirements? Some thing like cloud service built on orleans for Halo4?

Poker Game. haha.

@rogeralsing
Copy link
Collaborator

This demo does this, but using signal-r
https://github.com/asynkron/realtimemap-go

@MaximTkachenko
Copy link

@rogeralsing is any of these ocppservers open sourced?

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

4 participants