News for hackers. Stuff that matters.
Re:How Balanced Does Database Migrations With Zero Downtime by sigil on Tuesday March 05, 2013 @01:46PM (#5326460)
You mean you didn't have to "build a custom HTTP server and application dispatching infrastructure around Python's Tornado and Redis" in order to suspend traffic? [1]

I like the simplicity of your approach, it's literally 2 lines of code. Bravo guys.

[1] https://www.braintreepayments.com/blog/how-we-built-the-soft...

Re:How Balanced Does Database Migrations With Zero Downtime by jtdowney on Tuesday March 05, 2013 @02:12PM (#5326624)
To be fair, they had to upgrade to a development release (1.5) of HAProxy to configure it in this way. When we introduced the broxy at Braintree that feature did not exist.

(Disclosure - I work at Braintree)

Re:How Balanced Does Database Migrations With Zero Downtime by pgr0ss on Tuesday March 05, 2013 @02:17PM (#5326657)
The broxy also adds more functionality, such as intelligent rate limiting by merchant (no one merchant can consume all of our backend app processes).

(Disclosure - I also work at Braintree)

Re:How Balanced Does Database Migrations With Zero Downtime by msherry on Tuesday March 05, 2013 @05:03PM (#5327681)
We actually have much the same functionality. We can dynamically route/rate-limit requests on a per-marketplace (or anything else, really) basis, using Nginx's Lua integration capabilities. We may end up writing another post on this, if there's any interest from the community.
Re:How Balanced Does Database Migrations With Zero Downtime by rurounijones on Tuesday March 05, 2013 @09:10PM (#5328874)
I think you can safely assume that any post along the lines of

"How we handle something <TECHNICAL> at balanced"

or

"How we handled <SITUATION> using <TECHNOLOGY> at balanced"

is of interest to this community.

No need to ask, get writing, hop to it! :)

Re:How Balanced Does Database Migrations With Zero Downtime by zwily on Tuesday March 05, 2013 @06:33PM (#5328218)
Consider this an expression of interest from the community. :)

(We're planning on doing something similar in the future.)

Re:How Balanced Does Database Migrations With Zero Downtime by daemon13 on Wednesday March 06, 2013 @01:51AM (#5329767)
Nginx + Lua = YES, YES, YES, give us more... :-)
Re:How Balanced Does Database Migrations With Zero Downtime by sandGorgon on Tuesday March 05, 2013 @08:18PM (#5328683)
this is quite interesting. please do elaborate more.