DevOps, a sysadmin strategy which helps speed up application development, will be the major theme at this year's Usenix LISA conference (Large Installation System Administration) conference in Boston in December.
"LISA is always on the cutting edge of system administration, and DevOps is really capturing the spirit of all the new best technologies in system administration," said Tom Limoncelli, a co-chairman for the conference.
The Usenix conference from December 4 will feature a number of talks that explore the concept of DevOps, including a keynote on the topic by Ben Rockwood, the director of systems engineering at cloud services provider Joyent.
In a nutshell, emerging concept DevOps is the practice of aligning an organisation's developmental environment more closely with its operational environment, so developers will better know what changes to make to an application, based on performance metrics and feedback from administrators.
While such an idea may appear obvious, large organisations have tended to keep their developers apart from the operational folks who use the software. "Years ago, developers would make software, shrink-wrap it, and system administrators were left alone to figure out how to effectively deploy it, upgrade it and scale it," Limoncelli said.
This approach can lead to a number of issues, however. Most notably, if the software works more slowly than expected, the debugging process can be slow, because the issue is always volleyed back and forth between developers and administrators, with each party assuming the other's work is at fault. Also, the features that a developer thinks a programme should have are not always the ones that administrators, or users, might actually find useful.
DevOps tightens the feedback loop between developers and operations, allowing developers to make changes more quickly and organisations to speed the refinement of their code. With the DevOps approach, "The system administrators are involved from the very beginning of software redesign, so reliability and scalability are built in," Limoncelli said. "By being collaborative, you get a higher velocity of change, better uptime and better scalability."
The rise of DevOps at this time perhaps could be attributed to the emergence of large-scale internet services, such as Google, Amazon and Twitter, all of which have embraced the principles behind DevOps, Limoncelli said. Such companies are fiercely competitive and so they need to implement new features as rapidly as possible. Such companies also tend not to use prepackaged software from third-party software vendors, and instead rely on open source programmes that their in-house developers and engineers can expand upon and tweak for their own specific environments.
One adherent to DevOps principles is the online e-commerce shop Etsy. At the O'Reilly Web 2.0 Expo, held in New York in October, Mike Brittain, director of both the engineering and infrastructure teams at Etsy, explained how Etsy used DevOps-like principles.
Etsy is a rapidly growing internet exchange site for handcrafted and vintage goods. In 2010, the site hosted transactions for more than $300 million in goods. To keep the site fresh, Etsy employs about 90 engineers who each day make and test about 40 code changes to the site.
A newly hired developer at Etsy will deploy code to the site by the end of his or her first day of work, Brittain said. The organisation has set up a work environment that makes it easy for developers to deploy code to the site quickly, and get feedback once their changes are embedded in the production code.
Such rapid deployment, a hallmark of the DevOps methodology, does not intimidate Brittain. "Failure is inevitable, whether we push code or not," Brittain said. "The trick is to test frequently, and make only small, incremental changes."
Problems caught early
While such rapid changes to the website may sound risky, Etsy has put a number of measures in place to catch potential problems before the code goes live, Brittain said. New code is reviewed by multiple engineers before it goes live. Code can be rolled out to a small percentage of users at first, around 10-20%, so problems can be caught before they affect the entire site.
One surprising - and unusual - source of feedback for the company has been the help forums, Brittain said. When a new feature doesn't work as expected, users will quickly complain, and the number of reports being filed will tip off engineering staff that something is not working correctly.
Another DevOps technique that Etsy uses is to make the performance metrics as widely available as possible. Such metrics are not just accessible to administrative staff, but are graphically displayed on monitors within the company's offices, so all can see them. If there is a degradation in service, due to, say, thread contention, or overloaded databases, anyone can see the problem and potentially offer a fix.
"It's not unusual to see something happened as you are walking down the hall," Brittain said. "The sooner we can detect the problem, the sooner it can be fixed."