Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
The Qlik R extension relies on the RServe server. There are multiple solutions to scale Rserve deployments, such as HAproxy and Nginx, for Qlik installations. When done correctly, this contains benefits such as better response time, better uptime and load balancing. Nginx looks to be still beta for Windows Server so HAproxy looks to be the most appropriate solution, currently. In the past, HAproxy seemed to provide better solution in load balancing. I would like to hear your experience.
Scaling Rserve Deployments:
1. What are the preferred ways to scale Rserve deployments particularly in crowded multiuser Qlik installations?
2. Are there plans for Qlik to support load balancing in RServe or is this something for which community should provide solutions for?
3. Are there some guidelines, recommendations or estimates about when load balancing could be an issue in the RServe deployments?
some good feedback. It is worth noting that Rserve is NOT recommended for use on Windows, so especially any scaling scenarios will need to run on Linux for the reasons outlined by Rserve (not a Qlik issue).
Also note that the projects are open source so you can adapt the code to my your specific needs and feed that back to the project. Perhaps a scaling feature would be a good addition.
Thank you for your answer. Unfortunately, I cannot find a mention about the platforms in Rserve documentation.
1. To which are you referring with "outlined by Rserve"? This document [1]?
2. Can you outline the reasons you are referring with "reasons outlined by Rserve"?
[1] https://cran.r-project.org/web/packages/Rserve/Rserve.pdf
Hi Henri,
There is no clear statement about whether to recommendations for Rserve on Windows, but the maintainer of the Rserve package has made a number of remarks that he doesn't use Windows. (here: Rserve stil crashes on Windows with invalid escapes sequences · Issue #22 · s-u/Rserve · GitHub)
"Sorry, no, I don't use Windows. Also note that this is not a crash - it's merely R exiting on an error. Since the main purpose of Rserve is to provide parallel sessions while Windows is incapable of that, it is a very rare exception to use Windows and Rserve. Windows support (if present) is mostly provided as a contribution from the community or friendly folks at Revolution Analytics. I will certainly entertain pull requests to restore Windows functionality and to fix any Windows-specific issues."
Also here are a few limitations on the Rserve for Windows version: Rserve for Windows - release notes
"The Windows version of Rserve is slightly limited compared to its unix counterpart. Quick overview of the differences: (for technical details see bottom of this page)
Especially the parallel connections limitation can impact your capability of building a scalable environment.
Regards,
Bas