F5 loadbalancer support websokets

Posted on 2012-03-21
Last Modified: 2014-07-25
does F5 load-balancer supports HTML5 websockets, if there is anything specific i need to know about F5 in conjunction with Websocets? and what are  the importent points i need to know when working with websockets/F5.
Question by:ronenha
LVL 57

Expert Comment

ID: 37750724
Your best bet is to ask BigIP.  I can't find anything on their site that says the support it.  There are only a few (2 or 3) references to websockets on devcentral.

Accepted Solution

CLoz earned 55 total points
ID: 37803878
The F5 load balancer supports HTML5 and there is nothing you need to do for standard load balancing.  The only consideration you will need to have depend on the application itself, whether or not it requires persistence/stickiness.

Author Comment

ID: 37804624
"The only consideration you will need to have depend on the application itself, whether or not it requires persistence/stickiness"
can you please elaborate on this subject?


Expert Comment

ID: 37806783
If your application requires the load balancer to maintain session state, not all applications do, then you will need to create a presistence profile.  Usually cookie persistence.
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.


Author Comment

ID: 37819683
i dont fully understand

websocket is presistence protocol... that means when a connection open it is remains presistence to the specific instance?

Expert Comment

ID: 37823213
Websocket creates a persistent connection but persistence on the load balancer is something different.  Websockets allows multiplex two-way communication over a single TCP connection that will stay open for an entire session (persistent connection).  But if you are load balancing a server farm and on a subsequent session the same user needs to be returned to the same server it previously had a connection with, then that requires a persistence mechanism on the load balance to make sure the load balancer returns the user to the same server.  

If an application is correctly designed then the load balancer shouldn’t need to maintain persistence, a returning user can connect to any server in the farm, but the reality is not all developers design their applications with a load balancer in mind.

Expert Comment

ID: 37823224
Persistent and Persistence, What's the Difference?

Hopefully this helps.

Expert Comment

ID: 38674198
Regarding Persistence.  The Big IP will load balance all incoming connections based on the settings on the pool, persistence profiles and any associated iRules.  Connections could be round robin, or sticky based on Cookie or source IP address.  Websockets create a communications channel between the browser and the end web server.  You should make sure that your virtual server (VIP) does not have the one-connect profile enabled at it will reuse connections, also you may want to alter the TCP connection timeout by applying a profile to the VIP.

Featured Post

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Secure Connection Failed - Sonicwall FW 1 61
What's the problem with my DSL? 4 56
Routing Over XO Communications MPLS 7 44
Looking for open port with Telnet 5 34
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now