Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Loadbalancing producers


Copy link to this message
-
Re: Loadbalancing producers
Producers discover the broker that owns each partition and send messages
directly. There isn't anything to load balance at layer 4.
On Aug 29, 2013 8:54 AM, "Mark" <[EMAIL PROTECTED]> wrote:

> Can you explain why not?
>
> On Aug 29, 2013, at 8:43 AM, Benjamin Black <[EMAIL PROTECTED]> wrote:
>
> > The LB in front of the brokers doesn't make sense.
> > On Aug 29, 2013 8:42 AM, "Mark" <[EMAIL PROTECTED]> wrote:
> >
> >> We have a few dozen front-end web apps running rails. Each one of these
> >> rails instances has an embedded producer which in turn connects to a 3
> >> brokers who are behind a load-balancer. Does that sound about right?
> >>
> >> Is there anything special to account for since these TCP connections are
> >> long lived?
> >>
> >> On Aug 29, 2013, at 7:20 AM, Jun Rao <[EMAIL PROTECTED]> wrote:
> >>
> >>> I think a typical setup is that you have a load balancer in front of a
> >>> bunch of frontend services, each of which has an embedded producer.
> >>>
> >>> Thanks,
> >>>
> >>> Jun
> >>>
> >>>
> >>> On Wed, Aug 28, 2013 at 9:01 PM, Mark <[EMAIL PROTECTED]>
> wrote:
> >>>
> >>>> Is it common/necessary to load balance the connections your producers
> >> use?
> >>>> I'm looking at the Ruby gem and it doesn't look like this is handled
> via
> >>>> the gem.
> >>
> >>
>
>