According to Pinterest, a San Francisco based startup, DevOps is a challenge but necessary and worthwhile. The popular social network uses DevOps software deployment smarts to keep all their pinboards up and running in the face of explosive growth and is still able to add new features.
Pinterest, the popular “pinboard” social network, knows a little something about meteoric growth. Recent research from Experian Marketing Services shows that, in North America, online visits exploded to 28.95 million per week in July, up a whopping 5,124 percent from 1.27 million visits for the year-ago period.
And Ryan Park, operations engineer for the San Francisco company, knows a lot about what it takes to keep the systems supporting all that growth running. In his view, devops plays an important role there. Devops is the school of thought which mandates that developers and IT operations people work together to deliver new features to end users/customers. Traditionally, developers worked on more monolithic code releases and then threw them over the wall to the operations people who –ready or not — had to deploy the software. In many cases neither camp knew much about what the other did and that tended to lead to deployment issues.
The much-touted advantage to devops is a faster, more efficient delivery of needed new features. More incremental updates and faster fixes means happier end users/customers. What has been less covered is that devops is hard. It is, it’s a new way of doing business, but it’s still worth doing. The learning curve for tools like Puppet Labs’ Puppet and Opscode’s Chef is pretty steep, but that shouldn’t stop companies from using them, Park said.
Here, from Park, is a boiled down list of what companies should do to make the devops transition as painless as possible and build a solid process that lasts.
Take a look at the available tools, pick one and use it, Park said. Pinterest uses the Puppet configuration management tool which automates the process of launching new servers as needed and — perhaps more importantly — configuring them correctly.
“Before there was a lot of manual integration, a lot of tracking names and checking what server was doing what, adding access for new users. It was all by hand and a real pain and it wasn’t always reliable — maybe only 91 of 100 servers got rolled out, automation solves that,” he said.
Build a single source of truth
It’s still not easy but the use of the Puppet or Chef dashboard makes it easier to keep track of which systems are running in house or on Amazon EC2. “It’s important to get in the habit of setting up that source of truth — systems need to know the names of all the servers and which are running memcached [distributed object memory] or other services.” Park said. But to get that all-important repository, that data has to be entered.
Mitigate culture clash
Developers and ops people think and work differently largely because they have traditionally had conflicting goals. Developers want to deploy the coolest stuff fast and ops people want to make sure the systems that are running now keep running. It helps to hire software engineers that understand something about operations and operations pros that understand something about development. And both groups need to be aligned with the company’s business goals.
Enterprises that already have large dev and ops teams in place have one set of problems getting those camps to work together. Startups have an advantage in that they’re starting smaller, but as they ramp up, it’s important for them to set up their processes and technologies right so that changes and additions down the road come easier, Park said.
Embrace the community
There’s a growing number of devops pros out there. Use them. Get on the right mailing lists, attend meetups and vendor conferences.
Click here for the full article ‘Pinterest to startups: DevOps is hard, but do it anyway’ and commentary.