At Turret.IO, our stack includes software written in both Python and Go. While it’s relatively easy and efficient to deploy Python code that handles the website and API, shipping Go binaries isn’t nearly as elegant. Our initial methods involved deploying the source, compiling on each machine (since Go does compile incredibly fast), and startup scripts… Read more »
Posts Categorized: Python
Using Cassandra with Python and uWSGI
The latest Python DataStax DriverĀ is a welcomed addition to the available Python clients that support CQL3 with Cassandra. One unfortunate pain point with this client (and possibly others) is the amount of time it takes to connect to a cluster. Because each connection requires the client to fetch the entire cluster’s schema, time-sensitive environments (such… Read more »
Amazon SNS Verification for Python
A great part of Amazon’s Simple Notification Service (SNS) is that it signs each notification, allowing your application to verify the signature before trusting any data inside of it. Of particular interest to us is an Amazon SES option that sends, complaint, hard bounce, and soft bounce messages via SNS rather than email. This allows… Read more »
Experimental python-cassandra Performance Boost
We use Cassandra pretty heavily. With all of its advantages, one pain point for us has been the python-cassandra driver’s connection speed. Today, I finally dove into the code to figure out if I could squeeze out a little more juice or if I’d need to start caching results to keep our pages loading quickly…. Read more »