<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="https://www.linuxjournal.com/tag/scalability">
  <channel>
    <title>Scalability</title>
    <link>https://www.linuxjournal.com/tag/scalability</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>What Does "Fast" Mean?</title>
  <link>https://www.linuxjournal.com/content/what-does-fast-mean</link>
  <description>  &lt;div data-history-node-id="1338996" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-field-node-image field--type-image field--label-hidden field--item"&gt;  &lt;img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/reuven.jpg" width="303" height="303" alt="" typeof="foaf:Image" class="img-responsive" /&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/reuven-lerner" lang="" about="https://www.linuxjournal.com/users/reuven-lerner" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Reuven Lerner&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;
Good news! One of my clients is launching a new marketing campaign,
which we expect will make the business even more successful than
before.
&lt;/p&gt;

&lt;p&gt;
Bad news! This means our Web application, which has existed for
some time on a fairly simple infrastructure, and which has handled a
steadily growing number of users, now (we hope) will need to deal with
a massive spike in users.
&lt;/p&gt;

&lt;p&gt;
The big question is this: can our servers handle the load we expect?
Indeed, what load can we expect? And, what happens if we need to crank
up even more capacity?
&lt;/p&gt;

&lt;p&gt;
So in this article, I walk through some of the basic points having to do
with Web scalability, describing a few of the key things to keep in
mind. Next month, I'll take a deeper dive into these ideas and
discuss some of the techniques you can use to improve the speed—or
apparent speed—of your applications.
&lt;/p&gt;

&lt;h3&gt;
Background&lt;/h3&gt;

&lt;p&gt;
Many of my clients are companies that need a Web application, but
aren't familiar with the ways in which the Web works. A common
question for them to ask me is "We have many thousands of users every
month. Can the server handle that many people?" When I explain
that users consume server resources only when they actively are making
an HTTP request, their understanding begins to improve. A company
with 10,000 visitors a month doesn't need to worry about 10,000
simultaneous visitors; they likely will have some periods of time with
a few dozen and other periods of time with absolutely none. Thus,
scaling up their infrastructure to handle 10,000 simultaneous users
would be foolish.
&lt;/p&gt;

&lt;p&gt;
At the same time, there are times—such as after launching an
advertising campaign or being mentioned on a TV show—that you 
indeed will have a huge spike in traffic. Companies that advertise during
the Super Bowl not only expect to get millions of viewers, they also expect
to have many of those people visit their Web sites after (or during)
watching the ads. This means normal assumptions for scaling
no longer are applicable.
&lt;/p&gt;

&lt;p&gt;
This is one of the reasons why Amazon's EC2 has become so popular. If
you can treat a server as a commodity, paying for it by the hour and
spinning servers up and down as necessary, you can solve this scaling
problem. As traffic rises, you add more servers. As it falls,
you remove them.
&lt;/p&gt;

&lt;p&gt;
But of course, life is more complicated than that. First and
foremost, every system has bottlenecks that can't just be wished away
by auto-scaling. For example, if it turns out that your database
can't handle a large load and you have only a single database
server, auto-scaling your Web servers may exacerbate the problem,
rather than solve it.
&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/what-does-fast-mean" hreflang="und"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Mon, 21 Mar 2016 19:01:38 +0000</pubDate>
    <dc:creator>Reuven Lerner</dc:creator>
    <guid isPermaLink="false">1338996 at https://www.linuxjournal.com</guid>
    </item>

  </channel>
</rss>
