My problem
I can run my WebAPI website in two iisexpress processes, each running on a different port but on the same machine. I want to be able to front that with something that will do any kind of "load balancing" across them. Round-robin would probably be best as it's more predictable.
This is ALL on one machine. No VMs.
This isn't, obviously, for genuine scale-out or performance. It's simply so I can try out some specific scenarios around message-based pub/sub with multiple instances of a website.
Ideas I've had:
- Try running apache - I have no idea how it works though, and my goal isn't to learn how to admin load-balancing etc.
- Write the world's simplest HTTP proxy server using ASP.NET self-hosted with the OWIN stuff, and when a request comes in, just literally pass it on to the next real server and route the response back.
Aucun commentaire:
Enregistrer un commentaire