<?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/"
	>

<channel>
	<title>Jorge Alegre Blog</title>
	<atom:link href="http://www.jorgealegre.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jorgealegre.com</link>
	<description>Internet Startups, Technology, My Music and Me</description>
	<lastBuildDate>Wed, 10 Mar 2010 11:11:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Upgrading My Blackberry 8700</title>
		<link>http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/</link>
		<comments>http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 11:10:54 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Smartphones]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[ipod]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=292</guid>
		<description><![CDATA[
I used the points accumulated into my Vodafone account and got a new Blackberry with 0€, which is nice. I was using a blackberry 8700 for a long time, so will be nice having camera and wifi on it.
I have an iPod Touch which I use a lot, so guess browsing will still use the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F03%2Fupgrading-my-blackberry-8700%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F03%2Fupgrading-my-blackberry-8700%2F" height="61" width="51" /></a></div><p><img class="alignnone" title="Blackberry 8520" src="http://es.blackberry.com/devices/blackberrycurve8500/device_dimensions.jpg" alt="" width="188" height="254" /></p>
<p>I used the points accumulated into my Vodafone account and got a new Blackberry with 0€, which is nice. I was using a blackberry 8700 for a long time, so will be nice having camera and wifi on it.</p>
<p>I have an iPod Touch which I use a lot, so guess browsing will still use the iPod, but now I will have camera to upload pics to facebook, etc&#8230; as well as video. The device is GPRS/EDGE Quad band which is nice for travelling.</p>
<p>Can sync with my Exchange server and have same things on my iPod and Blackberry, email, contacts, etc&#8230; while on Wifi. I do not expect to have a BES as I used to have with my blackberry due to cost and I can get along downloading stuff while on Wifi.</p>
<p>A nice thing is to have the newer blackberry OS and play around with blackberry apps. Besides, having keyboard is nice for writing my long notes as I used to do and sync them.</p>
<p><strong>Why don&#8217;t get an iPhone?</strong></p>
<p>Well, first is cost, I would go back to a costly solution like I had with the BES. Second, will not move to Movistar no matter what. And thrird, is nice having two devices, one long battery one and the other fun and short battery. Sometimes happens to me that iPod is out of battery, but still my BB still can use it in Metro for example to have maps, play, etc&#8230;</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Upgrading+My+Blackberry+8700+http://www.jorgealegre.com/?p=292" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Upgrading+My+Blackberry+8700+http://www.jorgealegre.com/?p=292" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Upgrading+My+Blackberry+8700+http://www.jorgealegre.com/?p=292" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Upgrading+My+Blackberry+8700+http://www.jorgealegre.com/?p=292" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/&amp;title=Upgrading+My+Blackberry+8700" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/&amp;title=Upgrading+My+Blackberry+8700" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Upgrading+My+Blackberry+8700&amp;link=http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Upgrading+My+Blackberry+8700&amp;link=http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2010/03/upgrading-my-blackberry-8700/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design of BerkeleyDB Client/Sever OctopusDbm</title>
		<link>http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/</link>
		<comments>http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 00:09:16 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[berkeletdb]]></category>
		<category><![CDATA[octopus]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=272</guid>
		<description><![CDATA[Last weekend I worked on the design of the new modules for OctopusDbm and looks like nice features are coming in soon. The first release was built, 0.6 and soon I will start documenting the current modules and design.
Community
Any open source project needs a community or group of people that like the technology and contribute [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Fdesign-of-berkeleydb-clientsever-octopusdbm%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Fdesign-of-berkeleydb-clientsever-octopusdbm%2F" height="61" width="51" /></a></div><p>Last weekend I worked on the design of the new modules for OctopusDbm and looks like nice features are coming in soon. The first release was built, 0.6 and soon I will start documenting the current modules and design.</p>
<p><strong>Community</strong></p>
<p>Any open source project needs a community or group of people that like the technology and contribute with ideas, code, testing, analysis, etc&#8230; It will be a nice experience for me to learn how to do this. So the following weeks I will start promoting the project and trying to attract lovers for this project. Spread the word if you read this, this tech can be pretty cool.</p>
<p><strong>Dbm</strong></p>
<p>The client/server implementation works in such a way that the code change for applications already running BerkeleyDB software local is minimal. Almost all API methods are implemented in remote server.</p>
<p>Curently you may have:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p272code4'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2724"><td class="code" id="p272code4"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">from</span> bsddb3 <span style="color: #ff7700;font-weight:bold;">import</span> db
Dbm = db.<span style="color: black;">DB</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
Dbm.<span style="color: #008000;">open</span><span style="color: black;">&#40;</span>sPath, db.<span style="color: black;">DB_BTREE</span>, db.<span style="color: black;">DB_CREATE</span><span style="color: black;">&#41;</span>
Dbm.<span style="color: black;">put</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Name'</span>, <span style="color: #483d8b;">'Jorge'</span><span style="color: black;">&#41;</span>
Dbm.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>And with OctopusDbm:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p272code5'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2725"><td class="code" id="p272code5"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">from</span> octopusdbm <span style="color: #ff7700;font-weight:bold;">import</span> Dbm
<span style="color: #dc143c;">dbm</span> = Dbm<span style="color: black;">&#40;</span>hostName, <span style="color: #dc143c;">user</span>, password<span style="color: black;">&#41;</span>
<span style="color: #dc143c;">dbm</span>.<span style="color: #008000;">open</span><span style="color: black;">&#40;</span>sPath, db.<span style="color: black;">DB_BTREE</span>, db.<span style="color: black;">DB_CREATE</span><span style="color: black;">&#41;</span>
<span style="color: #dc143c;">dbm</span>.<span style="color: black;">put</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Name'</span>, <span style="color: #483d8b;">'Jorge'</span><span style="color: black;">&#41;</span>
<span style="color: #dc143c;">dbm</span>.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>So you basicly can open, put, create cursor, get, get table information, etc&#8230; same as you do in local. Keep in mind that for every database methods there is a call to the server. So server connections for open, put and close. If you need better performance we have direct operations where open and close are integrated, like getDirect(), getLIstDirect(), as well as bulk operations like getList() and putList() with tables opened.</p>
<p><span id="more-272"></span><strong>No Db Sessions</strong></p>
<p>One of the design points of OctopusDbm is that you don&#8217;t need to open connections to database or create sessions before processing operations in database. The idea is that getting and putting data is as simple as getting an HTML page, so simply a request is performed and you get result. This way is easier to connect to 10 or 20 cloud images without pool of connection, etc&#8230; Imagine having a pool of 3 connections to 100 cloud images, that would be 300 database connection to manage for every node needing database connectivity to the cloud.</p>
<p>This is of course open to discussion, so place your ideas, etc&#8230;</p>
<p><strong>DbmCloud</strong></p>
<p>We introduce this object for access to the cloud. The distribution has been designed so far to e horizontal. That is, table 1 goes to cloud image 1, table 2 to cloud image2, &#8230;., table 11 to cloud image 1 when having a cloud with 10 images or virtual machines. This object also manages partitions in horizontal way and while you have an integer primary key or index. So tables being in the cloud must have integers if you want to partition them. If they have string indexes they will not be partitioned so far. I think this is ok for first versions. You can allways pass this DbmCloud, implement your own, participate in the project with your own dessign of cloud distributions and partitions, etc&#8230;</p>
<p>It has been decided so far to have an XML file with all schemas, tables, defining number of partitions, number of cloud images organized by domain and application name. For very big systems, they could have different domains and application inside each one with a cloud design. Small apps would have 1 domain and 1 app.</p>
<p>One cool aspect of DbmCloud is that any database object, that is, data table, index file, foreign key will be distributed and queries running on them executed in different cloud images therefore boosting performance, even more when smart partitioning in place.</p>
<p><strong>Models</strong></p>
<p>In order for OctopusDbm be an alternative to SQL databases like MySQL we need a model design that will:</p>
<ul>
<li>Allow us to have tabulated data in columns</li>
<li>Design to make it easy to implement persistent subsystems like Hibernate, JPA, etc&#8230;</li>
</ul>
<p>We thought to do this inside Python similar to Django models, where you define class attributes with classes relative to types and using dictionary class attributes:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p272code6'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2726"><td class="code" id="p272code6"><pre class="python" style="font-family:monospace;">oClient = Client<span style="color: black;">&#40;</span>Name=<span style="color: #483d8b;">'Jorge'</span>, Place=<span style="color: #483d8b;">'Madrid'</span><span style="color: black;">&#41;</span>
oClient.<span style="color: black;">save</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
oClient = Client.<span style="color: black;">get</span><span style="color: black;">&#40;</span>Name=<span style="color: #483d8b;">'Jorge'</span><span style="color: black;">&#41;</span>
oClient.<span style="color: black;">Place</span> = <span style="color: #483d8b;">'Madrid'</span>
oClient.<span style="color: black;">save</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>First one creates an object in database system and writes to database in a lazy mode. Second one updates the client object in database. I think the models would support cloud distribution and partitions. You define in the class the attribute types, index names, physical names, etc,&#8230;.</p>
<p>The primary key in tables can be an id or other value. There will be a type IdGenerator that will generate auto ids for rows, but you could define you own primary key values. When support for cloud and partitions we need an integer primary key for partitions.</p>
<p>First versions will probably lack foreign keys, but later on we can implement foreign keys with model integrity. I thought of Links between tables besides ForeignKey types to execute soft links for example to get literal of an id in a parametric table.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm+http://www.jorgealegre.com/?p=272" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm+http://www.jorgealegre.com/?p=272" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm+http://www.jorgealegre.com/?p=272" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm+http://www.jorgealegre.com/?p=272" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/&amp;title=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/&amp;title=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm&amp;link=http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Design+of+BerkeleyDB+Client%2FSever+OctopusDbm&amp;link=http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2010/02/design-of-berkeleydb-clientsever-octopusdbm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking Notes Software</title>
		<link>http://www.jorgealegre.com/2010/02/taking-notes-software/</link>
		<comments>http://www.jorgealegre.com/2010/02/taking-notes-software/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 11:30:13 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=266</guid>
		<description><![CDATA[Nice article about taking notes software here:
If You Didn&#8217;t Write It Down, It Didn&#8217;t Happen &#8212; Take  Notes
I used OneNote from Microsoft and was nice the visual aspect of the tool, but stopped using it, I guess becaouse I started to take notes on my blackberry, sync with Exchange, etc&#8230;
My opinion is that the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Ftaking-notes-software%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Ftaking-notes-software%2F" height="61" width="51" /></a></div><p>Nice article about taking notes software here:</p>
<h3><a title="Site: Hacker News" href="http://designbygravity.wordpress.com/2010/02/22/methods-of-work-it-didnt-happen-if-you-didnt-record-it/" target="_blank">If You Didn&#8217;t Write It Down, It Didn&#8217;t Happen &#8212; Take  Notes</a></h3>
<p>I used OneNote from Microsoft and was nice the visual aspect of the tool, but stopped using it, I guess becaouse I started to take notes on my blackberry, sync with Exchange, etc&#8230;</p>
<p>My opinion is that the networking of these tools is very important. I signed up for Evernote but never catched me up enough to feel great about the tool.</p>
<p>I would add Twitter as note taking, many people use Twitter to do that, write down things so he and others can take a look at it later on. And could ot be simpler note taker than Twitter, right?</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Taking+Notes+Software+http://www.jorgealegre.com/?p=266" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Taking+Notes+Software+http://www.jorgealegre.com/?p=266" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Taking+Notes+Software+http://www.jorgealegre.com/?p=266" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Taking+Notes+Software+http://www.jorgealegre.com/?p=266" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/taking-notes-software/&amp;title=Taking+Notes+Software" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/taking-notes-software/&amp;title=Taking+Notes+Software" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Taking+Notes+Software&amp;link=http://www.jorgealegre.com/2010/02/taking-notes-software/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Taking+Notes+Software&amp;link=http://www.jorgealegre.com/2010/02/taking-notes-software/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2010/02/taking-notes-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Faster Than Java, At Least For BerkeleyDB</title>
		<link>http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/</link>
		<comments>http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 09:05:14 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[berkeleydb]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=263</guid>
		<description><![CDATA[I tested new Oracle Java edition for Berkeley DB and for my tests the word that best describes the product is FAIL. The conslussion more or less is that Oracle screwed Berkeley software. They have no HASH, only BTREES, many functionality of BerkeleyDB has been removed, etc&#8230; They say is BerkeleyDB with Java flavour, they [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Fpython-faster-than-java-at-least-for-berkeleydb%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Fpython-faster-than-java-at-least-for-berkeleydb%2F" height="61" width="51" /></a></div><p>I tested new Oracle Java edition for Berkeley DB and for my tests the word that best describes the product is FAIL. The conslussion more or less is that Oracle screwed Berkeley software. They have no HASH, only BTREES, many functionality of BerkeleyDB has been removed, etc&#8230; They say is BerkeleyDB with Java flavour, they have a weird sense of java humor then.</p>
<p>I was expecting factor of 5X as many blogs suggested that on real applications we have this improvement. And since BeerkeleyDB for me has a lot of memory use and processing as well I was expecting at least 2X factor. I got a 2X factor but on the contrary.</p>
<p><strong>Results</strong></p>
<p>I did test for creating a table of 1 million rows with 128MB memory Cache.</p>
<table>
<tbody>
<tr>
<td>Language</td>
<td>Time</td>
</tr>
<tr>
<td><strong>Python</strong></td>
<td>12 sec</td>
</tr>
<tr>
<td><strong>Java</strong></td>
<td>28 sec</td>
</tr>
</tbody>
</table>
<p><span id="more-263"></span></p>
<p>So the refactoring of OctopusDbm, if any, will go through C++ inside Linux. I downloaded the Linux Tools for Eclipse and will start playing with those when I have some time.</p>
<p>It seems that Python with C modules work great.</p>
<p>[Update Feb 22 2010]</p>
<p>The tests were performed 5 times and get the average, plus:</p>
<ul>
<li>BerkeleyDB.4.7</li>
<li>bsddb3-4.7.2 (Python API)</li>
<li>Linux SuSE 10.1 Pentium 4 Hyperthreads</li>
<li>Kernel 2.6.16</li>
<li>Sun Java 5</li>
</ul>
<p>And here is the code used:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p263code8'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2638"><td class="code" id="p263code8"><pre class="java" style="font-family:monospace;"><span style="color: #008000; font-style: italic; font-weight: bold;">/**
 * Testing for BerkeleyDB
 */</span>
<span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">test</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.File</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.Date</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">com.sleepycat.je.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #008000; font-style: italic; font-weight: bold;">/**
 * @author Jorge Alegre
 *
 */</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> BerkeleyDB <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000000; font-weight: bold;">static</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> HOME <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/index/test/&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">long</span> CACHE_SIZE <span style="color: #339933;">=</span> <span style="color: #cc66cc;">128000000</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000000; font-weight: bold;">static</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Ainteger+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Integer</span></a> MAX <span style="color: #339933;">=</span> <span style="color: #cc66cc;">50000</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * @param args
	 */</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// TODO Auto-generated method stub</span>
&nbsp;
		EnvironmentConfig envConfig <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> EnvironmentConfig<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		envConfig.<span style="color: #006633;">setAllowCreate</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		envConfig.<span style="color: #006633;">setCacheSize</span><span style="color: #009900;">&#40;</span>CACHE_SIZE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aenvironment+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Environment</span></a> env <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aenvironment+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Environment</span></a><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Afile+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">File</span></a><span style="color: #009900;">&#40;</span>HOME<span style="color: #009900;">&#41;</span>, envConfig<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Data: &quot;</span> <span style="color: #339933;">+</span> envConfig.<span style="color: #006633;">getCachePercent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; &quot;</span> <span style="color: #339933;">+</span> envConfig.<span style="color: #006633;">getCacheSize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		DatabaseConfig dbConfig <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DatabaseConfig<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		dbConfig.<span style="color: #006633;">setAllowCreate</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">long</span> t_1 <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adate+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Date</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>t_1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		Database db <span style="color: #339933;">=</span> env.<span style="color: #006633;">openDatabase</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">null</span>, <span style="color: #0000ff;">&quot;testing&quot;</span>, dbConfig<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		DatabaseEntry key <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DatabaseEntry<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		DatabaseEntry data <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DatabaseEntry<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> sData <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;</span><span style="color: #339933;">;</span>
		data.<span style="color: #006633;">setData</span><span style="color: #009900;">&#40;</span>sData.<span style="color: #006633;">getBytes</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Ainteger+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Integer</span></a> i<span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Ainteger+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Integer</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> i</pre></td></tr></table></div>

<p align="left"><a class="tt" href="http://twitter.com/home/?status=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB+http://www.jorgealegre.com/?p=263" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB+http://www.jorgealegre.com/?p=263" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB+http://www.jorgealegre.com/?p=263" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB+http://www.jorgealegre.com/?p=263" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/&amp;title=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/&amp;title=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB&amp;link=http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Python+Faster+Than+Java%2C+At+Least+For+BerkeleyDB&amp;link=http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2010/02/python-faster-than-java-at-least-for-berkeleydb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>First Impressions on Spring Source Tool Suite</title>
		<link>http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/</link>
		<comments>http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 11:12:28 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[berkeleydb]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=252</guid>
		<description><![CDATA[
Last night I run the Spring IDE for Java. Apart from the fact that Eclipse in my laptops is slow due to low memory, the Spring IDE seems to be heavier than Eclipse. I am used to work with python and Eclipse using pydev, and start-up times are poor, but Spring seems even worse, so [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Ffirst-impressions-on-spring-source-tool-suite%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Ffirst-impressions-on-spring-source-tool-suite%2F" height="61" width="51" /></a></div><p><a href="http://www.springsource.org/"><img class="alignnone" title="Spring Source" src="http://www.springsource.org/sites/all/themes/zen/framework/logo.png" alt="" width="187" height="57" /></a></p>
<p>Last night I run the Spring IDE for Java. Apart from the fact that Eclipse in my laptops is slow due to low memory, the Spring IDE seems to be heavier than Eclipse. I am used to work with python and Eclipse using pydev, and start-up times are poor, but Spring seems even worse, so like 10 minutes waiting for things to load, etc&#8230;</p>
<p>The welcome page looks great, with information from Spring web site, feeds, and download center with cool software like SVN repository, sync of development task with MS Outlook, Trac integration, Grails, Groove, etc&#8230; When trying to install those applications got an error, so man, bad luck to me.</p>
<p>Then created a Java project Buscaplus and tested BerkeleyDB. The experience of IDE is pretty nice, getting nice suggestions with the autocomplete.</p>
<p><span id="more-252"></span>I still can&#8217;t seem to work out the Subversion repository from Google code, will try this weekend. the default repository is CVS, and since the easy-to-install functionality did not work, will have to go the long way.</p>
<p>I run tests for BerkeleyDB and I was not impressed by performance. Aprt from this, Oracle has changed the implementation for Java from the original from Berkeley, so you only have BTREEs, can&#8217;t create tables without environments, etc&#8230; This was a total blowout, I can&#8217;t use it for OctopusDbm, I prefer an original implementation of BerkeleyDB and Tokyo instead of a Java flavour. As part of this, Java implementation does not physically writes data in the xxxx.db file you determine, but creates partitions of about 10MB each. I don&#8217;t like this, prefer the original way. If I choose to have a file 500MB with a cache of 128MB then the software should do what I need. So a C++ will have to be worked out for OctopusDbm.</p>
<p>Going back to Spring, I missed an integrated application server coming with the install of the suite. I thought that would come with the installation, so will have to install tmServer based on Tomcat someway.</p>
<p>As a conclusion, Spring IDE is ok, but had problems with me. Many things are integrated like Aspect projects and Spring views and perpectives are cool, but gee, some things did not work and I don&#8217;t like that.</p>
<p>[Update Feb 22]</p>
<p>I installed again Spring and everything went perfect. For some reason first install had problems with Equinox. I now see installed the dmServer (Development) and tcServer (Tomcat) as well as the download center works ok.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=First+Impressions+on+Spring+Source+Tool+Suite+http://www.jorgealegre.com/?p=252" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=First+Impressions+on+Spring+Source+Tool+Suite+http://www.jorgealegre.com/?p=252" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=First+Impressions+on+Spring+Source+Tool+Suite+http://www.jorgealegre.com/?p=252" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=First+Impressions+on+Spring+Source+Tool+Suite+http://www.jorgealegre.com/?p=252" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/&amp;title=First+Impressions+on+Spring+Source+Tool+Suite" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/&amp;title=First+Impressions+on+Spring+Source+Tool+Suite" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=First+Impressions+on+Spring+Source+Tool+Suite&amp;link=http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=First+Impressions+on+Spring+Source+Tool+Suite&amp;link=http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2010/02/first-impressions-on-spring-source-tool-suite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Java Merging Into LAMP: Spring</title>
		<link>http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/</link>
		<comments>http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 15:24:27 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=178</guid>
		<description><![CDATA[Last night I installed Spring Tool Suite, the Spring IDE and started to digg into their world.
It seems Java is moving in right direction, making software easier to maintain and speeding up development. This is particulary important for startups, time to prototype and time to beta is crucial many times.
Spring alone simplifies things a lot. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Fjava-merging-into-lamp-spring%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2010%2F02%2Fjava-merging-into-lamp-spring%2F" height="61" width="51" /></a></div><p>Last night I installed Spring Tool Suite, the Spring IDE and started to digg into their world.</p>
<p>It seems Java is moving in right direction, making software easier to maintain and speeding up development. This is particulary important for startups, time to prototype and time to beta is crucial many times.</p>
<p>Spring alone simplifies things a lot. But when you add Grails (Like Ruby on Rails for Java) and Groove (New simple syntax), suddenly you are in middle of something weird, Java but not Java. No wonder why this stuff has been sky-rocketing.</p>
<p>You like POJO&#8217;s? I found that the proyect I work for eliminated them and instead want the old EJB syntax. I think Corps have been used to complex things out, when you simplify things some of them don&#8217;t like it.</p>
<p>But anyway, sometimes innovations like RubyOnRails and Django don&#8217;t have enough traction to move the market but competition starts to copy those innovation into a market mover like Java.</p>
<p>And Java is redifining itself, which I think is good for startups. If your startup suddenly needs 20 people in 6 months, good luck finding Python or Ruby people in the market. But if those developers are Java, lot&#8217;s of them in the market. Another reason why this is important.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Java+Merging+Into+LAMP%3A+Spring+http://www.jorgealegre.com/?p=178" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Java+Merging+Into+LAMP%3A+Spring+http://www.jorgealegre.com/?p=178" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Java+Merging+Into+LAMP%3A+Spring+http://www.jorgealegre.com/?p=178" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Java+Merging+Into+LAMP%3A+Spring+http://www.jorgealegre.com/?p=178" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/&amp;title=Java+Merging+Into+LAMP%3A+Spring" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/&amp;title=Java+Merging+Into+LAMP%3A+Spring" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Java+Merging+Into+LAMP%3A+Spring&amp;link=http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Java+Merging+Into+LAMP%3A+Spring&amp;link=http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2010/02/java-merging-into-lamp-spring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Amazon EC2 As Infrastructure For An Internet Search Engine</title>
		<link>http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/</link>
		<comments>http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 21:38:26 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=111</guid>
		<description><![CDATA[
Today I was doing testing on different Amazon EC2 images with bulk writing activities usually performed in my startup Buscaplus, an Internet search engine framework. Currently I have a set of 4 servers with SATA disks and I am planning to move to Amazon.
We use Berkeley DB as index database engine. It is pretty fast, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2009%2F06%2Fusing-amazon-ec2-as-infrastructure-for-an-internet-search-engine%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2009%2F06%2Fusing-amazon-ec2-as-infrastructure-for-an-internet-search-engine%2F" height="61" width="51" /></a></div><p><img class="alignnone size-full wp-image-112" title="logo_aws" src="http://www.jorgealegre.com/wp-content/uploads/2009/06/logo_aws.gif" alt="logo_aws" width="164" height="60" /></p>
<p>Today I was doing testing on different Amazon EC2 images with bulk writing activities usually performed in my startup Buscaplus, an Internet search engine framework. Currently I have a set of 4 servers with SATA disks and I am planning to move to Amazon.</p>
<p>We use Berkeley DB as index database engine. It is pretty fast, specially  if you define correctly the memory cache, etc&#8230; In Buscaplus we need to write huge amounts of data to disk and bottlenecks are often found due to the high database requirements for a search engine. So this is crucial if we ever move to amazon, speed of writing stuff to disk. A deployment and cloud design for many instances has not been accomplished but with today´s tests seems clear that Amazon EC2 is an option for Buscaplus.</p>
<p><strong>Tests</strong></p>
<p>Berkeley DB writes data in key-&gt; value sets. You can select BTREE as well as other engines. We use BTREE and a cache spool of 128MB for all tests. Also, we write 100 Bytes for each row of data. The keys are simply a counter with zeros on right, like &#8216;0000000345&#8242;.</p>
<table class="wiki" border="0">
<tbody>
<tr>
<td>Sample</td>
<td>index-1</td>
<td>ec2 small</td>
<td>ec2 large</td>
<td>ec2 ultra large</td>
<td>ec2 medium</td>
<td>ec2 high extra large</td>
</tr>
<tr>
<td>1.000.000</td>
<td>13.35</td>
<td>18.60</td>
<td>9.50</td>
<td>9.50</td>
<td>9.00</td>
<td>7.99</td>
</tr>
<tr>
<td>3.000.000</td>
<td>39.81</td>
<td>44.62</td>
<td>27.47</td>
<td>26.19</td>
<td>26.14</td>
<td>25.90</td>
</tr>
<tr>
<td>20.000.000</td>
<td>&#8211;</td>
<td>&#8211;</td>
<td>&#8211;</td>
<td>&#8211;</td>
<td>&#8211;</td>
<td>Unstable</td>
</tr>
</tbody>
</table>
<p>index-1 shows one of the current servers. I would conclude that the &#8220;medium&#8221; instance is a great option. At only $0.20 / hour has great performance, better than current infrastructure.</p>
<p>I also found that when dealing with a lot of data, small instance of course are a &#8220;no-no&#8221;, but also higher instances with local disks. I noticed that when dealing with high I/O even big instances may do bad if load at that time is high. I found that this is not the case when having EBS. With high I/O and EBS I got great results all the time. So I would go for sure with EBS.</p>
<p>The 20 million rows tests were unstable even with a $0.80 High CPU Extra Large instance. This ended up in a DB table of more than 3GB.<span id="more-111"></span></p>
<p><strong>EBS</strong></p>
<table class="wiki" border="0">
<tbody>
<tr>
<td>Sample</td>
<td>Time</td>
</tr>
<tr>
<td>1.000.000</td>
<td>8.86</td>
</tr>
<tr>
<td>3.000.000</td>
<td>24.49</td>
</tr>
<tr>
<td>5.000.000</td>
<td>41.57</td>
</tr>
<tr>
<td>10.000.000</td>
<td>76.86</td>
</tr>
<tr>
<td>20.000.000</td>
<td>178.82</td>
</tr>
</tbody>
</table>
<p>So EBS does a great job at performance and stability (no load bottlenecks found).</p>
<p>Also was found that disks mounted in / had better performance than those in /mnt and EBS volumes.</p>
<p><strong>Conclusion</strong></p>
<p>I think testing in the cloud could lead to wrong conclusions. The testing data will vary as the load in the server hosting your instance increases or decreases so it is a good option to repeat tests in different time period, like morning and night or something similar.</p>
<p>In my particular case where I need lots of writing and reading I would go with medium instances for the database nodes and probably medium instances for processing nodes. I would stay away with small instances since the I/O it is very bad. Would get small instances only for testing purposes, development servers or early stage beta when load is not high.</p>
<p>I prefer to pay for 4 medium instances ($0.80) than for one $0.80 instance.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine+http://www.jorgealegre.com/?p=111" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine+http://www.jorgealegre.com/?p=111" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine+http://www.jorgealegre.com/?p=111" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine+http://www.jorgealegre.com/?p=111" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/&amp;title=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/&amp;title=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine&amp;link=http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Using+Amazon+EC2+As+Infrastructure+For+An+Internet+Search+Engine&amp;link=http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2009/06/using-amazon-ec2-as-infrastructure-for-an-internet-search-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Influencing my entrepeneur heart</title>
		<link>http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/</link>
		<comments>http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 16:45:46 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Startups]]></category>
		<category><![CDATA["jesus alonso"]]></category>
		<category><![CDATA["venture capital"]]></category>
		<category><![CDATA[entrepeneur]]></category>
		<category><![CDATA[panda]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=35</guid>
		<description><![CDATA[
A couple of weeks ago I went to a couple of events that have influenced me a lot, thinking days after those events the advice and knowledge shared. One of them was the founder of Panda Security, Mikel Urizarbarrena, and the other the founder of Dinamic Multimedia, makers of PC Futbol by Jesus Alonso.
The case [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2009%2F02%2Finfluencing-my-entrepeneur-heart%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2009%2F02%2Finfluencing-my-entrepeneur-heart%2F" height="61" width="51" /></a></div><p><img class="alignnone" title="Panda Security" src="http://jalegre.s3.amazonaws.com/images/panda.gif" alt="" width="399" height="44" /></p>
<p>A couple of weeks ago I went to a couple of events that have influenced me a lot, thinking days after those events the advice and knowledge shared. One of them was the founder of Panda Security, Mikel Urizarbarrena, and the other the founder of Dinamic Multimedia, makers of PC Futbol by Jesus Alonso.</p>
<p>The case of Panda Security shows that it is possible to start and develop a technology business in Spain without venture capital and do that even internationally. This guy is really unique, reinvested profits to make the business grow, without government help or investors, just by listening to the client needs and be able to manauver and be productive compiting with others. After some years developing the business, he has left the management part of the company, run by a experienced manager and some partners from a venture. They have plans to grow in the USA, which leads to my second conclusion: No matter what, for a tech company the US connection is a need, it is needed to be strong in that market, have good partners, etc&#8230; They implied that if they grow better than expected could go to stock exchange in the US. My conslussion is that I must design and define carefully the US connection for my tech startup so that grows in that markets and has great aliances, but having attachments in Europe.</p>
<p>The second event was great too, came a guy that revolutioned the PC gaming industry in Spain back in the 80? 90? He was a very sales-oriented guy with great communication skills, so the advices to entrepeneurs were really interresting. He said that when the bank calls you asking how the business is going and you know that if not running good, the bank will get your house and you will have to sleep under a bridge, that you somehow get so much motivated that if you are good, something great will come out, like the FX Interactive game they developed. So this guy also a 4&#215;4 of business activity. Since I am in that category, needing commercial activity desperately I understand that pretty good. I will not loose my house fortunately, but will have troubles.</p>
<p>So no wonder why entrepeneurs in Spain are lacking, it is like jumping with no parachute: If things go wrong and only way to get money is to offer your house as guarantee, you not only loose your house, you will have to pay for the rest of your life the difference between the price sold y bank and the mortgage, plus you will owe any workers fees for the rest of your life too. It is not like the US whene is game over, starting a new game. Here is game over, and you are done! That is why people here when you fail you fail for the rest of eternity. In the US is like &#8220;great, you failed&#8221;, let&#8217;s start a new thing now that you learnt.</p>
<p>So the final conslussion is that entrepeneurship si so damn hard that we must be fucking crazy, right? We do it cause we love innovation and starting things up, but can be pretty dangerous, expecially in Spain. I also like living in Spain but I agree that somethings are harder here, which leads me to the conclussion that harder=more motivating</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Influencing+my+entrepeneur+heart+http://www.jorgealegre.com/?p=35" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Influencing+my+entrepeneur+heart+http://www.jorgealegre.com/?p=35" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Influencing+my+entrepeneur+heart+http://www.jorgealegre.com/?p=35" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Influencing+my+entrepeneur+heart+http://www.jorgealegre.com/?p=35" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/&amp;title=Influencing+my+entrepeneur+heart" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/&amp;title=Influencing+my+entrepeneur+heart" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Influencing+my+entrepeneur+heart&amp;link=http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Influencing+my+entrepeneur+heart&amp;link=http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2009/02/influencing-my-entrepeneur-heart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post for &#8220;San Jorge&#8221; day</title>
		<link>http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/</link>
		<comments>http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 16:39:53 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=29</guid>
		<description><![CDATA[
Today is a celebration for my name, &#8216;San Jorge&#8217;, so will be a happy day, I had &#8216;Churros con chocolate&#8217; for breakfast, so the day started great already. 
I read some posts in twitter about Yahoo and the MS deal. For me Yahoo (YHOO) is already history. It belongs more to wikipedia than today&#8217;s Internet. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2008%2F04%2Fpost-for-san-jorge-day%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2008%2F04%2Fpost-for-san-jorge-day%2F" height="61" width="51" /></a></div><p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if !mso]><span class="mceItemObject"   classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></span><br />
<mce:style><!  st1:*{behavior:url(#ieooui) } --></p>
<p class="MsoNormal"><span lang="EN-GB">Today is a celebration for my name, &#8216;San Jorge&#8217;, so will be a happy day, I had &#8216;Churros con chocolate&#8217; for breakfast, so the day started great already. </span></p>
<p><span lang="EN-GB">I read some posts in twitter about Yahoo and the MS deal. For me Yahoo (YHOO) is already history. It belongs more to wikipedia than today&#8217;s Internet. They are out of everything, either if they take the. Google deals or the MS deal. If they take the G deals, it will be a suicide in the long term. If they take MS it will be a grave illness called fusion, and 2 recovering. If was investor, I would sell YHOO at a right price and buy GOOG. Money is not romantic, it is just money.</span></p>
<p><span style="font-size: 10pt;" lang="EN-GB">I am going to work in metro today for first time. Let&#8217;s see how long it takes to get there.</span></p>
<p><span style="font-size: 10pt;" lang="EN-GB">I installed Outlook2007. For me it is not great, it seems goes slower than Outlook2003, but has better presentation and cool feature, so I guess I will keep it. I got an error while installing, was trying to read a .CAB file from DVD when I installed it from a Directory. Probably will save it into DC/DVD and reinstall it. Maybe the perf is due to the intsllattion problem.</span></p>
<p><span style="font-size: 10pt;" lang="EN-GB">We are having primaries in the political party PP here in Spain, but in the spanish PP way. This means that a candidadte says will present in party election and the leader says will kick her out from party. Great democratic culture. A message to those politicians: &#8216;Learn from the US, party democracy is good, don&#8217;t be afraid&#8217;.</span></p>
<p><span style="font-size: 10pt; font-family: &quot;Times New Roman&quot;;">That is all from today</span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day+http://www.jorgealegre.com/?p=29" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day+http://www.jorgealegre.com/?p=29" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day+http://www.jorgealegre.com/?p=29" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day+http://www.jorgealegre.com/?p=29" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/&amp;title=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/&amp;title=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day&amp;link=http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Post+for+%E2%80%9CSan+Jorge%E2%80%9D+day&amp;link=http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2008/04/post-for-san-jorge-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enjoying my holydays</title>
		<link>http://www.jorgealegre.com/2008/03/enjoying-my-holydays/</link>
		<comments>http://www.jorgealegre.com/2008/03/enjoying-my-holydays/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 16:38:25 +0000</pubDate>
		<dc:creator>Jorge Alegre</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.jorgealegre.com/?p=26</guid>
		<description><![CDATA[

Last week I got some vacation from last year, 15 days. It was great, I was hilarious about it.
Last year I had some problems with my legs. Due to some reason, they are not very strong, could not stand too long, walk for more than 5 min, I even could not stand while having a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.jorgealegre.com%2F2008%2F03%2Fenjoying-my-holydays%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.jorgealegre.com%2F2008%2F03%2Fenjoying-my-holydays%2F" height="61" width="51" /></a></div><p><!--[if !mso]><br />
<mce:style><!  v:* {behavior:url(#default#VML);} o:* {behavior:url(#default#VML);} w:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --></p>
<p><!--[endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if !mso]><span class="mceItemObject"   classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></span><br />
<mce:style><!  st1:*{behavior:url(#ieooui) } --></p>
<p><span lang="EN-GB">Last week I got some vacation from last year, 15 days. It was great, I was hilarious about it.</span></p>
<p><span lang="EN-GB">Last year I had some problems with my legs. Due to some reason, they are not very strong, could not stand too long, walk for more than 5 min, I even could not stand while having a shower.</span></p>
<p><span lang="EN-GB"> Last January something happened (which I yet do not understand), and improved the thing a lot, being very happy about it. Unfortunately, the improvement did not continue, and right now I can do almost normal life, got back to the showers but I cant do other things like travelling, take the car for long journeys, etc&#8230; Which actually sucks&#8230;</span></p>
<p><span lang="EN-GB">Although I tend to be very possitive about it, the real thing is that I dont know what else is to do to feel better. I started with a new therapist (fisio), made accupunture,  changed my food habits (more mediterranean food style), go to swimm 4 days a week&#8230;.</span></p>
<p><span lang="EN-GB">So I will continue with the search of well being <img src='http://www.jorgealegre.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </span><span lang="EN-GB">. Tomorrow I will take Reiki sesion, which I guess could help. And probably soon I will start Yoga. Could be that my nervous system is sending signals to muscles, and they dont relax as they should. And when I start walking, they soon get saturated. This is soooooo weird. I am starting to be pretty nuts about this stuff.</span></p>
<p><span lang="EN-GB">I am starting to consider how should I compromise extreme work loads and my health. I love to pursuit impossible things (right, I am a sagitarious), but dont want my health to suffer. I guess some of these disorders may be well caused by my fight with my search engine system, the problems in the market to compete with Google, etc&#8230; When I was in University in Kansas, a professor came at a workshop and advised us: &#8220;Never, ever, ever, ever, ever give up&#8221;. I thought that to be a silly phrase, but later on I assumed this as a way of life. So basicly, I will never give up in pursuing the right for search technology engineers to survive even being Google and all the big empires.</span></p>
<p><span lang="EN-GB">Working in a company and allocating 13-16 hours a week after job doing programming for the search proyect has been probably too much, so I will break a little, and focus more on my health, now that everything is under way.</span></p>
<p><span lang="EN-GB">If would be easy (or hard, depends how you look at it), to give up and say: &#8220;man, I cant take it anymore&#8221;. I would relax a lot and spend more time in being happy, my weekends for me, cool. But after some time, my I would have felt that I gave up on my dream, and could not take that. But I will try to take it easy, so that all these google mania dont affect me. Now I have to take care of my health. Probably will seek help in programming (paying of course, and things like that).</span></p>
<p><span lang="EN-GB">Almost everybody I meet in Spain thinks my venture is a lost battle (even if they say it or not), but 90% of those people probably said the same thing when Google got the $20 million: Yahoo is a great brand, there is not place for a new search service&#8230; So we end up at the same place: &#8220;Never give up&#8221;. That is the 101 of internet entrepenours.</span></p>
<p><span lang="EN-GB">I think that I need to work on my mind, so that mind and body are balanced. Yoga could be great for this, so my inside energy is balanced.</span></p>
<p><span lang="EN-GB">Anyway, all this thing is a new journey for me, I hope to learn if anything is to be learnt from this small adventure.</span></p>
<p><span lang="EN-GB">So for these days I will be a tourist in Madrid, go to musseums, paseo del prado, riding on the no-top bus, sleep, go to nice restaurants, etc&#8230;</span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Enjoying+my+holydays+http://www.jorgealegre.com/?p=26" title="Post to Twitter"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Enjoying+my+holydays+http://www.jorgealegre.com/?p=26" title="Post to Twitter">Tweet This Post</a> <a class="tt" href="http://plurk.com/?status=Enjoying+my+holydays+http://www.jorgealegre.com/?p=26" title="Post to Plurk"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-plurk.png" alt="Post to Plurk" /></a> <a class="tt" href="http://plurk.com/?status=Enjoying+my+holydays+http://www.jorgealegre.com/?p=26" title="Post to Plurk">Plurk This Post</a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2008/03/enjoying-my-holydays/&amp;title=Enjoying+my+holydays" title="Post to Digg"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.jorgealegre.com/2008/03/enjoying-my-holydays/&amp;title=Enjoying+my+holydays" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Enjoying+my+holydays&amp;link=http://www.jorgealegre.com/2008/03/enjoying-my-holydays/" title="Post to Ping.fm"><img class="nothumb" src="http://www.jorgealegre.com/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Enjoying+my+holydays&amp;link=http://www.jorgealegre.com/2008/03/enjoying-my-holydays/" title="Post to Ping.fm">Ping This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.jorgealegre.com/2008/03/enjoying-my-holydays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
