Dev of the Week: Matt Butcher
Join the DZone community and get the full member experience.Join For Free
every week here and in our newsletter, we feature a new developer/blogger from the
to catch up and find out what he or she is working on now and what's coming next. this week we're talking to
, lead cloud engineer at revolv, inc, author of seven books and numerous articles on technology, and teacher at loyola university chicago. most recently, matt was featured in
dzone's 2014 cloud platform research report
1. what have you been working on lately?
at revolv , we are building a home automation platform that can link together a diverse range of best-of-breed smart devices (think sonos, philips hue, and belkin wemo). we use a three-tier architecture (a hardware controller, mobile apps, cloud). the problems we deal with are complex, we iterate rapidly, and i work with some truly brilliant people. it's my ideal job. technologically speaking, revolv is on the cutting edge of what is poised to be the next big thing: the internet of things.
my domain is cloud services. so i oversee the rest api server, backend services, and also our cloud deployment platform. i've been working on porting a very large java code base to a much smaller go code base. go is the perfect language for working with web services and rest. it is nimble, compact, and compiles to a variety of platforms. google built it with http-based servers in mind, and its core libraries reflect this focus.
2. tell us in a little more detail how you created the mini-paas using docker, packer, and ansible that you reference in the cloud research report .
i really like elastic beanstalk, amazon's paas-like tool. it solves some of the typical deployment issues well, and it offers the advantage of using compute instances in lieu of containers. but it only supports a few languages. notably for us, it does not support go.
when i expressed my frustration with the state of our paas alternatives, my colleague lann said, "hey, i think we could build something specific for our needs." and off he went. the next morning he demoed it, and by that afternoon we were using it for deploying one of our internal-only apps. now we're looking at deploying more of our infrastructure with it.
the basic workflow is pretty straightforward:
- build a suitable operating system image with ubuntu server, docker, and ansible
- compile our go sources (locally, before deployment)
- create an amazon ami disk image with packer
- load that image to the cloud
- spin up new vms running that image
- insert the new images into the load balancer
remove and destroy the vms running the old image
our little mini-paas is still pretty bare-bones, and still under development. but we feel like we're able to easily build what we need, without incurring hours and hours of extra devops time.
the cloud landscape is changing rapidly right now, and some really exciting things are happening with docker and containers. we've got our eye on coreos. once it matures, we may use that as the basis for a version 2.
3. should we even think of this mini-paas solution as a cloud platform and a type of paas? or is it more of a deployment utility, or a 'framework'?
that is a fantastic question that strikes at the heart of a vexed issue. the term paas is in danger of becoming too nebulous or watered down to mean anything. recently, i wrote a blog post trying to nail down what the essential functions of a paas are. briefly, a paas has five functions:
- deploy an app from workstation to cloud
- provision the necessary environment
- manage the applications lifecycle (start, stop, restart, pause, etc.)
- manage extrinsic services (databases, message queues, etc)
report and monitor for critical events
a full-on paas like stackato does all of these, and does so for a wide variety of use cases. our nascent mini-paas currently handles deployment, some provisioning, and lifecycle management, but relies upon aws for database, reporting, and monitoring.
right now, our provisioning phase is not completely automated. we still do some manual work during deployments, but that will change as we learn the best way to reliable deploy.
4. are there any particular developer tools or resources you couldn't live without?
i am deeply invested in vim (vi improved). i tried using an ide for a few months, and it felt like it got in the way more than it helped. these days, i use the janus vim distribution , which pre-loads and manages several useful vim plugins. it's tuned for mac os x, but it works well on linux, too.
i write lots of my documentation in markdown format. the mou app is great for that. i've also been testing out the [github atom editor](http://atom.io/). with its crisp feel and great feature set, i could imagine it becoming my documentation tool of choice.
finally, i spend a lot of time working at the command line. on mac, i love using iterm2 with a quake-style "slide-down-from-the-top" full screen setup. i'm also an avid fan of oh-my-zsh , a suite of tools that makes working with the already pleasant `zsh` shell even better.
5. do you have a favorite open source project (or projects) that you've contributed to recently?
as i mentioned earlier, i've been focusing my development efforts on the go language. to that end, matt farina and i have been working pretty steadily on a different sort of application framework called cookoo . we've been playing it pretty close to the chest with cookoo, but as we're closing in on a 1.0 release, i'll probably start talking about it a little more.
for the last few years i have been a huge fan of openstack. recently, openstack adopted the php sdk that i wrote while at hp cloud. given my admiration, i'm really excited to be able to say that i'm an openstack contributor.
also, we just issued version 1.0.3 of the html5-php library , the first full html5 parser/serializer for php. it has been fun to see the number of contributors on that project increase.
6. do you follow any blogs or twitter feeds that you would recommend to developers?
for cloud-related things, i am closely watching the centurylink labs blog right now. they are putting together some really interesting projects. more than any other, that blog represents the rapid changes that are occurring in the cloud landscape.
i keep an eye on redmonk , too. they put together some excellent developer-centered analysis on the state of technology. just recently, they released their report on programming language usage. their methodology includes tracking github and stack overflow to see what people are really doing, and what questions people are really asking.
on twitter, i enjoy @davecheney (he has a great blog, too). in addition to being an ambassador for the go language, he does interesting things with the raspberry pi and other "tiny computers." i've also followed hilary mason (@hmason) for a long time. she is a witty and insightful data scientist. i'm always learning something new from this pair of developers.
7. did you have a coding first love -- a particular program, gadget, game, or language that set you on the path to life as a developer?
i started my coding life with perl. yes, perl. this was 1995, i was in high school, and perl was a great language to learn on. i say that for two reasons.
first, perl offered quick payoffs: i could be productive writing (really bad) short and easy scripts. i wasn't doing lame coding exercises, i was *writing tools*.
but perl's hidden reward was in how it exposed me to the styles and techniques of other developers. as i used different perl modules, i learned how stronger programmers solved problems. perl's total absence of an opinion about what good code looked like forced newbie developers like me to learn, as the perl mantra goes, that "there is more than one way to do it." in a peculiar way, perl taught me not just how to write perl, but how to write c, java, python, shell scripts, and so on.
8. is there anything else you'd like to mention?
i've had an interesting experience over the last year. i've found myself swinging back from nosql to sql-based databases. i don't have any "disillusionment" about either one, but i've found that the combination of great dbaas providers and a possibly coincidental need to model mostly relational data, i've been much more productive with sql-based solutions. for a guy who at one time swore he'd never write sql again, it's really something to be excited again about good old fashioned relational databases.
that said, i'm realizing that some of the most frequently required sql tasks, like migrating and installing, are still painful. these tasks get implemented in the application framework layer, which is the wrong place to put the logic. we just end up rewriting the same stuff over and over again. for rails. for django. for the play framework. i'm looking forward to the day when some smart people build a tool to do this in a language/framework agnostic way.
Opinions expressed by DZone contributors are their own.