Thoughts and Updates from the Hedvig Blog

Subscribe to the blog
Get updates sent directly to your inbox

Flocker Storage Profiles for Docker

by Gaurav Yadav on December 11, 2015

When it comes to storage, one-size-fits-all doesn’t really work. Containers and microservices differ widely – some need high-performance to meet service levels, some only need “medium” speed, and yet others are less-critical, perhaps needing deep capacity without concern for latency. Our friends at ClusterHQ had this in mind when developing a new framework for their Flocker solution called Storage Profiles. It dramatically simplifies how developers provision storage for Docker containers.hedvig-flocker

Storage Profiles are intended to provide an easy way to choose the best set of attributes for the storage underpinning your Docker container environment. ClusterHQ has defined a set of profiles that map to specific service-level classes:

  • Gold – for applications that have high performance requirements, databases for example
  • Silver – for applications that don’t require such high performance, suitable as a default storage option
  • Bronze – for applications that have no (or low) requirements for performance, enabling a lower cost option at best-effort speed

As a follow-up to our initial storage driver for Flocker release, we’ve updated the code to now accommodate the Flocker Storage Profiles. One of the advantages of Hedvig is that our software enables you to select from a set of 12 enterprise storage services when defining a Virtual Disk for use with an application, VM, or container. The new Hedvig driver (available now on GitHub) takes advantage of this flexibility to pre-define a default set of characteristics for storage volumes used with Flocker/Docker.

The table below shows the features that we’ve pre-set, like client-side caching, pin-to-flash, dedupe, and compression to deliver a differentiated class of service for each profile.

hedvig-flocker-storage-profilesThese storage profiles provide a good starting point for delivering the needed performance levels for containers – automatically – as they are provisioned. Our goal is to make it easier for developers and DevOps to quickly provision virtual disks without having to interact with the underlying storage. In short: programmable infrastructure.

This is highly-valuable for any Docker deployment but particularly for multi-tenant and microservices environments. Service providers will find this new feature critical as customers will inevitably demand different storage performance for their apps, and Flocker Storage Profiles simplify the creation of a diversified service catalog.

You can check out more about how all this works and about Hedvig and ClusterHQ via these resources:

I also invite you to watch our recent Hedvig & Cluster HQ webinar. To watch the replay, click the button below.

Watch Webinar

Gaurav Yadav

Gaurav Yadav

Gaurav Yadav is a software engineer at Hedvig and a self-proclaimed expert in FIFA (the game). Prior to Hedvig Gaurav worked at Oracle for four years and has also worked at a number of companies including CA, NetLogic and a search engine startup. Gaurav graduated (somehow) from Texas A&M (Gig'em aggies).
See all authored articlesÚ