Posts by

Amit Saha

Terraform Remote State with Consul Backend

Development

Reading Time: 7 minutesTerraform is a command-line tool for creating and managing your cloud infrastructure. Infrastructure is expressed in a JSON-like configuration language — Hashicorp Configuration Language, and it supports multiple cloud infrastructure providers. One of the key aspects of the functionality of terraform is that of the state of your infrastructure as terraform sees it. This state […]

Continue Reading

Exploring Security, Metrics, and Error-handling with gRPC in Python

Development

Reading Time: 9 minutesIn my post “Using gRPC in Python,” we wrote a basic gRPC server implementing a users service. We are going to expand on it and explore more gRPC concepts, such as secure client-server communication via self-signed SSL certificates, implementing gRPC middleware (or interceptors), and error handling. “Exploring gRPC concepts like secure client-server communication and error […]

Continue Reading

Using gRPC in Python

Development

Reading Time: 8 minutesgRPC is an HTTP/2-based Remote Procedure Call (RPC) framework that uses protocol buffers (protobuf) as the underlying data serialization framework. It is an alternative to other language-neutral RPC frameworks such as Apache Thrift and Apache Arvo. In the first part of this series on using gRPC in Python, we will implement a gRPC service in […]

Continue Reading

Monitoring Your Asynchronous Python Web Applications Using Prometheus

Development

Reading Time: 7 minutesIn my last article, we saw how we can integrate the Prometheus monitoring system with synchronous Python applications. We focused on WSGI applications such as those written in Flask or Django and deployed using uwsgi or gunicorn. In this post, we will discuss integrating Prometheus with asynchronous web applications written using aiohttp, an HTTP client/server […]

Continue Reading

Introducing Distributed Tracing in Your Python Application via Zipkin

Development

Reading Time: 5 minutesThis article was originally published on Amit Saha’s personal site. With their kind permission, we’re sharing it here for Codeship readers. Distributed tracing is the idea of tracing a network request as it travels through your services, as it would be in a microservices-based architecture. The primary reason you may want to do this is […]

Continue Reading