The personal and professional blog of Jefferson Heard, Python developer and software architect. I enjoy designing systems for scale and organizing people around building the design. I especially like overhauling MVPs or prototypes and making them into scalable systems. “Rebuilding the engine while it’s running” is a challenge that excites me right now.
Posts
GraphQL in Python with Graphene
Graphene is probably the best library for creating GraphQL endpoints in Python. It’s actively developed. It has pretty complete helper libraries for SQLAlchemy, Django’s ORM, and MongoDB. It’s relatively easy to get something simple going. That said, Graphene’s documentation leaves a lot to be desired. It’s easy to get something simple going in GraphQL using their documentation, but getting something hardened, production ready, and capable is another story.
Pitfalls in Configuring GUnicorn for Production
(Tl;dr - don’t use the
gevent
worker type unless you know all the libraries your applications uses and how they implement their I/O.)Region Cache - Russian Doll caching in Redis with Python
Link to region_cache on GitHub. Also available on PyPi. Install via
pip install region_cache
subscribe via RSS