nimble_nodes 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +16 -5
- data/VERSION +1 -1
- data/nimble_nodes.gemspec +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -4,20 +4,31 @@ Automatic scaling for Heroku Dynos (and Delayed Job Workers coming soon). See ht
|
|
|
4
4
|
|
|
5
5
|
Rack middleware sits on top of all requests and watches the number of Dynos in use and the size of the RequestQueue. Depending on the settings entered at http://nimblenodes.com reports are posted over to the server. The server then calculates the needed adjustments and handles all communications with Heroku.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
= Installation
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
== Install gem
|
|
10
10
|
|
|
11
11
|
sudo gem install nimble_nodes
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
== Rails installation
|
|
14
14
|
|
|
15
15
|
In config/enviroment.rb
|
|
16
16
|
|
|
17
17
|
config.gem 'nimble_nodes'
|
|
18
|
-
config.middleware.use NimbleNodes::Middleware
|
|
19
18
|
|
|
19
|
+
=== Rails 2.3
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
In config/initializers/nimble_nodes.rb
|
|
22
|
+
|
|
23
|
+
ActionController::Dispatcher.middleware.use(NimbleNodes::Middleware)
|
|
24
|
+
|
|
25
|
+
=== Previous Rails Versions
|
|
26
|
+
|
|
27
|
+
In app/controllers/application_controller.rb
|
|
28
|
+
|
|
29
|
+
before_filter :monitor_heroku_app
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
= Copyright
|
|
22
33
|
|
|
23
34
|
Copyright (c) 2010 Cotillion, LLC. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.9
|
data/nimble_nodes.gemspec
CHANGED