Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Load balancing SignalR

Alessandro Galasso's Avatar

Alessandro Galasso

20 Oct, 2016 07:30 AM

Hi all,
I've created a SignalR application and currently running on a single Web worker.
What will happens if I scale it to more than one worker?
Does load balancing manage it with a sticky session?

Any other good to know advice to run SignalR on AppHarbor?

Thanks,
Alessandro.

  1. Support Staff 1 Posted by rune on 20 Oct, 2016 02:07 PM

    rune's Avatar

    Hi Alessandro,

    AppHarbor doesn't manage sticky sessions (mostly because it's fairly unreliable across deployments) so my best advice would be to design the application to scale out with a shared database or queue system. There are a few options for this, but you might want to consider using SignalR's Redis support for this -- there are also a few Redis add-ons in the add-on catalogue you might want to use.

    Best,
    Rune

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac