<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Scaling Rserve Deployments? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313764#M14289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 10:05:47 GMT</pubDate>
    <dc:creator>Steven_Pressland</dc:creator>
    <dc:date>2017-07-21T10:05:47Z</dc:date>
    <item>
      <title>Scaling Rserve Deployments?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313763#M14288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Qlik R extension relies on the RServe server. &lt;SPAN style="font-size: 10pt;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scaling Rserve Deployments:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1. What are the preferred ways to scale Rserve deployments particularly in crowded multiuser Qlik installations?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2. Are there plans for Qlik to support load balancing in RServe or is this something for which community should provide solutions for?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3. Are there some guidelines, recommendations or estimates about when load balancing could be an issue in the RServe deployments?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313763#M14288</guid>
      <dc:creator />
      <dc:date>2024-11-16T09:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Scaling Rserve Deployments?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313764#M14289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 10:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313764#M14289</guid>
      <dc:creator>Steven_Pressland</dc:creator>
      <dc:date>2017-07-21T10:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Scaling Rserve Deployments?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313765#M14290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. Unfortunately, I cannot find a mention about the platforms in Rserve documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To which are you referring with "&lt;EM&gt;outlined by Rserve&lt;/EM&gt;"? This document [1]?&lt;/P&gt;&lt;P&gt;2. Can you outline the reasons you are referring with &lt;EM&gt;"reasons outlined by Rserve"&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp; &lt;A href="https://cran.r-project.org/web/packages/Rserve/Rserve.pdf" style="font-size: 10pt;" title="https://cran.r-project.org/web/packages/Rserve/Rserve.pdf"&gt;https://cran.r-project.org/web/packages/Rserve/Rserve.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 19:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313765#M14290</guid>
      <dc:creator />
      <dc:date>2017-07-23T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Scaling Rserve Deployments?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313766#M14291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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: &lt;A href="https://github.com/s-u/Rserve/issues/22" title="https://github.com/s-u/Rserve/issues/22"&gt;Rserve stil crashes on Windows with invalid escapes sequences · Issue #22 · s-u/Rserve · GitHub&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;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.&lt;/SPAN&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Also here are a few limitations on the Rserve for Windows version: &lt;A href="http://www.rosuda.org/software/Rserve/dist/rserve-win.html" title="http://www.rosuda.org/software/Rserve/dist/rserve-win.html"&gt;Rserve for Windows - release notes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;The Windows version of &lt;STRONG&gt;Rserve&lt;/STRONG&gt; is slightly limited compared to its &lt;/EM&gt;unix&lt;EM&gt; counterpart. Quick overview of the differences: (for technical details see bottom of this page)&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;the config file is &lt;TT&gt;Rserv.cfg&lt;/TT&gt; in the working directory (unless changed at compile-time)&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;initialization of &lt;TT&gt;R_HOME&lt;/TT&gt; &lt;/EM&gt;is performed&lt;EM&gt; automatically by fetching the information from the registry, i.e. you should use R installed by the official Windows installer and leave the DCOM option checked (this is the default) unless you know what you're doing. You should copy &lt;TT&gt;Rserve.exe&lt;/TT&gt;in the &lt;TT&gt;bin&lt;/TT&gt; directory of such installed R.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;no parallel connections are supported, subsequent connections share the same namespace&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;sessions are not supported - this is a consequence of the fact that parallel connections are not supported&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;no error handling - always use "try(...)" when evaluating commands, &lt;/EM&gt;otherwise&lt;EM&gt; the server may die on an error&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;local &lt;/EM&gt;unix&lt;EM&gt; sockets are not supported (by design, as the name implies)&lt;/EM&gt;"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Especially the parallel connections limitation can impact your capability of building a scalable environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scaling-Rserve-Deployments/m-p/1313766#M14291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-31T09:20:31Z</dc:date>
    </item>
  </channel>
</rss>

