Particular / Webinar.SignalR

A sample code demonstrating how to connect frontend to backend using SignalR and messaging
Apache License 2.0
12 stars 5 forks source link

Move the sample from Azure Cloud Services to a Docker Swarm cluster #9

Open MarcinHoppe opened 7 years ago

MarcinHoppe commented 7 years ago

Goal

This sample uses Azure Cloud Service to scale-out endpoints and utilize the built in load balancer but other than that it has nothing to do with Azure specifically.

I want to move this sample away from Azure to use a Docker cluster. This would allow much easier setup of the entire system, including dependencies (RabbitMQ, Redis, and potentially a reverse proxy if the built-in load balancer somehow does not support WebSocket very well).

MarcinHoppe commented 7 years ago

@Particular/signalr-webinar-maintainers Any objections?

mauroservienti commented 7 years ago

👍

SeanFeldman commented 7 years ago

I'm good with that.

Azure CSes won't run on docker. With that, I have a question. Should this repo undergo the change or should there be a true sample (mentioned in the issue description) that demonstrates how to run a scaled out solution with web endpoints on docker.

MarcinHoppe commented 7 years ago

@SeanFeldman Not sure about that. I can certainly see the benefit of moving this to samples in docs (better discoverability). On the other hand this code is way more complicated than our usual sample.

I'll try to move to Docker within this repo and when it's done, we can discuss moving it under docs.