• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Is Mango compatible with Load balancer?

    User help
    4
    7
    491
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Malaguena last edited by

      Hi All,

      Our customer wants to open mango with https. I know that we can use SSL to certificate Mango, but customer will not share ssl certification for this purpose. They offer us to use load balancer to get licensed application.

      As I know, some applications are not compatible to use with load balancer. Can we use load balancer with Mango?

      Thanks in advance!

      1 Reply Last reply Reply Quote 1
      • MattFox
        MattFox last edited by MattFox

        No, only one user instance per login. The session ID given for one mango instance will be different from another and is non-transferable.
        Unless you have a front end which is load balanced friendly and have your own back end system handling talking to the mango API and forwarding the data to the request origin. You'll have to handle all user logins and session IDs for it to work in a load balancing environment. Also both mango instances would need access to the same data in order for the frontend to be consistent.

        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • CraigWeb
          CraigWeb last edited by

          I am not too familiar with load balancing but if the system is set up with just one mango instance and the load balancer is just acting as a reverse proxy to Mango(decrypting the https and forwarding), I don't see why this won't work. maybe I'm wrong?

          1 Reply Last reply Reply Quote 0
          • cmusselm
            cmusselm last edited by

            What Craig said is correct. Load balancing doesn't require multiple servers. You can "load balance" one server, so technically yes, you could use a load balancer in front of Mango.

            1 Reply Last reply Reply Quote 0
            • MattFox
              MattFox last edited by MattFox

              Load balancing involves dividing up the load of incoming traffic to reduce load on a server and or service. This is done with multiple instances and a load balancer sends traffic between them.
              If you're doing a 1:1 via a proxy it's still the full load on a service, you would use rate limiting instead. The proxy is merely a redirection tool, so your definition doesn't fit.
              If it is as Craig mentions which involves merely a proxy redirect to a single mango instance, then yes all will work.

              Nurr I think you're asking if you can use a reverse proxy, in that case yes. Nginx and apache work with this. Nginx works better though due to the better header handling capabilities.

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

              1 Reply Last reply Reply Quote 0
              • M
                Malaguena last edited by

                Thank you All,

                I will reply to the customer with this information.

                1 Reply Last reply Reply Quote 0
                • CraigWeb
                  CraigWeb last edited by

                  @Nurr You can just leave mango running on port 8080 and let the load balancer forward to that port.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post