Hi Tom,

I looked at singularity some days ago and I was trying to setup Baragon and
that was the place where I couldn't figure out stuff. It seemed like it was
the right project and I could spend some time digging through the code to
figure it out but a getting started guide for baragon and deployment guide
were the things that would have helped me. The overall description gave me
a good idea (which i like) but I needed a little more of a  "how do i
deploy this correctly and use it in prod" documentation.

Thanks for pointing out the mailing list. I am still learning so I'll use
that.

-- Ankur

On Thu, Sep 11, 2014 at 6:49 AM, Thomas Petr <[email protected]> wrote:

> Hey Ankur!
>
> When was the last time you looked at Singularity? We spent some time last
> month improving our docs
> <https://github.com/HubSpot/Singularity/blob/master/README.md> in
> anticipation for MesosCon, and we're always open to feedback on what could
> be improved.
>
> We're using a combination of Singularity
> <https://github.com/HubSpot/Singularity> and Baragon
> <https://github.com/hubspot/baragon> to host web services. We use Nginx
> for load balancing (behind Amazon ELBs) but Baragon isn't tied to a
> specific type of load balancer, so it should be pretty easy to make it work
> with HAProxy. Feel free to email me, or the Singularity mailing list (
> [email protected]) if you have any questions. I'd be
> interested to see if this solution works for you!
>
> Thanks,
> Tom
>
> On Thu, Sep 11, 2014 at 3:37 AM, Ankur Chauhan <[email protected]> wrote:
>
>> I looked around a bit but the docs on aurora are almost non-existant when
>> you go into anything more that the basics. Singularity was another project
>> that caught my eye but again lack of docs make it difficult to get started.
>>
>> On Thu, Sep 11, 2014 at 12:25 AM, Stephan Erb <[email protected]
>> > wrote:
>>
>>> Hi everybody,
>>>
>>> Ankur's post is general enough, allowing me to reiterate the question:
>>>
>>> Does anyone know about similar HAProxy solutions for Aurora?
>>>
>>> Thanks,
>>> Stephan
>>>
>>>
>>> On Di, 2014-09-09 at 01:52 -0700, Ankur Chauhan wrote:
>>> > Hi all,
>>> >
>>> >
>>> > (Please let me know if this is not the correct place for such a
>>> > question).
>>> > I have been looking at mesos + marathon + haproxy as a way of
>>> > deploying long running web applications. Mesos coupled with
>>> > marathon's /tasks api gives me all the information needed to get a
>>> > haproxy configured and load balancing all the tasks but it seems a
>>> > little too simplistic.
>>> >
>>> >
>>> > I was wondering if there are other projects or if others could share
>>> > how they configure/reconfigure their loadbalancers when new tasks come
>>> > alive.
>>> >
>>> >
>>> > Just to make things a little more concrete consider the following use
>>> > case:
>>> >
>>> >
>>> > There are two web applications that are running as tasks on mesos:
>>> > 1. webapp1 (http + https) on app1.domain.com
>>> > 2. webapp2 (http + https) on app2.domain.com
>>> >
>>> >
>>> > We want to configure a HAProxy server that routes traffic from users
>>> > (:80 and :443) and loadbalances it correctly onto the correct set of
>>> > tasks. Obviously there is some haproxy configuration happening here
>>> > but i am interested in finding out what others have been doing in
>>> > similar cases before I go around building yet another haproxy
>>> > reconfigure and reload script.
>>> >
>>> >
>>> > -- Ankur
>>>
>>>
>>>
>>
>

Reply via email to