Author Archives: Chad Lung

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 | 8 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

Clustering Graphite – The Easy Way

Graphite is used extensively by many companies. Right now, I’m working on a large Cloud based project that collects metering/billing data from several sources like EMC ViPR, OpenStack, etc. In order to quickly generate reports we cache some of the … Continue reading

Posted in Open Source, OpenStack, Python, Ubuntu | Comments Off on Clustering Graphite – The Easy Way

The two minute guide to using Viper – configuration management with Go (golang)

A per the website Viper is a complete configuration solution. Designed to work within an application to handle file based configuration and seamlessly marry that with command line flags which can also be used to control application behavior”. You can … Continue reading

Posted in Go, Open Source | 1 Comment

Getting started with etcd and Python

In a nutshell etcd is an open-source distributed key value store and is written in Go. You can run a single instance but it really shines when you set it up in a cluster and it will gracefully handle master … Continue reading

Posted in Docker, Open Source, Python, Ubuntu | 1 Comment