-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
399 lines (208 loc) · 15 KB
/
index.html
File metadata and controls
399 lines (208 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Cloudnode Blog</title>
<meta name="author" content="Cloudnode">
<meta name="description" content="Welcome to the relaunch of our Cloudnode blog. From the beginning it has been hosted on
Posterous. After the acquisition of Posterous by Twitter, …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://cloudnode.github.com">
<link href="/cloudnode/favicon.ico" rel="icon">
<link href="/cloudnode/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/cloudnode/atom.xml" rel="alternate" title="Cloudnode Blog" type="application/atom+xml">
<script src="/cloudnode/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/lib/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/cloudnode/javascripts/octopress.js" type="text/javascript"></script>
<script src="/javascripts/picturefill.js" type="text/javascript"></script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
</head>
<body >
<header role="banner"><hgroup>
<div id="logo">
<a href="http://cloudno.de"><img src="/images/cloudnode-header-logo.png" alt="Logo"></img></a>
</div>
<div id="subtitle">
| The dev blog for cloudno.de, a new Node.js hosting platform.
</div>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/cloudnode/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:cloudnode.github.com" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/cloudnode/">Blog</a></li>
<li><a href="/cloudnode/blog/archives">Archives</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div class="blog-index">
<article>
<header>
<h1 class="entry-title"><a href="/cloudnode/blog/2013/04/08/our-blog-now-powered-by-octopress/">Our Blog Now Powered by Octopress</a></h1>
<p class="meta">
<time datetime="2013-04-08T21:32:00+02:00" pubdate data-updated="true">Apr 8<span>th</span>, 2013</time>
</p>
</header>
<div class="entry-content"><p>Welcome to the relaunch of our Cloudnode blog. From the beginning it has been hosted on
Posterous. After the acquisition of Posterous by Twitter, their new owners have decided to
close Posterous down on April 30th, 2013. Its time now to find a new home for our blog.</p>
<h4>Were To Go?</h4>
<p>Posterous suggests to move to <a href="http://en.support.wordpress.com/import/import-from-posterous/">WordPress</a> or <a href="http://help.squarespace.com/customer/portal/articles/881311-importing-content-from-posterous">Squarespace</a>.
There are also Tumbler and Blogger.
But as we had to experience ourselves, hosted blogs have big disadvantages. We wanted more
flexibility and were looking for a solution that could be hosted on multiple providers like
Amazon S3, Google App Engine, GitHub and others.</p>
<h4>Jekyll And Octopress</h4>
<p>While looking for a blog engine that can be hosted on several platforms, one solution showed up
several times. It seems to be best to have no engine at all, but generate static
content which can be hosted everywhere. No database is needed and the performance is top
notch. <a href="http://octopress.org/">Octopress</a> which is built on top of <a href="http://jekyllrb.com/">Jekyll</a> is such a solution and a clever way to
create a static blog.</p>
<p>And here it is, our new, fast, responsive and easy to maintain blog:</p>
<div data-picture data-alt=><div data-src=/images/2013/04/new-blog-small.jpg></div><div data-src=/images/2013/04/new-blog-medium.jpg data-media="(min-width: 400px)"></div><div data-src=/images/2013/04/new-blog-large.jpg data-media="(min-width: 800px)"></div><div data-src=/images/2013/04/new-blog.png data-media="(min-width: 1000px)"></div></div>
<p><noscript><img src="/cloudnode/images/2013/04/new-blog.png"></noscript></p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/cloudnode/blog/2012/12/29/uptime-to-the-max/">Uptime to the Max</a></h1>
<p class="meta">
<time datetime="2012-12-29T00:00:00+01:00" pubdate data-updated="true">Dec 29<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content"><p>Our web site <a href="http://cloudno.de">cloudno.de</a> runs as a Node.js app among all the other apps hosted on Cloudnode. Our top goal is to provide excellent performance and maximum uptime for all apps including our own. </p>
<p>When a Node.js application is running at Cloudnode it is started as a dedicated server process using its own port. A reverse proxy routes requests targeted at the app to its corresponding port. Thus many apps share a single proxy instance making it a critical component and a single point of failure.</p>
<p>We are using Nodejitsu’s <a href="https://github.com/nodejitsu/node-http-proxy">node-http-proxy</a> which normally runs stable. But some apps can give it a hard time, because they are experimental or contain resource leaks. When our monitoring detects such a situation, it takes care by restarting the proxy. Everything is fine after that, but the restart causes a short downtime for all apps which are served by that proxy. Until now…</p>
<p><strong><span style="font-size: medium;">High Availability Proxy To The Rescue</span></strong></p>
<p>Since 33 days we are running two proxies behind a balancer, which directs traffic through the other proxy during restarts.</p>
<p>The admin panel shows the following statistics for the last 33 days:</p>
<ul>
<li>proxy01 has been restarted 5 times with a combined downtime of 09:48 minutes</li>
<li>proxy02 has been restarted 2 times with a combined downtime of 03:53 minutes</li>
</ul>
<p>The overall downtime is <strong>zero</strong> over the period of 33 days 22 hours.</p>
<p><div data-picture data-alt=><div data-src=/images/2012/12/46576317-proxy-stats-small.jpg></div><div data-src=/images/2012/12/46576317-proxy-stats-medium.jpg data-media="(min-width: 400px)"></div><div data-src=/images/2012/12/46576317-proxy-stats-large.jpg data-media="(min-width: 800px)"></div><div data-src=/images/2012/12/46576317-proxy-stats.png data-media="(min-width: 1000px)"></div></div><noscript><img src="/cloudnode/images/2012/12/46576317-proxy-stats.png"></noscript></p>
<p>This combination works fantastic, supports websockets, keeps away bad traffic and scales to as many proxies and servers as are needed to handle Cloudnode’s future traffic.</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/cloudnode/blog/2012/07/31/monitor-cpu-memory-usage-of-your-hosted-apps/">Monitor CPU & Memory Usage of Your Hosted Apps</a></h1>
<p class="meta">
<time datetime="2012-07-31T00:00:00+02:00" pubdate data-updated="true">Jul 31<span>st</span>, 2012</time>
</p>
</header>
<div class="entry-content"><p>Our new monitoring helps you to watch the CPU and memory usage of your apps and to identify problems early. If an app is breaking the govenor limits for an extended period, if will be automatically shut down to ensure the best overall performance of all apps. In a later version we will also support switching to a higher level making your app truely elastic and only consuming as much resources as needed.</p>
<p><div data-picture data-alt=><div data-src=/images/2012/07/43371718-monitoring-small.jpg></div><div data-src=/images/2012/07/43371718-monitoring-medium.jpg data-media="(min-width: 400px)"></div><div data-src=/images/2012/07/43371718-monitoring-large.jpg data-media="(min-width: 800px)"></div><div data-src=/images/2012/07/43371718-monitoring.png data-media="(min-width: 1000px)"></div></div><noscript><img src="/cloudnode/images/2012/07/43371718-monitoring.png"></noscript></p>
<p>The new app management page shows each of your apps with its current resource usage values:</p>
<ul>
<li>RAM Usage - The permanently and exclusively allocated RAM</li>
<li>Virtual RAM - The total size of all allocated virtual RAM </li>
<li>CPU Load - The load of the virtual CPU (1.0 = full load)</li>
<li>CPU Time - The Accumulated CPU time used since the app has been started</li>
</ul>
<p>We are also storing these values in a Redis database to allow graphic output over a time period. (coming soon)</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/cloudnode/blog/2012/07/03/managing-package-dependencies-is-now-a-lot-easier-thanks-to-npm/">Managing Package Dependencies Is Now a Lot Easier Thanks to NPM</a></h1>
<p class="meta">
<time datetime="2012-07-03T00:00:00+02:00" pubdate data-updated="true">Jul 3<span>rd</span>, 2012</time>
</p>
</header>
<div class="entry-content"><p>There has always been the “cloudnode npm install <package>” command to add packages to your hosted node.js application. These steps were manual and could easily miss a dependency. </p>
<p>NPM has this great feature <a href="http://npmjs.org/doc/install.html">npm install</a>, that reads a meta file called package.json which describes all required packages and versions.</p>
<p>This command is now part of the git workflow. During git push operations the platform code looks for a package.json file in the main app directory and executes “npm install” on it. All dependencies are now resolved by the package manager.</p>
<p>This works also during updates. Whenever a new package or package version is needed by your app, just edit the package.json file and see NPM doing its magic.</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/cloudnode/blog/2012/03/17/we-now-support-multiple-node-js-versions/">We Now Support Multiple Node.js Versions</a></h1>
<p class="meta">
<time datetime="2012-03-17T00:00:00+01:00" pubdate data-updated="true">Mar 17<span>th</span>, 2012</time>
</p>
</header>
<div class="entry-content"><p>We have great news for those of you waiting to host Node.js version 0.6.x apps. You can now choose which version to use during application creation or by specifying a ‘node_version’ environment variable for existing apps. You can easily switch by setting the variable to 0.4 or 0.6 and restarting your application. </p>
<p><div data-picture data-alt=><div data-src=/images/2012/03/39103136-new-app-small.jpg></div><div data-src=/images/2012/03/39103136-new-app-medium.jpg data-media="(min-width: 400px)"></div><div data-src=/images/2012/03/39103136-new-app-large.jpg data-media="(min-width: 800px)"></div><div data-src=/images/2012/03/39103136-new-app.png data-media="(min-width: 1000px)"></div></div><noscript><img src="/cloudnode/images/2012/03/39103136-new-app.png"></noscript></p>
<p>The Log file will show which version is in use:</p>
<h4 style="margin-top: 0px; margin-bottom: 0px; font-size: 16px; color: #999999;">Application Log</h4>
<div style="color: #000000; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: left; text-indent: 0px; background-color: #ffffff;"><br />11 Mar 19:45:22 - Inside Node Virtual Machine<br />11 Mar 19:45:22 - <strong>Version: v0.6.12</strong><br />11 Mar 19:45:22 - Owning user: 501<br />11 Mar 19:45:22 - User Changed: 501<br />11 Mar 19:45:22 - Checking for /etc<br />11 Mar 19:45:22 - Update /etc/resolve.conf with Googles DNS servers..</div>
<p>Enjoy!</p>
</div>
</article>
<div class="pagination">
<a class="prev" href="/cloudnode/blog/page/2/">← Older</a>
<a href="/cloudnode/blog/archives">Blog Archives</a>
</div>
</div>
<aside class="sidebar">
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/cloudnode/blog/2013/04/08/our-blog-now-powered-by-octopress/">Our Blog Now Powered By Octopress</a>
</li>
<li class="post">
<a href="/cloudnode/blog/2012/12/29/uptime-to-the-max/">Uptime To The Max</a>
</li>
<li class="post">
<a href="/cloudnode/blog/2012/07/31/monitor-cpu-memory-usage-of-your-hosted-apps/">Monitor CPU & Memory Usage Of Your Hosted Apps</a>
</li>
<li class="post">
<a href="/cloudnode/blog/2012/07/03/managing-package-dependencies-is-now-a-lot-easier-thanks-to-npm/">Managing package dependencies is now a lot easier thanks to NPM</a>
</li>
<li class="post">
<a href="/cloudnode/blog/2012/03/17/we-now-support-multiple-node-js-versions/">We now support multiple Node.js versions</a>
</li>
</ul>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2013 - Cloudnode -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
- <a href="https://cloudno.de/contact">Contact Us</a>
- <a href="https://cloudno.de/contact">Imprint</a>
</p>
</footer>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-276011-5']);
_gaq.push(['_setDomainName', 'cloudno.de']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>