4 ms·
How exactly have you been doing that? It would be a cool blog post if you had the time. I've been thinking about really high volume applications that connect to
by ranman 10y ago
How exactly have you been doing that? It would be a cool blog post if you had the time. I've been thinking about really high volume applications that connect to haproxy instances that do DB load balancing but even that has it's own set of initial latency issues. I haven't fully figured out that architecture. In python in particular I'd really love to know how to setup the connection reuse.
- Mizza 10y agoCheck out the handler source code in Zappa for an example of a pattern like that. Similarly, if you use Zappa to deploy your application, if you create your database connection when the application loads, it'll just work. Stop by the Zappa slack if you want to explore this in more detail! https://slack.zappa.io https://slack.zappa.io It could always use more investigation, but there are quite a few Zappa users at extremely high loads now without any issues.
- avyfain 10y agoThis project looks super interesting. Thanks for sharing it! Now I want to come up with a use case to test it out over the next few days, maybe something for the Echo? I joined your Slack, we'll see where this takes us :)
- Mizza 10y agoThat's a great use case, many people are using flask-ask and Zappa together to great success: https://github.com/johnwheeler/flask-ask https://github.com/johnwheeler/flask-ask
- joeyspn 10y agoYou've got a problem with the naked domain redirects http://zappa.io http://zappa.io https://zappa.io/ https://zappa.io/