Skip to content

Commit

Permalink
mention hot deployment more often
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 26, 2013
1 parent b94af50 commit 65ece54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,4 +1,6 @@

4.28 2013-08-27

4.27 2013-08-26
- Added acceptors attribute to Mojo::Server::Daemon.
- Added handle method to Mojo::IOLoop::Server.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -41,7 +41,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.27';
our $VERSION = '4.28';

sub AUTOLOAD {
my $self = shift;
Expand Down
14 changes: 7 additions & 7 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -124,9 +124,9 @@ L<Mojolicious::Plugin::JSONConfig> configuration file.
};

But one of its biggest advantages is the support for effortless zero downtime
software upgrades. That means you can upgrade L<Mojolicious>, Perl or even
system libraries at runtime without ever stopping the server or losing a
single incoming connection, just by running the command above again.
software upgrades (hot deployment). That means you can upgrade L<Mojolicious>,
Perl or even system libraries at runtime without ever stopping the server or
losing a single incoming connection, just by running the command above again.

$ hypnotoad script/myapp
Starting hot deployment for Hypnotoad server 31841.
Expand All @@ -140,10 +140,10 @@ C<X-Forwarded-For> and C<X-Forwarded-HTTPS> headers.

=head2 Zero downtime software upgrades

L<Mojo::Server::Hypnotoad> makes zero downtime software upgrades very simple,
as you can see above, but on modern operating systems that support the
C<SO_REUSEPORT> socket option, there is also another method available that
works with all built-in web servers.
L<Mojo::Server::Hypnotoad> makes zero downtime software upgrades
(hot deployment) very simple, as you can see above, but on modern operating
systems that support the C<SO_REUSEPORT> socket option, there is also another
method available that works with all built-in web servers.

$ ./script/myapp prefork -P /tmp/first.pid -l http://*:8080?reuse=1
Server available at http://127.0.0.1:8080.
Expand Down

0 comments on commit 65ece54

Please sign in to comment.