Get A Field Guide to the Distributed Development Stack 1st Edition Andrew Odewahn free all chapters
Get A Field Guide to the Distributed Development Stack 1st Edition Andrew Odewahn free all chapters
com
https://ebookname.com/product/a-field-guide-to-the-
distributed-development-stack-1st-edition-andrew-odewahn/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookname.com/product/field-guide-to-wisconsin-sedges-an-
introduction-to-the-genus-carex-cyperaceae-1st-edition-andrew-l-hipp/
ebookname.com
https://ebookname.com/product/a-practical-guide-to-distributed-scrum-
ibm-press-1st-edition-woodward/
ebookname.com
https://ebookname.com/product/field-guide-to-radiometry-spie-press-
field-guide-fg23-barbara-grant/
ebookname.com
https://ebookname.com/product/emotions-in-american-history-an-
international-assessment-1st-edition-jessica-c-e-gienow-hecht/
ebookname.com
Elemental Moon Necromancer Games d20 System 3rd Edition
Rules 1st Edition Feel Lance Haxvermale
https://ebookname.com/product/elemental-moon-necromancer-
games-d20-system-3rd-edition-rules-1st-edition-feel-lance-haxvermale/
ebookname.com
https://ebookname.com/product/the-monster-within-the-hidden-side-of-
motherhood-1st-edition-barbara-almond-md/
ebookname.com
https://ebookname.com/product/secular-theology-american-radical-
theological-thought-1st-edition-clayton-crockett/
ebookname.com
https://ebookname.com/product/genomics-and-clinical-medicine-1st-
edition-dhavendra-kumar/
ebookname.com
https://ebookname.com/product/the-worlds-of-herman-kahn-the-intuitive-
science-of-thermonuclear-war-1st-edition-sharon-ghamari-tabrizi/
ebookname.com
Auditory and Vestibular Research Methods and Protocols 1st
Edition Casilda Trujillo-Provencio
https://ebookname.com/product/auditory-and-vestibular-research-
methods-and-protocols-1st-edition-casilda-trujillo-provencio/
ebookname.com
A Field Guide to the Distributed
Development Stack
A Field Guide to the Distributed Development Stack
by Andrew Odewahn
Copyright © 2014 Andrew Odewahn. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebasto‐
pol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promo‐
tional use. Online editions are also available for most titles ( http://safaribook‐
sonline.com ). For more information, contact our corporate/institutional sales
department: 800-998-9938 or [email protected] .
While the publisher and the author(s) have used good faith efforts to ensure
that the information and instructions contained in this work are accurate, the
publisher and the author(s) disclaim all responsibility for errors or omissions,
including without limitation responsibility for damages resulting from the use
of or reliance on this work. Use of the information and instructions contained
in this work is at your own risk. If any code samples or other technology this
work contains or describes is subject to open source licenses or the intellec‐
tual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
978-1-491-91658-2
[LSI]
Table of Contents
Introduction 1
How to Contribute 3
iii
Tools 22
For More Information 23
Appendix: Contributors 39
Survey 41
iv | Table of Contents
Introduction
1
anyone who has watched DevOps for any length of time can
tell you, it’s a space bursting with interesting and exciting new
tools, so my list and guilt quickly got out of hand.
Once I reached the limits of the Sticky as a medium, I started to
look for patterns in my list. Some were obvious. For example,
many of the tools, like Ansible, Salt, or (to a certain extent)
Dockerfiles, fit into a clear infrastructure-automation group
pioneered by Chef, CFEngine, and Puppet. So, too, the many
cloud services.
But where would something like CoreOS, Docker, or Mesos fit?
As I thought about how to group them, they seemed somehow
tied up with the notion of containerization, but that just
seemed too narrow. Rather, these projects and tools were part
of a much larger trend — enabling clustering and distributed
computing—and containerization was just a piece. So, rather
than group by technology, it made sense to me to group by
trend—in other words, what did the tool enable, and why was
that trend important?
Simultaneously, other people at O’Reilly were also exploring
this same question, but from a different perspective. In "Every‐
thing is distributed (http://radar.oreilly.com/2014/05/everything-
is-distributed.html),” Courtney Nash, the chair of Velocity
(http://velocityconf.com/), was asking “how do we manage sys‐
tems that are too large to understand, too complex to control,
and that fail in unpredictable ways.” In "Beyond the stack
(http://radar.oreilly.com/2014/05/beyond-the-stack.html),” Mike
Loukides was thinking about how “a new toolset has grown up
to support the development of massively distributed applica‐
tions,” and described the profound consequences that the shift
from well-tended, internal servers to disposable VMs was hav‐
ing on the traditional “LAMP” stack. (As well as its hipster
cousin, the MEAN stack (http://meanjs.org/).)
So, it’s from this context that my Sticky list grew into this Field
Guide to the Distributed Development Stack (http://
2 | Introduction
sites.oreilly.com/odewahn/dds-field-guide/). The Guide is
organized into buckets based on a general observation, such as:
How to Contribute
To contribute to the DDS field guide: Fork this repo Agree to
the O’Reilly Contributor License Agreement (http://
How to Contribute | 3
contributor-agreements.oreilly.com/) Add your tool / contribution
Submit a pull request
If your request is accepted, we’ll add you to the Contributors
page.
4 | Introduction
The Cloud Is the Default Platform
5
• Internal cloud and PaaS services.
These are tools and services you’re likely to encounter here:
Hosted PaaS
Hosted PaaS services add a layer on top of the raw offerings of
hosting providers:
Internal Services
These are tools that create virtual internal clouds (i.e., on prem‐
ise). While they’re technically running in your own internal
datacenter, they enable the concept of scalable, on-demand
resources:
Internal Services | 7
individual jobs on a Mesos cluster. (So, it’s like a dis‐
tributed version of init (http://en.wikipedia.org/wiki/
Init) or upstart (http://upstart.ubuntu.com/)). Chro‐
nos, developed by Airbnb’s engineering team, is a
distributed, fault-tolerant replacement for cron (the
classic UNIX job scheduling tool) for scheduling
when jobs will start.
• OpenShift Origin (https://openshift.github.io/) is an
open source version of RedHat’s Open Shift plat‐
form.
9
• Clone down a local copy of foo.
• Execute foo’s test suites (see the section on applica‐
tion stacks for more about this).
• If the tests fail, send an alert to the development
team and halt the process.
• If the test suite passes, deploy the code to a staging
or even production server.
Tools
Here are a few of the CI servers you might encounter:
Continuous Deployment | 11
The Codebase Is in Git
13
• There is an agreed-upon master repository, which is
often on a public service like GitHub (https://
github.com/) or BitBucket (https://bitbucket.org/), or
an internal server like GitLab (https://
www.gitlab.com/) or Mercurial (http://mercu
rial.selenic.com/).
• Each developer clones the master repository to his
or her local machine.
• The developer creates a new branch, usually for a
specific feature.
• The developer makes commits against the local copy.
• Once the feature is done, he or she merges the
branch back into the master branch and pushes the
change back to the master.
• Other developers pull from the master branch and
merge their branch.
• The merged copy preserves the full version history
of all the distributed copies.
In addition to these coordination functions, most version con‐
trol systems also offer a feature called a hook. A hook is a pro‐
cess that fires once a specific event, like a commit, happens to
the repository. Hooks can be defined in the repo itself, but also
in the hosting service. For example, GitHub lets you define
“service” hooks that are called whenever a specific event occurs.
These hooks are the tie-in to the continuous integration (CI
server).
Tools
Here are the key version control systems:
• GitLab (https://github.com/gitlabhq/gitlabhq).
“Project management and code hosting application.”
• Gitosis (https://github.com/tv42/gitosis). “software for
hosting Git repositories”
• Gitorious (https://gitorious.org/gitorious). The self-
hosted version of gitorious.org. (It’s a Rails app.)
Tools | 15
The Entire Application Runs Locally
in Development
Tools
The following table summarizes tools you will encounter:
17
• Vagrant (http://www.vagrantup.com/). “Create and
configure lightweight, reproducible, and portable
development environments.”
• VirtualBox (https://www.virtualbox.org/). “Virtual‐
Box is a powerful x86 and AMD64/Intel64 Virtuali‐
zation (https://www.virtualbox.org/wiki/Virtualiza
tion) product for enterprise as well as home use.”
Free and open source! This tool allows you to run a
full image of another operating system (called the
“guest”) on your own machine (called the “host”).
• VMware (http://www.vmware.com/). One of the
original virtualization solutions; Vagrant has a paid
version that targets VMware fusion.
• ngrok (https://ngrok.com/). ngrok allows you to
share applications running on your local machine to
other users on the Internet. IT works by setting up a
tunnel to ngrok, which then revers proxy to allow
you to have a public URL. In the paid version (it’s a
donation model with a suggestion of $25, but you
pan pay what you want), you can have it proxy to a
custom domain.
• Vagrant Cloud (https://vagrantcloud.com/). A service
from the creator of Vagrant that allows you to share
versioned Vagrant images.
Tools | 19
The Environment Is Automated in
the Code
A key idea (maybe the key idea) of DevOps is that the environ‐
ment in which your code will run should be modeled as code,
and not be some separate thing that is a black box. (And, as we
get a bit further down the stack, should be versioned with the
code as well.) It seems pretty basic, but the idea is that you
should have a “recipe” that allows you to recreate the environ‐
ment at any moment. Some of the key parts of managing the
environment include:
21
Random documents with unrelated
content Scribd suggests to you:
Introduced over twelve years ago, it has held its position as the
Highest Grade of Flour ever produced
MODEL HUB
EBONY FINISH
Range on the outside are but the index to the splendid working
qualities on the inside.
HUB RANGES are perfectly adjusted cookers—great fuel and time
savers—thoroughly dependable—and the best cooks and leading
cooking schools use them because they are. Why don’t you?
Write us for a copy of “Range Talk, No. 9,” which tells all about the HUB Ranges.
No other house in this country can show such a variety. French Fry
Pans; Jelly Sieves; Enamelled, Tin, and Copper Moulds—more than
1200 patterns and different sizes; Soufflé Dishes; Coffee Mills;
Pepper Mills; Table Coffee Roasters; Coffee Pots and Machines; Pot-
au-feu; Shirred Egg Dishes; Casseroles; Marmites; Salad Forks and
Spoons; Salad Washers; Cook’s Knives; Hateletts; Vegetable Cutters;
Paste Cutters; Ramikens; Parisien Potato Cutters; Wood Cooking-
School Spoons; also, a large variety of English and German Culinary
Goods.
We call special attention to our Plate Warmers, to use with
charcoal and for register.
English Knife Machines clean from two to eight knives at a time.
Also, Knife Boards.
Fireplace Fittings, Andirons, Fenders, Fire Sets, Brushes, and
Bellows.
The Original
WATERMAN
Stores
Testimonials
I have sold over a thousand. After a few are sold they sell others.
Mrs. G. P. Witham,
Waterville, Me.
We have done away with the rolling board and use Magic Covers
for bread, cookies, doughnuts, and pastry. I recommend them in the
hospitals where I give lessons to the nurses.
Fannie Merritt Farmer,
Boston Cooking School.
I find the Covers all you claim; would not do without them. You
may send me 25.
L. A. Scattergood,
Syracuse Model Home and School.
Please send me two dozen and a half Covers. My pupils are very
much pleased with them, and a good many want them.
Stella A. Downing, N. E. Cooking School.
Price, 65 Cents, Postpaid.
MAGIC COVERS. WHAT ARE THEY?
The greatest invention of the age! A great saving of time,
strength, and material. Neat, durable, and effectual. Every
housekeeper should have one. By their use the softest dough can be
handled without the slightest possibility of sticking to moulding
board or rolling pin. They are guaranteed to be absolutely as
represented. One set will last for years. They will save many times
their cost in material alone. They are highly recommended by
leading cooks and teachers of cooking. Dough cannot stick to
Magic Covers.
Address
, Magic Cover Co.,
CORRINA, ME.
The Covers are better than I imagined. The very poetry of pastry
work.
Franc Baker, Morenci, Mich.
I have used the Covers and would not do without them.
Eloise P. Flord,
Grace Hospital, Detroit, Mich.
The class has used my covers and the ladies all want them. One
trial will sell a Magic Cover. I am sure I can sell five or six dozen.
Stella A. Dodge,
School of Domestic Science, Erie, Penn.
For
Rolling Pin
and
Bread Board
MISS FARMER’S NEW BOOK
Gives the prudent, economical housekeeper more cereal value for her
money than any package cereal. At 15 cents per package (20 cents
west of the Rockies) there is the equivalent of over three packages of
the ready to eat flaked foods, wheat or corn, and when properly
prepared for the table, one package of Malt Breakfast Food will give
more single portions than any granular cereal we know of.
Made from the choicest gluten wheat of the north west, Malt
Breakfast Food contains all the wheat but the outer coating of bran,
combined with a product of Barley Malt, adding a delicious flavor
and rendering readily digestible the starch of the wheat.
For Flavor, Food Value and Economy insist upon having
Malt Breakfast Food
“I have used your Poultry Seasoning for the past year, and find it a
better Seasoning for all kinds of game, poultry, etc., than any article I
have ever used.”
S. H. Moseley.
THIRTY YEARS LATER
Wm. H. Moseley, son of S. H. Moseley, writes: “I wish to
add my testimony to that given you by my father in 1878, and to say
that we have continued to use your Poultry Seasoning to the
exclusion of all others, and find it has been kept up to the high
standard of quality referred to by him.”
February 13, 1909, Harvey & Wood, Managers of Hotel
Bellevue and Hotel Canterbury, Boston, and Piedmont Hotel,
Atlanta, Ga., write: “We are using your BELL’S DRESSING in all
of our hotels. We have not used any other for fifteen years, as our
cooks prefer it to any other.”
One of Boston’s noted hotel keepers has said, “I would as
soon think of discharging my chef, as to do without BELL’S
SPICED SEASONING.”
The William G. Bell Company
SOLE MANUFACTURERS
50 COMMERCIAL STREET, BOSTON, MASS.
Purity in grape juice means plain grape juice; that is, juice as you
find it in the grape.
Purity is lost by putting in preservatives or by adding coloring
matter, or by diluting the juice or by lack of care in any step in
manufacture.
Welch’s grape juice is pure. The juice from the grapes we use needs
nothing to prevent spoiling, nothing to heighten its color and nothing
to enhance its food value.
The grapes are inspected before they are washed, washed before
they are stemmed and stemmed before they are pressed.
They are the choicest Concords grown in the famous Chautauqua
vineyards. We have learned how to transfer the juice from the
luscious clusters to the bottle unchanged in any way.
If your dealer doesn’t keep Welch’s, send $3.00 for trial dozen pints, express
prepaid east of Omaha. Booklet of forty delicious ways of using Welch’s Grape
Juice free. Sample 3–oz. bottle by mail, 10c.
THE WELCH GRAPE JUICE CO., WESTFIELD, N. Y.
What Users Think of Wheatena
“We are all very fond of it. When I cook any other cereal the
children say ‘Cook Wheatena, Mamma, I like that best.’”
“It is quite satisfactory; we use it regularly, and like it better than
any other. While others may please at first, they do not wear as well.”
“The children all enjoy Wheatena very much, and always call for
‘second helps.’ The cook had difficulty at first in making enough for
the young people. Like Oliver Twist they always called for ‘more.’”
“I am much happier when I use it than at other times.”
“My boy does not care for any cooked cereal but Wheatena. I find
he is better satisfied after a breakfast of it, and does not ask for
something before lunch.”
“It will give you more good, strong food for the size package than
any other cereal on the market. It’s good.”
“I began to use it thirteen years ago when I had my first attack of
gastritis, and am using it now. My stomach will not retain anything
else during these attacks.”
“I have five children who eat it every morning for breakfast and are
always lost without it.”
Wheatena
Price Fifteen Cents at All Grocers
Coffee in air-tight packages, packed automatically, no handling.
All the rich, full flavor of the finest berries kept for you.
That’s Chase & Sanborn’s Coffee.
A hostess who serves Chase & Sanborn’s Tea receives nothing but
compliments on its fragrance and delicacy. The sealed, air-tight,
screw top canister preserves the original flavor of the most carefully
selected teas sold to-day.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.