Some Docker Tips and Tricks

“Docker is a great tool, which can be daunting at first. Shells can be annoying to work with and have their gotchas. It took me some time to figure these out and I want to spare you the time. This post has some quick tips, tricks and shell one liners to help you use Docker…”

How to Use a CDN with Your OpenShift Application

“Content Delivery Networks (CDNs) can be used in concert with OpenShift to rev up the performance and availability of your websites. OpenShift’s auto-scaling feature equips web applications to handle increases in requests for site content, which may or may not be dynamically generated. CDNs, also known as Content Distribution Networks, can help to reduce some of the load on your OpenShift application servers and improve your site’s performance by caching static resources such as images and scripts and serving them up from the closest location to your users, from a global network of servers distributed across the internet. CDNs can also help to protect your web applications by detecting suspicious behavior and blocking offending traffic…”

The Environment Object Pattern in Go

“Since we are all obviously using the same language, the difference must lie in coding behavior. I’ve internalized a lot of testing methodology over the years, and I find some of the things work even better in Go that most other imperative languages. Let me share one of my core tricks today, which I will call the Environment Object pattern, and why Go makes it incrementally easier to use than other similar (imperative) environments…”

How to add a new package to RHSCL perl516 for RHEL

“The Red Hat Software Collection (RHSCL) perl516 contains only a part of the packages which are packaged in RHEL or Fedora. It is not hard to add a new package to RHSCL. The following steps show how to convert a conventional spec file into a Software Collection spec file. The SCL spec file can then be used in both the conventional package and the Software Collection. We will use perl-Pod-Perldoc is used for an example…”

OpenShift Under the Hood: Part 1

“Often times when comparing different PaaS options, users focus on the features they see. To really understand what a PaaS is capable of as well as it’s limitations, you have to go “under the hood” and get a better understanding of the platform it’s built on. The features available to developers in any PaaS offering will be dictated by that underlying platform, along key things like usability, reliability and security.

In our review of OpenShift, we focused on 4 key areas:

– Developer Experience
– Frameworks & Services
– Container Model
– Platform & Administration

The Power of Lua and Mixins

“kikito has a great OOP library made for Lua that supports mixins. As stated in the link, “Mixins can be used for sharing methods between classes, without requiring them to inherit from the same father”. If you’ve read anything about component based system design, then you’ve read something like that quote but probably without the word mixin anywhere near it. Since I’ve been using mixins as the foundation of the entity code in Kara, in this post I’ll explain their advantages and what you can possibly get out of them…”