<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: First stats with Tokyo Cabinet</title>
	<atom:link href="http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/</link>
	<description>How to read more in less time</description>
	<lastBuildDate>Thu, 09 Sep 2010 13:51:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bruce</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-3017</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 19 May 2010 16:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-3017</guid>
		<description>uhmmm interesting</description>
		<content:encoded><![CDATA[<p>uhmmm interesting</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel Guzhikov</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-2481</link>
		<dc:creator>Pavel Guzhikov</dc:creator>
		<pubDate>Tue, 29 Sep 2009 13:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-2481</guid>
		<description>Hi there.

I&#039;m doing a little research for my big project and looking for some good key-value db with success stories.

Yeap, I know TC is really good. But what python bindings are you talking about? It&#039;s really important for me, so I&#039;m here and waiting for your answer :]

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi there.</p>
<p>I&#8217;m doing a little research for my big project and looking for some good key-value db with success stories.</p>
<p>Yeap, I know TC is really good. But what python bindings are you talking about? It&#8217;s really important for me, so I&#8217;m here and waiting for your answer :]</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abarrera</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-1201</link>
		<dc:creator>abarrera</dc:creator>
		<pubDate>Sun, 28 Jun 2009 16:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-1201</guid>
		<description>@Jorge, problem with BDB is that&#039;s it&#039;s slow compared to Tokyo Cabinet. I really don&#039;t need special extra functionality. I do few weird operations from a database point of view. Although TC also supports more abstract operations, alas BDB :)

Check out the numbers: http://tokyocabinet.sourceforge.net/benchmark.pdf

TC also has transactions, replication, logging, btree, hash, in-memory storage ;)

I already use in-memory storage with memcache, which btw, is also supported by Tokyo Tyrant (access to the data through the memcache protocol).

Thanks for the tips though!</description>
		<content:encoded><![CDATA[<p>@Jorge, problem with BDB is that&#8217;s it&#8217;s slow compared to Tokyo Cabinet. I really don&#8217;t need special extra functionality. I do few weird operations from a database point of view. Although TC also supports more abstract operations, alas BDB <img src='http://blog.inkzee.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Check out the numbers: <a href="http://tokyocabinet.sourceforge.net/benchmark.pdf" rel="nofollow">http://tokyocabinet.sourceforge.net/benchmark.pdf</a></p>
<p>TC also has transactions, replication, logging, btree, hash, in-memory storage <img src='http://blog.inkzee.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I already use in-memory storage with memcache, which btw, is also supported by Tokyo Tyrant (access to the data through the memcache protocol).</p>
<p>Thanks for the tips though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-1136</link>
		<dc:creator>Jorge</dc:creator>
		<pubDate>Fri, 26 Jun 2009 12:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-1136</guid>
		<description>Alex,

Glad that you integrated a container database system. Makes lots of sense for anything that is not database relational. Stats numbers are ok, I would recommend you BerkeleyDB better becaouse is more than a dbm giving you extra functionality, more power, etc...

I developed a server implementation, an open source project:
http://code.google.com/p/dbmd/

to make Bekeley distributed and not having to locally open database files and work on remote servers with bulk methods, etc...

With BerkeleyDB you can have environments, transactions if you wise, replication, duplicate keys, BTREE, HASH, memory cache, etc...

For example, you could have most popular feeds in an environment with some memory assigned (like 128MB), having a factor of 10 related to disk access, and the rest of feeds in a low memory environment. This would give you memory access for most popular feeds, disk speed access for less popular.</description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>Glad that you integrated a container database system. Makes lots of sense for anything that is not database relational. Stats numbers are ok, I would recommend you BerkeleyDB better becaouse is more than a dbm giving you extra functionality, more power, etc&#8230;</p>
<p>I developed a server implementation, an open source project:<br />
<a href="http://code.google.com/p/dbmd/" rel="nofollow">http://code.google.com/p/dbmd/</a></p>
<p>to make Bekeley distributed and not having to locally open database files and work on remote servers with bulk methods, etc&#8230;</p>
<p>With BerkeleyDB you can have environments, transactions if you wise, replication, duplicate keys, BTREE, HASH, memory cache, etc&#8230;</p>
<p>For example, you could have most popular feeds in an environment with some memory assigned (like 128MB), having a factor of 10 related to disk access, and the rest of feeds in a low memory environment. This would give you memory access for most popular feeds, disk speed access for less popular.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abarrera</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-1109</link>
		<dc:creator>abarrera</dc:creator>
		<pubDate>Thu, 25 Jun 2009 14:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-1109</guid>
		<description>Basically, what you work with is a hash table, so you store pairs ok key -&gt; value, for example, idLog -&gt; processPID. They key here is to duplicate content. In a relational DB you normally try to minimize the duplicated content, here it&#039;s the opposite. You trade read/write access speeds for cpu and space.

So for example, instead of joining 2 tables, you duplicate (a process called denormalization) the data under both keys:

idLog:bla -&gt; [field1, field2]
idLog:bla2 -&gt; [field1, field3, field4]

You then do all sortings, filtering, etc on the business logic side of the app, instead of the database.

Hope it helps a little ;)</description>
		<content:encoded><![CDATA[<p>Basically, what you work with is a hash table, so you store pairs ok key -> value, for example, idLog -> processPID. They key here is to duplicate content. In a relational DB you normally try to minimize the duplicated content, here it&#8217;s the opposite. You trade read/write access speeds for cpu and space.</p>
<p>So for example, instead of joining 2 tables, you duplicate (a process called denormalization) the data under both keys:</p>
<p>idLog:bla -> [field1, field2]<br />
idLog:bla2 -> [field1, field3, field4]</p>
<p>You then do all sortings, filtering, etc on the business logic side of the app, instead of the database.</p>
<p>Hope it helps a little <img src='http://blog.inkzee.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ceporrock</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-1106</link>
		<dc:creator>Ceporrock</dc:creator>
		<pubDate>Thu, 25 Jun 2009 14:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-1106</guid>
		<description>Ok, I&#039;m not really used to this advanced technology, I&#039;m just the coffee-carrier-man at my office, but, can you explain it a little bit more? I mean, what is a tuple for, and how are relationships made in that schema-less designs :o Examples, please!</description>
		<content:encoded><![CDATA[<p>Ok, I&#8217;m not really used to this advanced technology, I&#8217;m just the coffee-carrier-man at my office, but, can you explain it a little bit more? I mean, what is a tuple for, and how are relationships made in that schema-less designs <img src='http://blog.inkzee.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' />  Examples, please!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abarrera</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-1101</link>
		<dc:creator>abarrera</dc:creator>
		<pubDate>Thu, 25 Jun 2009 10:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-1101</guid>
		<description>Thinking about using it at work? :P</description>
		<content:encoded><![CDATA[<p>Thinking about using it at work? <img src='http://blog.inkzee.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://blog.inkzee.com/index.php/2009/06/25/first-stats-with-tokyo-cabinet/comment-page-1/#comment-1100</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Thu, 25 Jun 2009 10:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.inkzee.com/?p=62#comment-1100</guid>
		<description>uhmmm interesting</description>
		<content:encoded><![CDATA[<p>uhmmm interesting</p>
]]></content:encoded>
	</item>
</channel>
</rss>
