Author Archives: Chad Lung

Introducing ECS Minion – A Python library for interacting with the ECS 2.x Management API

I currently work in EMC’s Cloud Services group and we scale very large storage solutions. We write a lot of code and many times this is done in Python. Previously I wrote another open source tool that worked with EMC’s … Continue reading

Posted in Uncategorized | Leave a comment

Getting started with RethinkDB and Python 3

I’ve been keeping an eye on RethinkDB for a while now and recently began working with it. There is a lot to like about RethinkDB like the ability to easily cluster and scale your deployment but what I’m going to … Continue reading

Posted in Open Source, Python | Comments Off on Getting started with RethinkDB and Python 3

Installing Hashicorp’s Consul and using Python 3 to communicate with it

Hashicorp builds several great tools and I’m going to focus on one in particular today called Consul. In particular one of the many ways to utilize Consul is it’s ability to support service discovery, failure detection and to be multi-datacenter … Continue reading

Posted in Open Source, Python | Comments Off on Installing Hashicorp’s Consul and using Python 3 to communicate with it

Exploring Python 3’s Asyncio by Example

In spring 2014 Python 3.4 shipped a provisional package (asyncio) which according to the docs “provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related … Continue reading

Posted in Open Source, Python | 9 Comments

Installing Apache Kafka and using Python 3 to communicate with it

Apache Kafka is being used a fair amount these days and where I work is no exception. Kafka is getting a lot done in the highly scaled ‘Cloud’ and elsewhere. Getting a developer instance of Kafka up and running can … Continue reading

Posted in Open Source, Python | 4 Comments

Tutorial: Building a Minecraft Microservice with Python 3

Probably many of you have heard of Microservices. They are essentially a small single-purpose, API accessible (typically REST) based application. You can build your microservices in a variety of programming languages or just one depending on your needs. Today I … Continue reading

Posted in Open Source, Python | 4 Comments

Easily setting up a Salt Master and Minion using Vagrant

I wrote a couple articles previously on getting started with Salt (see here and here). Those articles are good for learning however once you know the general idea of what it takes to install Salt (well one way to install … Continue reading

Posted in Open Source, Salt | Comments Off on Easily setting up a Salt Master and Minion using Vagrant

Introducing ViperPy – A Python library for interacting with the EMC ViPR API

ViperPy is a Python library for interacting with the EMC ViPR API. ViperPy began originally as an easy way to hook up numerous projects that needed to interact with the ViPR product in order to perform certain metering and billing … Continue reading

Posted in Open Source, Python | 1 Comment

Building a Python 3 REST application that scales “good enough”

Often developers get caught up in discussions about scaling their applications – usually before one line of code has even been written. Of course its helpful to keep the scalability of an application in mind, it however shouldn’t be a … Continue reading

Posted in Open Source, Python | 1 Comment

Python Multiprocessing: A Second Look

A while back I blogged about Python’s multiprocessing. I was talking with a friend the other day and was looking over his team’s Github repos and came across an interesting use of the multiprocessing package. I broke the original code … Continue reading

Posted in Open Source, Python | Comments Off on Python Multiprocessing: A Second Look