Posts Tagged berkeleydb
Python Faster Than Java, At Least For BerkeleyDB
Posted by Jorge Alegre in Technology on February 22nd, 2010
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… They say is BerkeleyDB with Java flavour, they have a weird sense of java humor then.
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.
Results
I did test for creating a table of 1 million rows with 128MB memory Cache.
| Language | Time |
| Python | 12 sec |
| Java | 28 sec |
Tweet This Post
Plurk This Post
Digg This Post
Ping This Post
First Impressions on Spring Source Tool Suite
Posted by Jorge Alegre in Technology on February 19th, 2010
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…
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… When trying to install those applications got an error, so man, bad luck to me.
Then created a Java project Buscaplus and tested BerkeleyDB. The experience of IDE is pretty nice, getting nice suggestions with the autocomplete.
Tweet This Post
Plurk This Post
Digg This Post
Ping This Post


Recent Comments