<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Server!/Horror!</title>
	<atom:link href="http://blog.serverhorror.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.serverhorror.com</link>
	<description>I have a magnet! And I don&#039;t mind using it!</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:33:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.serverhorror.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6559fc4a4cdfcd9786b64eb5770957a6?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Server!/Horror!</title>
		<link>http://blog.serverhorror.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.serverhorror.com/osd.xml" title="Server!/Horror!" />
	<atom:link rel='hub' href='http://blog.serverhorror.com/?pushpress=hub'/>
		<item>
		<title>VIM Segfaulting, I don&#8217;t see that everyday</title>
		<link>http://blog.serverhorror.com/2012/01/11/vim-segfaulting-i-dont-see-that-not-everyday/</link>
		<comments>http://blog.serverhorror.com/2012/01/11/vim-segfaulting-i-dont-see-that-not-everyday/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:16:08 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.serverhorror.com/?p=1515</guid>
		<description><![CDATA[Haha!? Filed under: Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1515&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Haha!?</p>
<p><img class="aligncenter size-full wp-image-1517" title="VIM-SEGV" src="http://serverhorror.files.wordpress.com/2012/01/vim-segv.png?w=700&#038;h=127" alt="" width="700" height="127" /></p>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1515/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1515&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2012/01/11/vim-segfaulting-i-dont-see-that-not-everyday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>

		<media:content url="http://serverhorror.files.wordpress.com/2012/01/vim-segv.png" medium="image">
			<media:title type="html">VIM-SEGV</media:title>
		</media:content>
	</item>
		<item>
		<title>Just a little Test for Flattr!</title>
		<link>http://blog.serverhorror.com/2012/01/05/just-a-little-test-for-flattr/</link>
		<comments>http://blog.serverhorror.com/2012/01/05/just-a-little-test-for-flattr/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 19:16:23 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.serverhorror.com/?p=1513</guid>
		<description><![CDATA[no content here Filed under: Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1513&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>no content here</p>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1513/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1513&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2012/01/05/just-a-little-test-for-flattr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>test for facebook</title>
		<link>http://blog.serverhorror.com/2012/01/03/test-for-facebook/</link>
		<comments>http://blog.serverhorror.com/2012/01/03/test-for-facebook/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 23:09:28 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.serverhorror.com/?p=1508</guid>
		<description><![CDATA[is wordpress sharing working? Filed under: Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1508&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>is wordpress sharing working?</p>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1508/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1508&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2012/01/03/test-for-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>golang package cappedqueue</title>
		<link>http://blog.serverhorror.com/2012/01/03/golang-package-cappedqueue/</link>
		<comments>http://blog.serverhorror.com/2012/01/03/golang-package-cappedqueue/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 14:00:33 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Go]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://blog.serverhorror.com/?p=1502</guid>
		<description><![CDATA[Just finished the first few lines of hopefully somewhat usable go code. The code is available on github in case someone indeed is brave enough to use it&#8230; http://github.com/serverhorror/cappedqueue To quote the README.rst file: cappedqueue cappedqueue is a simple package to make sure you can submit to a queue. Losing items is on purpose so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1502&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Just finished the first few lines of hopefully somewhat usable go code. The code is available on github in case someone indeed is brave enough to use it&#8230;</div>
<ul>
<li><a href="http://github.com/serverhorror/cappedqueue">http://github.com/serverhorror/cappedqueue</a></li>
</ul>
<p>To quote the README.rst file:</p>
<blockquote>
<h1>cappedqueue</h1>
<p>cappedqueue is a simple package to make sure you can submit to a queue. Losing items is on purpose so that <strong>you can rely on not accidentally blocking or filling up your memory</strong></p>
<p>see the <code>cappedqueue_test.go</code> file for details on the usage&#8230;</p>
<p>/serverhorror</p></blockquote>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/github/'>github</a>, <a href='http://blog.serverhorror.com/tag/go/'>Go</a>, <a href='http://blog.serverhorror.com/tag/google/'>Google</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1502/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1502&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2012/01/03/golang-package-cappedqueue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>The Importance of API “Transports”</title>
		<link>http://blog.serverhorror.com/2012/01/01/the-importance-of-api-transports-the-importance-of-api-transports-the-importance-of-api-transports/</link>
		<comments>http://blog.serverhorror.com/2012/01/01/the-importance-of-api-transports-the-importance-of-api-transports-the-importance-of-api-transports/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 14:00:52 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Application programming interface]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[Hypertext Transfer Protocol]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Relational database management system]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://blog.serverhorror.com/?p=1476</guid>
		<description><![CDATA[SQL Databases are dead There I said it. I jumped the NoSQL waggon and I refuse to use anything that is remotely uncool and old. Of course the above is a lie. Well kind of. In reality I do think that the interface by which you communicate with a SQL database is dead (or rather [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1476&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>SQL <a class="zem_slink" title="Database" href="http://en.wikipedia.org/wiki/Database" rel="wikipedia">Databases</a> are dead</h2>
<blockquote>
<p dir="ltr">There I said it. I jumped the <a class="zem_slink" title="NoSQL" href="http://en.wikipedia.org/wiki/NoSQL" rel="wikipedia">NoSQL</a> waggon and I refuse to use anything that is remotely uncool and old.</p>
</blockquote>
<p>Of course the above is a lie. Well kind of. In reality I do think that the interface by which you communicate with a <a class="zem_slink" title="SQL" href="http://en.wikipedia.org/wiki/SQL" rel="wikipedia">SQL database</a> is dead (or rather should be, but so should <a class="zem_slink" title="File Transfer Protocol" href="http://en.wikipedia.org/wiki/File_Transfer_Protocol" rel="wikipedia">FTP</a> &#8212; another story &#8212; still there are a few people left using it).</p>
<p>I’m not really talking about the query language itself, I’m talking about the “transport” (lacking a better word).</p>
<h2>So is (nearly) any other protocol</h2>
<p>I’ll leave the <em>kool new aid road</em> now and talk about the transport stuff a bit.</p>
<p>My problem with <a class="zem_slink" title="Application programming interface" href="http://en.wikipedia.org/wiki/Application_programming_interface" rel="wikipedia">API</a> interfaces currently is that the usage of these interfaces is quite annoying. Let’s look at the products that people use all over the web.</p>
<p>Say you go to Facebook or Google and what to use their API to do something with the social networks represented by the data. On the API page of Facebook you’ll find some source package that implements a <a class="zem_slink" title="Transport Layer" href="http://en.wikipedia.org/wiki/Transport_Layer" rel="wikipedia">transport protocol</a>, a <a class="zem_slink" title="Domain-specific language" href="http://en.wikipedia.org/wiki/Domain-specific_language" rel="wikipedia">domain specific language</a> and to complicate things a bit further also a certain data representation.</p>
<p>Reality is that right now to use some service on the Internet there is only a single transport protocol. HTTP, maybe add SSL on top of that but the transport is HTTP. I’m not saying that the <a class="zem_slink" title="Hypertext Transfer Protocol" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" rel="wikipedia">HTTP protocol</a> is the ultimate protocol. It’s shortcomings are quite well known.</p>
<p>The point is that you can solve a whole set of problems all in one go and be done with it.</p>
<h2>Back to the SQL Example</h2>
<p>So you have this cool new project and decided to use some relational database system. Now you also decide to use a framework that relies on interactions with other systems being non-blocking. So you run around the web and look for some non-blocking driver for you <a class="zem_slink" title="Relational database management system" href="http://en.wikipedia.org/wiki/Relational_database_management_system" rel="wikipedia">RDBMS</a> of choice.</p>
<p>Then you run around the web and look for some non-blocking driver for you storage part, then you run around the web&#8230;(you get the idea).</p>
<p>Now if all your satellite systems would be exposed oder HTTP you’d&#8230;run around the web and look for a non-blocking HTTP client and be done with this category of problems.</p>
<h2>Just don’t use HTTP&#8230;please!</h2>
<p>Please, please, please&#8230;don’t just use HTTP because I used it as an example here. A unified (or generalized) transport really needs some serious thinking.</p>
<p>Of course you can just run away now and scream what kind of idiot I am, but the next time you run around the web and and look for a driver because the transport of services isn’t generalized enough to be reusable.</p>
<p>Also please don’t confuse the transport with the represenation &#8212; which should be considered equally important and would solve another stack of problems.</p>
<p>And if you go that last route, that still doesn’t say that should be only a single language per domain, having a single language per domain would be not that good without wasting further thoughts about those last two statements.</p>
<blockquote><p>/serverhorror</p></blockquote>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/application-programming-interface/'>Application programming interface</a>, <a href='http://blog.serverhorror.com/tag/database/'>Database</a>, <a href='http://blog.serverhorror.com/tag/facebook/'>Facebook</a>, <a href='http://blog.serverhorror.com/tag/http/'>HTTP</a>, <a href='http://blog.serverhorror.com/tag/hypertext-transfer-protocol/'>Hypertext Transfer Protocol</a>, <a href='http://blog.serverhorror.com/tag/nosql/'>NoSQL</a>, <a href='http://blog.serverhorror.com/tag/relational-database-management-system/'>Relational database management system</a>, <a href='http://blog.serverhorror.com/tag/sql/'>SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1476/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1476&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2012/01/01/the-importance-of-api-transports-the-importance-of-api-transports-the-importance-of-api-transports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>What is big data?</title>
		<link>http://blog.serverhorror.com/2011/12/31/what-is-big-data/</link>
		<comments>http://blog.serverhorror.com/2011/12/31/what-is-big-data/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:00:44 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big data]]></category>
		<category><![CDATA[Data analysis]]></category>
		<category><![CDATA[Data Warehousing]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Hadoop]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://serverhorror.wordpress.com/?p=1470</guid>
		<description><![CDATA[It’s actually quite simple: You have big data whenever a single host isn’t enough to either store or process your data. What does it mean? Suppose you have a Postgresql Database and you run into scaling problems. There’s a choice now, either get better hardware so that you can continue to work on a single [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1470&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It’s actually quite simple: You have <a class="zem_slink" title="Big data" href="http://en.wikipedia.org/wiki/Big_data" rel="wikipedia">big data</a> whenever a single host isn’t enough to either store or process your data.</p>
<h1>What does it mean?</h1>
<p>Suppose you have a <a class="zem_slink" title="PostgreSQL" href="http://en.wikipedia.org/wiki/PostgreSQL" rel="wikipedia">Postgresql</a> Database and you run into scaling problems. There’s a choice now, either get <em>better hardware</em> so that you can continue to work on a single host or <strong>split the database to span multiple hosts</strong>.</p>
<p>Suppose you have a file store and all disks are full. You can either buy larger disks or use some distributed storage system where you <strong>just add hosts to expand the total storage capacity</strong>.</p>
<p><strong>In both cases you are dealing with big data.</strong></p>
<p>Big data (<em>for me</em>) isn’t anything that says X MB of data. It’s simply the case when you need decide to use a distributed system to handle your data.</p>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/big-data/'>Big data</a>, <a href='http://blog.serverhorror.com/tag/data-analysis/'>Data analysis</a>, <a href='http://blog.serverhorror.com/tag/data-warehousing/'>Data Warehousing</a>, <a href='http://blog.serverhorror.com/tag/databases/'>Databases</a>, <a href='http://blog.serverhorror.com/tag/hadoop/'>Hadoop</a>, <a href='http://blog.serverhorror.com/tag/hardware/'>Hardware</a>, <a href='http://blog.serverhorror.com/tag/postgresql/'>PostgreSQL</a>, <a href='http://blog.serverhorror.com/tag/storage/'>Storage</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1470/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1470&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2011/12/31/what-is-big-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>Everything is a fucking event stream!</title>
		<link>http://blog.serverhorror.com/2011/12/27/everything-is-a-fucking-event-stream/</link>
		<comments>http://blog.serverhorror.com/2011/12/27/everything-is-a-fucking-event-stream/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 08:00:06 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[GlusterFS]]></category>
		<category><![CDATA[Loggly]]></category>
		<category><![CDATA[Zabbix]]></category>
		<category><![CDATA[Data logger]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.serverhorror.com/?p=1310</guid>
		<description><![CDATA[I got quite fed up with monitoring systems lately. I do not see a need for such systems any more, and I hate to introduce yet another component that does not actually add any value! No go away and turn around and read something else if you think this is utter bullshit, but recently I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1310&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got quite fed up with monitoring systems lately. <strong>I do not see a need for such systems any more</strong>, and I hate to introduce yet another component that does not actually add any value!</p>
<p>No go away and turn around and read something else if you think this is utter bullshit, but recently I took some time to think about what a monitoring system actually does.</p>
<p>In my opinion a monitoring system is nothing more that a logging system. You generate some log message (which actually isn’t a log message) and send it off to a central host (possibly with several level of intermediate hosts) just to fire off a notification your log message.</p>
<p>So what do we have we have a log stream. But since I don’t actually really care about <a class="zem_slink" title="Data logger" href="http://en.wikipedia.org/wiki/Data_logger" rel="wikipedia">log messages</a> let’s generalize a bit and call everything an event!</p>
<h2>Everything is a fucking event stream!</h2>
<blockquote><p>I do mean everything!</p></blockquote>
<p>Let’s begin with syslog (yup classic syslog, no bells and whistles). Have you ever thought about what the separation marker for a syslog event is? I don’t know for sure what it is. For a long time I thought that the only true answer would be a newline.</p>
<p>Hey, <em>who the hell wants to read Java stack traces in a log file or Python or any “multi line message”</em>.</p>
<blockquote><p>I do!</p></blockquote>
<p>Of course I don’t want to use grep or less or anything to work throu those files. I want a tool that understands those messages. Better yet I want a tool that is usable and that let’s me define reusable rules to <em>tag</em> <del>log messages</del> events.</p>
<p>Think of <a class="zem_slink" title="Nagios" href="http://www.nagios.org/" rel="homepage">Nagios</a>:</p>
<p style="padding-left:30px;">You write some plug-in, the plug-in has a log, the plug-in reports to stdout for Nagios messages, the plug-in writes to stderr to tell about errors, there are different levels of verbosity to debug, it has at least 2 different return values</p>
<p>Why on earth is there:</p>
<p style="padding-left:30px;" dir="ltr">A stream of plugin results (usually exit codes), a stream of messages on stdout (meta results?), a stream of log messages (meta2 results?), a stream of messages for stderr (is that logging, monitoring, meta3 results, ignorable?)</p>
<p>On top of that all those kinds of messages are incompatible. <strong>There’s no such thing as structured logging!</strong><br />
Please, please just let me send everything to some remote place where it will be persisted and I have a central view on all my events.</p>
<p>Add as much <a class="zem_slink" title="Metadata" href="http://en.wikipedia.org/wiki/Metadata" rel="wikipedia">meta data</a> as possible.</p>
<p style="padding-left:30px;">source host, receiving host (or hosts if there were several in between), reception times, timestamps &#8212; <strong>and please: do add fractions of a second, host names and ip addresses</strong>, a possibility to extend the amount of meta data</p>
<p>Now when I have a place where I can look at all my events, then and only then I want to make decisions about what I’m interested in. I’m nowhere near deciding on whether this any of this is an alert.</p>
<h2>After the fact tagging</h2>
<p>Nagios, Icinga, <a class="zem_slink" title="Zabbix" href="http://www.zabbix.com/" rel="homepage">Zabbix</a> all force me to make something up. Some test, a probe or whatnot where I have to write some script (Don’t get me wrong: I like scripting &#8212; scripting takes away those repetitive tasks I hate!) and make up arbitrary values that represent a certain level of goodness or badness. OK, CRITICAL, WARNING?</p>
<blockquote><p>WTF? Who said I need three of them?</p></blockquote>
<p>Just let me define some criteria that will match events. Please note that I am not restricting the criteria to regular expressions. Something like “Has the meta data field X”, “Does not have meta data field Y”, “After January 1st 1992 but not before May 3rd 1982”, “Only between 13:00h and and 13:15h when the load was higher than 3 on systems with with only 2 cores” and so on. Those are equally important.</p>
<blockquote><p>Uh, oh! I just defined some <a class="zem_slink" title="Plug-in (computing)" href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29" rel="wikipedia">plug-ins</a>, now I’m back at monitoring! No I’m not!</p></blockquote>
<p>I ran a <a class="zem_slink" title="Cron" href="http://en.wikipedia.org/wiki/Cron" rel="wikipedia">cron job</a> (in the simplest case) that generated an event which told me the load, and another cron job that told me the number of cores in the system. This event was sent to my <a class="zem_slink" title="Sink (computing)" href="http://en.wikipedia.org/wiki/Sink_%28computing%29" rel="wikipedia">event sink</a> for later processing!</p>
<p>I need to be able to save those criteria collections as filters/view or whatever you want to call them and I need to be able to name those things so that I can find them later on. I simply want to label my events.</p>
<p>I need to be able to attach as many labels to events as I see fit. Also I need the ability to find unlabeled events.</p>
<h2>Which brings us to alerts!</h2>
<p>So now that I know what’s interesting and gives me the ability to make educated decisions about what’s actually interesting I can decide on when it’s worth to raise something that will wake me up in the middle of the night.</p>
<p>I do want to be able to generate alerts and send them of to some other system&#8230;</p>
<blockquote><p>Hey look! Another event stream!</p></blockquote>
<p>&#8230;and then I’d rather not want to specify when things go bad. I’d rather would like to specify when things are good. Everything else is just <strong>badness enumeration</strong>.</p>
<p>I’d rather triple the amount of time I invest in such a system than to create yet another monitoring system that doesn’t use what’s already there.</p>
<h2>But today&#8217;s alerts aren’t worth anything tomorrow!</h2>
<p>Any system that silently throws away data is useless (I’m looking at you Munin and friends). I’m not saying <a class="zem_slink" title="RRDtool" href="http://oss.oetiker.ch/rrdtool/" rel="homepage">RRDtool</a> is a bad thing. I love it, the problem is how people use it.</p>
<p>Throw away data? Come on, who wants this? I do want to the finest possible resolution, we have Hadoop, <a class="zem_slink" title="GlusterFS" href="http://www.gluster.org" rel="homepage">GlusterFS</a>, Ceph. Storage is something that shouldn’t be in the way. I’d rather have only 7 days of data than a year of useless junk.</p>
<p>Of course there’s trends over long periods of time but those shouldn’t be the default, those should be something that are added on top of existing data!</p>
<p>How are today’s alerts helpful if I can’t possibly tell what happened yesterday between 15:03h and 15:07h?</p>
<h2>Yes this actually is basic stuff</h2>
<blockquote><p>But it’s just a syslog server and some scripts!</p></blockquote>
<p>Yup you are absolutely right, and that’s the reason why companies like Splunk and <a class="zem_slink" title="Loggly" href="http://www.loggly.com/" rel="homepage">Loggly</a> make money right? Because anyone just has stuff like that. It’s a default, no more to-dos, nothing to see just go along!</p>
<p>Ah so you don’t actually have it? Neither do I. But I’d love to! Please someone skilled create such a system and make it open source!</p>
<blockquote><p>On top of that: make it near real time!</p></blockquote>
<p style="text-align:right;"><em>/serverhorror</em></p>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/cron/'>Cron</a>, <a href='http://blog.serverhorror.com/tag/data-logger/'>Data logger</a>, <a href='http://blog.serverhorror.com/tag/glusterfs/'>GlusterFS</a>, <a href='http://blog.serverhorror.com/tag/java/'>Java</a>, <a href='http://blog.serverhorror.com/tag/loggly/'>Loggly</a>, <a href='http://blog.serverhorror.com/tag/metadata/'>Metadata</a>, <a href='http://blog.serverhorror.com/tag/nagios/'>Nagios</a>, <a href='http://blog.serverhorror.com/tag/zabbix/'>Zabbix</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1310&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2011/12/27/everything-is-a-fucking-event-stream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>Awk min/max/avg</title>
		<link>http://blog.serverhorror.com/2011/09/28/awk-minmaxavg-tag-sysadmin-script-awk/</link>
		<comments>http://blog.serverhorror.com/2011/09/28/awk-minmaxavg-tag-sysadmin-script-awk/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 16:58:13 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AWK]]></category>
		<category><![CDATA[Command-line interface]]></category>

		<guid isPermaLink="false">http://serverhorror.wordpress.com/2011/09/28/awk-minmaxavg-tag-sysadmin-script-awk/</guid>
		<description><![CDATA[Filed under: Uncategorized Tagged: AWK, Command-line interface<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1308&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<p><pre class="brush: plain;">

#!/usr/bin/awk -f
BEGIN
{
 minimum=0;
 maximum=0;
 sum=0;
}

{
 if($3&gt;maximum)
 {
 maximum=$3;
 }
 if($3&lt;minimum)
 {
 minimum=$3;
 }
 sum+=$3;
}

END
{
 print &quot;Average = &quot;,sum/NR;
 print &quot;Max = &quot;,maximum;
 print &quot;Min = &quot;,minimum;
}

</pre></p>
</div>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/awk/'>AWK</a>, <a href='http://blog.serverhorror.com/tag/command-line-interface/'>Command-line interface</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1308&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2011/09/28/awk-minmaxavg-tag-sysadmin-script-awk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>NON-RFC953 Hostname Service</title>
		<link>http://blog.serverhorror.com/2011/09/23/non-rfc953-hostname-service/</link>
		<comments>http://blog.serverhorror.com/2011/09/23/non-rfc953-hostname-service/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 14:20:47 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hostname]]></category>
		<category><![CDATA[Internet Protocol]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://serverhorror.wordpress.com/2011/09/23/non-rfc953-hostname-service/</guid>
		<description><![CDATA[/etc/xinetd.d/hostname Filed under: Uncategorized Tagged: Hostname, Internet Protocol, Protocols, Servers<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1307&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>/etc/xinetd.d/<a class="zem_slink" title="Hostname" href="http://en.wikipedia.org/wiki/Hostname" rel="wikipedia">hostname</a></li>
</ul>
<p><pre class="brush: plain;">
service hostname {
    disable         = no
    type            = UNLISTED
    id              = hostname
    port            = 101
    socket_type     = stream
    protocol        = tcp
    user            = nobody
    wait            = no
    server          = /bin/hostname
    server_args     = -f
}
</pre></p>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/hostname/'>Hostname</a>, <a href='http://blog.serverhorror.com/tag/internet-protocol/'>Internet Protocol</a>, <a href='http://blog.serverhorror.com/tag/protocols/'>Protocols</a>, <a href='http://blog.serverhorror.com/tag/servers/'>Servers</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1307&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2011/09/23/non-rfc953-hostname-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
		<item>
		<title>Monitoring Thoughts</title>
		<link>http://blog.serverhorror.com/2011/06/08/monitoring-thoughts/</link>
		<comments>http://blog.serverhorror.com/2011/06/08/monitoring-thoughts/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 21:18:46 +0000</pubDate>
		<dc:creator>serverhorror</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[NimSoft]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Site Management]]></category>
		<category><![CDATA[Web Design and Development]]></category>

		<guid isPermaLink="false">http://serverhorror.wordpress.com/2011/06/08/monitoring-thoughts/</guid>
		<description><![CDATA[Monitoring Thoughts How would you scale monitoring and how would you ensure that with hundreds of thousands of events per minute you’ll still get the important ones? A lot of stuff is missing here. This is merely a note how I think a scaling architecture for monitoring should look like. Also one should be able [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1304&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<h1>Monitoring Thoughts</h1>
<p>How would you scale monitoring and how would you ensure that with hundreds of thousands of events per minute you’ll still get the important ones?</p>
<p><strong>A lot</strong> of stuff is missing here. This is merely a note how I think a scaling architecture for monitoring should look like. Also one should be able to do math on the events!</p>
<h2>On Agents</h2>
<p><strong>RULE</strong>: <em>events generated by Agents are stateless</em></p>
<ol>
<li>Run a monitoring agent on each node!</li>
<li>Each agent performs a number of <em>tasks</em>These are specifically called tasks since those are not necessarily checks. Also <strong>I associate</strong> checks with <em>nagios checks</em>. It’s not what we want to do!
<p>A task does one thing, and one thing only:</p>
<ul>
<li>do not create tasks that are what <a class="zem_slink" title="Nimsoft" href="http://en.wikipedia.org/wiki/Nimsoft" rel="wikipedia">NimSoft</a> does (CMD – CPU/Memory/Disk)</li>
</ul>
</li>
<li>Each tasks generates an event
<ul>
<li>Everything is an event!</li>
<li>A successful task just a taks that ran without (programmatical errors)</li>
<li>A failed task is something where a programmatical error occured!</li>
</ul>
</li>
<li>Create a <a class="zem_slink" title="JSON" href="http://en.wikipedia.org/wiki/JSON" rel="wikipedia">JSON</a> String from the event</li>
<li>Submit the JSON string to some messaging middleware (preferrably <a class="zem_slink" title="RabbitMQ" href="http://en.wikipedia.org/wiki/RabbitMQ" rel="wikipedia">RabbitMQ</a>)</li>
</ol>
<h2>On Middleware</h2>
<ol>
<li><a class="zem_slink" title="Message" href="http://en.wikipedia.org/wiki/Message" rel="wikipedia">Messages</a>must be persistent
<ul>
<li>It is safe to restart the <a class="zem_slink" title="Server (computing)" href="http://en.wikipedia.org/wiki/Server_%28computing%29" rel="wikipedia">server</a>!</li>
</ul>
</li>
<li>What are just messages to the middleware are the guts of the system.Those are the events generated by agents</li>
</ol>
<h2>On Servers</h2>
<p>There are 2 kinds of servers:</p>
<ul>
<li><a class="zem_slink" title="Persistence (computer science)" href="http://en.wikipedia.org/wiki/Persistence_%28computer_science%29" rel="wikipedia">Persistence</a>ServersThese run somewhere in a rack. They will grab one event after another from a queue and store them in a safe place for later reference.
<p>Once a <em>Persistence <a class="zem_slink" title="File server" href="http://en.wikipedia.org/wiki/File_server" rel="wikipedia">Server</a></em> grabbed an event from the queue it is no longer visible to other servers. Each event will reside on and exatly on <em>Persistence Server</em>.</li>
<li><a class="zem_slink" title="Notification system" href="http://en.wikipedia.org/wiki/Notification_system" rel="wikipedia">Notification</a>ServersThese run either on physical serves in a rack and just grab one notification at a time from the messaging middleware.
<ul>
<li>All notification server <em>can</em> retrieve all events.</li>
<li>Notification Servers can subscribe to a certain subset of topics.</li>
</ul>
</li>
<li>There may be a lot of servers. We don’t want our monitoring failing</li>
</ul>
<h2>On Persistence Servers</h2>
<ol>
<li>Subscribe to the global queue</li>
<li>Start grabbing events</li>
<li>Store the event on diskWhat exactly storing means is yet to be determined!</li>
<li>Start over again</li>
</ol>
<h2>On Notification Servers</h2>
<ol>
<li>Subscribe to the notification queue or a topic queue</li>
<li>Start grabbing events</li>
<li>Display the eventWhat exactly displaying means is yet to be determined!</li>
<li>Start over again&nbsp;</li>
</ol>
</div>
<br />Filed under: <a href='http://blog.serverhorror.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://blog.serverhorror.com/tag/hardware/'>Hardware</a>, <a href='http://blog.serverhorror.com/tag/json/'>JSON</a>, <a href='http://blog.serverhorror.com/tag/linux/'>linux</a>, <a href='http://blog.serverhorror.com/tag/monitoring/'>Monitoring</a>, <a href='http://blog.serverhorror.com/tag/nimsoft/'>NimSoft</a>, <a href='http://blog.serverhorror.com/tag/server/'>Server</a>, <a href='http://blog.serverhorror.com/tag/site-management/'>Site Management</a>, <a href='http://blog.serverhorror.com/tag/web-design-and-development/'>Web Design and Development</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/serverhorror.wordpress.com/1304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/serverhorror.wordpress.com/1304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/serverhorror.wordpress.com/1304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/serverhorror.wordpress.com/1304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/serverhorror.wordpress.com/1304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/serverhorror.wordpress.com/1304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/serverhorror.wordpress.com/1304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/serverhorror.wordpress.com/1304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.serverhorror.com&amp;blog=7992909&amp;post=1304&amp;subd=serverhorror&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.serverhorror.com/2011/06/08/monitoring-thoughts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58f3dd702b0b3beb1274a25326ab2069?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">serverhorror</media:title>
		</media:content>
	</item>
	</channel>
</rss>
