List Info

Thread: ZODB users?




ZODB users?
user name
2006-02-10 04:30:55
> I know ZODB is slow on writes and is better
> suited to many reads/few writes. This fits
> the profile of my application (and probably
> many web apps) however even with reads, using
> ZEO server and one ClientStorage instance per
> CherryPy thread I find that ZODB is around 5
> times slower using IOBtrees() as the persistance
> class and reading in the key order.

On somes tests I did yesterday the initial
read took a long time, but subsequent reads
where very quick.  For example, a 2000 record
table (about 400K of data) required about 10
seconds to read the first pass.  Subsequent
iterations were on the order of 0.25 seconds.

This suggests one approach: If you know which
objects are likely to be accessed, you could
pre-fetch them, possibly in the background
while waiting for user input.

> I would really like to use ZODB but with
> the performance I have experienced so far
> it is just not practical.

After some brief tests, I'm reluctantly passing
on ZODB, but I think we should be careful about
spreading the OODBMS-is-slow meme.  I'd like to
see some use cases that handle > 10**6 objects.

Someday I'd like to revisit ZODB for a project
in different circumstances -- where I'm certain
that the dataset has lower bounds.

Jeff Bauer

ZODB users?
user name
2006-02-10 14:43:21
>After some brief tests, I'm reluctantly passing
>on ZODB, but I think we should be careful about
>spreading the OODBMS-is-slow meme.  I'd like to
>see some use cases that handle > 10**6 objects.

Yes I wouldnt like to spread that meme either and
I can definitely think of some cases where a ZODB
type database will be much more conveient than
table based RDBMS. A blog app is one such case.

I am also reluctantly passing for now but will be
watching the ZODB space with interest and indeed
using it a lot in one job I am currently engaged in.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
ZODB users?
user name
2006-02-10 16:17:27
Would you be so kind to summarize the main points why you do
not use 
ZODB? What should I be aware of? What are the weaknesses...

What can you suggest to measure for testing?
(I used to select a large set of random 'primary keys' and
measure the 
time of the retrieval of the 'records'; this type is the
typical query I 
use...)

Thanks!

thakadu wrote:
>> After some brief tests, I'm reluctantly passing
>> on ZODB, but I think we should be careful about
>> spreading the OODBMS-is-slow meme.  I'd like to
>> see some use cases that handle > 10**6 objects.
> 
> Yes I wouldnt like to spread that meme either and
> I can definitely think of some cases where a ZODB
> type database will be much more conveient than
> table based RDBMS. A blog app is one such case.
> 
> I am also reluctantly passing for now but will be
> watching the ZODB space with interest and indeed
> using it a lot in one job I am currently engaged in.
> 
> 

-- 
Tamas Hegedus, PhD          | phone: (1) 919-966 0329
UNC - Biochem & Biophys     | fax:   (1) 919-966 5178
5007A Thurston-Bowles Bldg  | mailto:hegedusmed.unc.edu
Chapel Hill, NC, 27599-7248 | http://biohegedus.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )