Qlik Community

Ask a Question

Knowledge

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources. Prep for the big move: READ DETAILS

How are WebSockets used in Qlik Sense?

ToniKautto
Employee
Employee

How are WebSockets used in Qlik Sense?

A WebSocket is a client-server technology that opens a communication session between the client web browser and the server.  It uses the ws:// or wss:// protocol to connect to endpoints and establishes a full-duplex communication over a single connection.

In a document, once a WebSocket connection is established with the web server, you can send data from the client browser to the server and receive data from the server to the browser.
WebSockets improve the scalability of real-time bi-directional communication between servers and web browsers. This makes a significant improvement in web communication speed.

Qlik Sense uses WebSockets that enable communication between the web browser and Qlik Sense server. A Qlik Sense application gets generated with visualization objects and data via this communication.  These visualisations can then be integrated into any webpage via HTML and javascript custom development.

Resolution

It is recommended to have a single WebSocket connection per client to make an application more manageable. Concurrency and multiple WebSockets per client may make a page unresponsive due to data coming in from each WebSocket connection.

Web sockets are supported by modern browsers such as Chrome and Firefox. However, in Internet Explorer 11, there is a default limit of WebSocket connections per server. The default limit is 6, you can select a value from 2 through 128.

 

Related Content

Qlik Sense Hub Error Cannot create connection or Error Occurred on REST Endpoint Call -  Increase We...

 

Labels (1)
Version history
Revision #:
3 of 3
Last update:
‎2020-12-16 07:49 AM
Updated by:
 
Contributors