4 ms·
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 traffi
by sigil 14y ago
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-software-that-processes-billions-in-payments https://www.braintreepayments.com/blog/how-we-built-the-soft...
- jtdowney 14y agoTo 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)
- pgr0ss 14y agoThe 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)
- msherry 14y agoWe 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.
- zwily 14y agoConsider this an expression of interest from the community. :) (We're planning on doing something similar in the future.)
- sandGorgon 14y agothis is quite interesting. please do elaborate more.
- rurounijones 14y agoI 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! :)
- daemon13 14y agoNginx + Lua = YES, YES, YES, give us more... :-)