Re: HAProxy with MQTT

2016-11-04 Thread Hari Chandrasekhar
ch rely on the beginning of the payload of such > protocols. > It would be very easy to implement a new sample fetch function to extract > the > client identifier and possibly other information from the beginning of an > MQTT > connection, but keeping synchronized with a

Re: HAProxy with MQTT

2016-11-04 Thread Hari Chandrasekhar
sis which rely on the beginning of the payload of such > protocols. > It would be very easy to implement a new sample fetch function to extract > the > client identifier and possibly other information from the beginning of an > MQTT > connection, but keeping synchronized with a strea

Re: HAProxy with MQTT

2016-11-04 Thread Willy Tarreau
am requires a much more complete protocol implementation, basically like we have for HTTP. I'm not sure why we're starting to see more and more MQTT over haproxy, I'm interested in getting your opinion on this since you're one of them. Maybe there's a growing trend and we'll need to deal wit

HAProxy with MQTT

2016-11-03 Thread Hari Chandrasekhar
Hello, Our team is planning to use HAProxy as a TCP load balancer for MQTT servers. We don't have much familiarity with the HAProxy set up. So we would like to get some clarity on how the process would work. Please let me know if this is not the right place to ask questions and Thanks in

Re: Client Affinity in HAProxy with MQTT Broker

2015-09-28 Thread Baptiste
Hi Sourav, Could you confirm whether you were able to make HAProxy work with MQTT?? Baptiste On Fri, Sep 11, 2015 at 2:14 PM, Baptiste <bed...@gmail.com> wrote: > Hi Sourav, > > Thanks a lot for the mail and the screenshot. > That said, usually, when we ask for a capture, w

Re: Client Affinity in HAProxy with MQTT Broker

2015-09-11 Thread Sourav Das
Hi Baptiste, Thanks a lot for the quick reply. Please find the snapshot of the TCP dump for MQTT publish message. [image: Inline image 1] Please note that the MQTT messages are carried on top of TCP. Also, as mentioned in previous mail, I am trying to load balance the traffic based on the

Re: Client Affinity in HAProxy with MQTT Broker

2015-09-11 Thread Baptiste
Hi Sourav, Thanks a lot for the mail and the screenshot. That said, usually, when we ask for a capture, we mean a pcap file, not a png one :) It's fine, I have the information I need. I also used this documentation: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718037

Client Affinity in HAProxy with MQTT Broker

2015-09-10 Thread Sourav Das
Hi, I have been going through the HAProxy documentation for my work which deals with scaling and load balancing for MQTT Brokers. However, I could not find any configuration regarding the Client Affinity where the routing of the MQTT traffic is done based on the topic present in the MQTT

Re: Client Affinity in HAProxy with MQTT Broker

2015-09-10 Thread Baptiste
On Thu, Sep 10, 2015 at 4:05 PM, Sourav Das wrote: > Hi, > > I have been going through the HAProxy documentation for my work which deals > with scaling and load balancing for MQTT Brokers. > > However, I could not find any configuration regarding the Client Affinity >