Re: [ZODB-Dev] Indexing and dates/times

2010-07-13 Thread Benji York
; it pretty useless). If you use the timestamp as the key and you want to retrieve all values between two timestamps (inclusive), you can do my_btree.values(min=start, max=end) -- Benji York ___ For more information about ZODB, see the ZODB Wiki: h

Re: [ZODB-Dev] Automating retry management

2010-05-11 Thread Benji York
On Tue, May 11, 2010 at 10:08 AM, Jim Fulton wrote: > This is an improvement. It's still unsatisfying, but I don't think I'm going > to > get satisfaction. :) Given that PEP 343 explicitly mentions *not* supporting an auto retry construct, I should thin

Re: [ZODB-Dev] Automating retry management

2010-05-11 Thread Benji York
ransaction in ZODB.retries(3): with transaction: ... transaction body ... ZODB.retries would return an iterator that would raise StopIteration on the next go-round if the previously yielded context manager exited without a ConflictError. -- Benji York __

Re: [ZODB-Dev] Repozo tests -- not

2009-12-08 Thread Benji York
in progress at the time of the copy will simply be ignored when the resulting backup is opened later. -- Benji York ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zop

Re: [ZODB-Dev] client cache bugs when a client switches from one zeo server to another

2009-11-24 Thread Benji York
e or more (re)connection-time cache corruption bugs were fixed in ZODB 3.8.1. -- Benji York ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman

Re: [ZODB-Dev] ZEO Cache inconsistency

2009-10-29 Thread Benji York
On Tue, Oct 20, 2009 at 5:41 AM, Vincent Pelletier wrote: > I'm facing a cache consistency problem in an old Zeo running on 2.8.8 > products. I don't know what version of ZODB those Zope versions use, but version 3.8.1 of ZODB included several bug fixes in the ZEO cache code

Re: [ZODB-Dev] ZEO and relstporage performance

2009-10-14 Thread Benji York
On Wed, Oct 14, 2009 at 3:38 PM, Ross J. Reedstrom wrote: > On Wed, Oct 14, 2009 at 02:20:50PM -0400, Benji York wrote: > We're actually set up w/ squid in front of the zope FEs, using IPC to > talk to them all. The default behavior is just to respond w/ a "CACHE > MISS&q

Re: [ZODB-Dev] ZEO and relstporage performance

2009-10-14 Thread Benji York
f something more like "data" affinity. Instead of having a big cache that is shared in order to increase the chance of a request's data being in the cache, you would instead have many smaller caches (just like ZEO works now) and send the requests to the process(es) that are most l

Re: [ZODB-Dev] Problems packing Zope 2.9.8 storage

2009-09-14 Thread Benji York
On Mon, Sep 14, 2009 at 3:52 PM, Shane Hathaway wrote: > Benji York wrote: >> >> On Mon, Sep 14, 2009 at 2:44 PM, Shane Hathaway >> wrote: >>> >>> People have been looking at these performance charts for quite a while: >> >> Are the benchmarks p

Re: [ZODB-Dev] Problems packing Zope 2.9.8 storage

2009-09-14 Thread Benji York
On Mon, Sep 14, 2009 at 2:44 PM, Shane Hathaway wrote: > People have been looking at these performance charts for quite a while: Are the benchmarks publicly available? I looked through the blog posts and svn.zope.org but couldn't find them. -- Benji York Senior Software Engin

Re: [ZODB-Dev] Temporary files not closed

2009-06-25 Thread Benji York
eleted) > lrwx-- 1 64 2009-06-25 10:09 6 -> /var/tmp/tmp2HUAnn.tbuf (deleted) > lrwx-- 1 64 2009-06-25 10:09 7 -> /var/tmp/tmpex5QmJ (deleted) Have you looked at the contents of the files? Once you have an idea of what is being written you might be able to determine what is do

Re: [ZODB-Dev] ZODB3 3.9.0b2 released

2009-06-12 Thread Benji York
On Fri, Jun 12, 2009 at 5:22 AM, Jim Fulton wrote: > I didn't get these and I tested on Ubuntu, although a pretty old > release. Tests pass on a more recent release as well (Python 2.4, Ubuntu 8.04.2) -- Benji York Senior Software Engineer Zope

Re: [ZODB-Dev] ZODB 3.9.0b1 released

2009-05-04 Thread Benji York
On Mon, May 4, 2009 at 3:03 PM, Jim Fulton wrote: > > I've just released the first beta of ZODB 3.9. > Please try this out and report bugs found. Is the fact that http://pypi.python.org/pypi/ZODB3/3.9.0b1#compatibility mentions "ZODB 3.8" and not 3.9 a bug? -- Be

Re: [ZODB-Dev] Optimize BTree node sizes?

2008-11-04 Thread Benji York
zes? It'd be cool if the bucket size could be dynamic (say governed by an attribute on the BTree), but I suspect that is dramatically out of scope for what you were planning on doing. -- Benji York Senior Software Engineer Zope Corporation ___ For

Re: [ZODB-Dev] [Zope-dev] Blobs and modes

2008-10-24 Thread Benji York
On Fri, Oct 24, 2008 at 3:28 PM, Jim Fulton <[EMAIL PROTECTED]> wrote: > > On Oct 24, 2008, at 3:24 PM, Benji York wrote: > >> Is there a good reason blobs don't support "b" or "t" in the mode >> strings passed to "open"? I'm re

Re: [ZODB-Dev] test.py in ZODB3-3.8.1b7.tar.gz

2008-09-03 Thread Benji York
runner 1.1.0. Getting distribution for 'zope.testing>=3.6.0'. Got zope.testing 3.6.0. Installing test. Getting distribution for 'zdaemon'. Got zdaemon 2.0.2. Getting distribution for 'zope.proxy'. Got zope.proxy 3.4.2. Generated script '/tmp/ZODB3-3.8.1b7/bin/t

Re: [ZODB-Dev] Very large amounts of output from fsrefs.py

2008-08-28 Thread Benji York
hread is at http://mail.zope.org/pipermail/zodb-dev/2007-March/010846.html. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] Very large amounts of output from fsrefs.py

2008-08-27 Thread Benji York
m a shared filesystem instead? Maybe, maybe not; the details are important there. My suspicion is that you wouldn't see much benefit. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http:/

Re: [ZODB-Dev] ZODB fails on test

2008-08-03 Thread Benji York
nt versions of Python. If so, you can install two Pythons, and the correct Python for each app. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev maili

[ZODB-Dev] Re: [Checkins] SVN: zope.component/trunk/src/zope/component/registry.py Correct error in persistance-bbb logic spotted by Jacob Holm

2008-07-24 Thread Benji York
if (self._utility_registrations.get((provided, name)[:2]) > +if (self._utility_registrations.get((provided, name))[:2] > == (component, info)): > # already registered > return -- Benji York Senior Software Engineer Zope Corporation __

Re: [ZODB-Dev] large database files

2008-07-23 Thread Benji York
you should expect a larger database once the indexes are added. Some advocate keeping indexes in a separate database, especially if they are a significant fraction of the total database size. That way you can have different packing schedules, backup plans, storage devices, etc. -- Benji York S

Re: [ZODB-Dev] large database files

2008-07-23 Thread Benji York
a small database by some standards. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] Blob directory structure scalability limits

2008-06-19 Thread Benji York
I suppose the directories would be built on-demand, right? -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.z

Re: [ZODB-Dev] Re: Ruby/Smalltalk OODB

2008-06-03 Thread Benji York
On Tue, Jun 3, 2008 at 3:45 PM, Sean Allen <[EMAIL PROTECTED]> wrote: > > On Jun 3, 2008, at 1:32 PM, Benji York wrote: > >> On Tue, Jun 3, 2008 at 1:13 PM, Gary Poster <[EMAIL PROTECTED]> wrote: >>> >>> What you *can't* do out of the box is

Re: [ZODB-Dev] Re: Ruby/Smalltalk OODB

2008-06-03 Thread Benji York
h I was referring. In other words: if you want an index of references (or any attribute for that matter), you have to set it up (just as you would for a RDBMS). -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB,

Re: [ZODB-Dev] Re: Ruby/Smalltalk OODB

2008-06-02 Thread Benji York
at attracts the > attention of people. I will needs some help in that respect. > organize information into something that new-comers can lear Hopefully the already underway design effort will help there. -- Benji York Senior Software Engineer Zope Corporation ___

Re: [ZODB-Dev] Re: ZEO Client deadlocking in asyncore.poll - how to I debug

2008-05-23 Thread Benji York
On Fri, May 23, 2008 at 5:45 AM, Anton Stonor <[EMAIL PROTECTED]> wrote: > Last month I ask for help about hanging zeo clients. I promised to follow > up. And thank you for doing so. It's very helpful (for me at least) to see these sorts of things come to closure. -- Benji Yor

Re: [ZODB-Dev] Problems installing ZODB under Windows

2008-03-26 Thread Benji York
wouldn't try to build it for you. A request for such an egg would be best directed to [EMAIL PROTECTED] -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/

Re: [ZODB-Dev] Re: ZODB Benchmarks

2008-03-25 Thread Benji York
er than usual -- for still unknown reasons) Curious. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://m

Re: [ZODB-Dev] Re: ZODB Benchmarks

2008-03-25 Thread Benji York
dy make fsync pretty fast. Not to suggest that group commit wouldn't speed things up, but it would seem that the technique will make the largest improvement for people that are using a non-lying fsync on inappropriate hardware. -- Benji York Senior Soft

Re: [ZODB-Dev] Re: ZODB Benchmarks

2008-03-05 Thread Benji York
David Pratt wrote: Hi Benji. Have you any settings to recommend or use a default. Many thanks. For benchmarking? No. Too high and you'll spend a bunch of time swapping to free up space for disk cache; too low and you may not have a large enough disk cache to be effective. -- Benji

Re: [ZODB-Dev] Re: ZODB Benchmarks

2008-03-05 Thread Benji York
prevent this. I'll check. If you're on Linux, you can tweak swappiness (/proc/sys/vm/swappiness; http://lwn.net/Articles/83588/) to affect how much RAM is used for the page cache and how much for your process. -- Benji York Senior Software Engineer Zope C

Re: [ZODB-Dev] ZEO+MultipleClients+ConflictErrors

2008-02-26 Thread Benji York
h that it is unlikely that two insertions happen in the same bucket. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.or

Re: [ZODB-Dev] ZEO+MultipleClients+ConflictErrors

2008-02-26 Thread Benji York
. ;) In other words, the best way to deal with a hot spot is to eliminate it. That may or may not be possible, but it's a good thing to try. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see

Re: [ZODB-Dev] PGStorage

2008-01-23 Thread Benji York
not). I want to be able to use an OO database without the inconvenience of having it growing out of control and then having to spend hours packing the database every once in a while. (I do a lot of writes in my DBs). Do this Holy grail of databases exist? :-) Why not put the pack in cron? --

Re: [ZODB-Dev] Re: ZODB Benchmarks

2007-11-02 Thread Benji York
catalog (or other data structure) that is slightly out of date. In those, you can ignore the queued data. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB

Re: [ZODB-Dev] Getting started with ZODB

2007-09-18 Thread Benji York
Jim Fulton wrote: On Sep 18, 2007, at 6:46 AM, Manuzhai wrote: ... What's new in ZODB4? The ZODB project has been abandoned. Much of the work done in that project was folded back into ZODB3. Jim means ZODB *4*. :) -- Benji York Senior Software Engineer Zope Corpor

Re: [ZODB-Dev] Re: ZODB 3.8.0b1 is released

2007-06-22 Thread Benji York
Christian Zagrodnick wrote: Not automatically please. You should be aware of that since it may be just an error and break due to missing locking via nfs or anything. You never know. Agreed. -- Benji York Senior Software Engineer Zope Corporation

Re: [ZODB-Dev] Re: ZODB 3.8.0b1 is released

2007-06-22 Thread Benji York
. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] Concurrent transactions

2007-06-01 Thread Benji York
database each time a non-Persistent element changes (or an item is added or removed from the list). If the list is of any appreciably size, that will be bad. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the

Re: [ZODB-Dev] copy routine: ZODB => local file system

2007-05-06 Thread Benji York
ically trying to say). This should work: svn co svn://svn.zope.org/repos/main/zope.xmlpickle/trunk zope.xmlpickle -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZOD

Re: [ZODB-Dev] more lockup information / zope2.9.6+zodb 3.6.2

2007-04-10 Thread Benji York
Alan Runyan wrote: The website got slashdoted this morning [...] Just FYI: Varnish didnt go over 3% CPU during the traffic surge; over 200 req/second. Off topic: 200 requests a second seems a bit light for a slashdotting, any more details you can divulge there? -- Benji York Senior

Re: [ZODB-Dev] ZEO client cache tempfile oddness

2007-04-06 Thread Benji York
Zope installations in the world. In that case it would seem better to just remove the ineffectual code altogether. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/

Re: [ZODB-Dev] ZEO and time.sleep

2007-03-28 Thread Benji York
Jim Fulton wrote: On Mar 28, 2007, at 6:28 PM, Benji York wrote: threading.Connection threading.Condition :) Yeah, that. :) What was the time to return the first request after the fix? I didn't stick around for the post-Linux-kernel-recompile testing, but when we hacked the P

[ZODB-Dev] ZEO and time.sleep

2007-03-28 Thread Benji York
de-stepping the call to time.sleep altogether. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.

Re: [ZODB-Dev] two level cache

2007-03-28 Thread Benji York
references are not yet resolved from their persistent form. If you're using FileStorage without ZEO, then your operating system's disk cache will act in a way similar to what you're describing as your L2 cache. -- Benji York Senior Software Engineer Z

Re: [ZODB-Dev] Blob test failure on FreeBSD

2007-03-27 Thread Benji York
Christian Theune wrote: Am Dienstag, den 27.03.2007, 12:44 -0400 schrieb Benji York: Christian Theune wrote: Who's the owner of the machine? You might know him. A guy by the name of Thomas Lotze. :) Nope. That's the buildbot that has been offline for ages. ;) The failing one is &

Re: [ZODB-Dev] Blob test failure on FreeBSD

2007-03-27 Thread Benji York
Christian Theune wrote: Who's the owner of the machine? You might know him. A guy by the name of Thomas Lotze. :) -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zop

Re: [ZODB-Dev] Blob test failure on FreeBSD

2007-03-27 Thread Benji York
Gary Poster wrote: FWIW, It smells more like a 64 bit vs. 32 bit machine/OS question, but that's just on the basis of fly-by-diagnosis. :-) Yep, looks like it. -- Benji York Senior Software Engineer Zope Corporation ___ For more information

[ZODB-Dev] Blob test failure on FreeBSD

2007-03-27 Thread Benji York
xt Failed example: blob_size - underlying_size Expected: 91L Got: 91 Full test log here: http://buildbot.zope.org/Zope3%20trunk%202.4%20FreeBSD%20tmiddleton/builds/361/test/0 -- Benji York Senior Software Engineer Zope Corporation ___ For more i

Re: [ZODB-Dev] roll back filestorage zodb to a certain date?

2007-03-22 Thread Benji York
Chris Withers wrote: Benji York wrote: Chris Withers wrote: I'm writing/running a bunch on migration processes on a 30GB Data.fs, I'm hoping it's easier to roll back the Data.fs to before I started my migration run than it is to grab a new copy on the ZODB from somewhere.

Re: [ZODB-Dev] roll back filestorage zodb to a certain date?

2007-03-22 Thread Benji York
Chris Withers wrote: I'm writing/running a bunch on migration processes on a 30GB Data.fs, I'm hoping it's easier to roll back the Data.fs to before I started my migration run than it is to grab a new copy on the ZODB from somewhere... Demostorage, perhaps? -- Benji York

Re: [ZODB-Dev] Re: PyPI-Entry

2007-03-01 Thread Benji York
ZODB project. It might well be possible that the cost of executable installers is greater than their value. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB

Re: [ZODB-Dev] Re: Invalidating caches for module refresh doesn't seem to work

2007-01-30 Thread Benji York
discussed. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] History-less FileStorage?

2006-12-29 Thread Benji York
Stefan H. Holek wrote: Do we have a history-less (i.e. no-grow) FileStorage? There have been discussions and implementations of packless storages in the past. As far as I know none have attained wide adoption. -- Benji York Senior Software Engineer Zope Corporation

Re: [ZODB-Dev] trying to use zodb for standalone with python2.5 and windows

2006-12-05 Thread Benji York
Christian Theune wrote: Your 'python setup.py install' didn't work. You need to have Visual Studio (2003/.NET) installed to compile ZODB/Python Extensions. Or get the Windows binary release. Here's the latest: http://www.zope.org/Products/ZODB3.6. -- Benji York Senior So

Re: [ZODB-Dev] HOWTO recover from Data.fs.tmp

2006-10-02 Thread Benji York
Juan Pablo Giménez wrote: El lun, 02-10-2006 a las 14:00 -0400, Benji York escribió: >> "Data.fs.tmp" usually only contains the last transaction (although, >> it may not free unused space at the end). > > but... that's a bug... why zope keep writing in .tmp fi

Re: [ZODB-Dev] Re: HOWTO recover from Data.fs.tmp

2006-10-02 Thread Benji York
ginal Data.fs and the "recovered" one are identical. This makes me wonder if the same will work for the OP. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wi

Re: [ZODB-Dev] HOWTO recover from Data.fs.tmp

2006-10-02 Thread Benji York
rocess that is holding onto a deleted file. If this is the case you'll have to get imaginative to recover the file. Killing the process and immediately attempting to "undelete" it might work (for some file systems, apparently not ext3). -- Benji Y

Re: [ZODB-Dev] HOWTO recover from Data.fs.tmp

2006-10-02 Thread Benji York
usually only contains the last transaction (although, it may not free unused space at the end). but... that's a bug... why zope keep writing in .tmp file if we can't recover nothing from there?!?!... Why is it a bug? A .tmp file is just that, temporary. It's not a backu

Re: [ZODB-Dev] Newbie questions re persistent objects and connections: [Was: can Leo...]

2006-09-12 Thread Benji York
/adytumsolutions/HowToLoveZODB_PartI -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman

Re: [ZODB-Dev] Re: getting the object ID (_p_oid attribute)

2006-06-26 Thread Benji York
uot; is my persisted object) >>> p._p_oid '\x00\x00\x00\x00\x00\x00\x00\x08' >>> print p._p_oid >>> p._p_oid is None False What would you expect to see if you printed out seven null characters and a backspace? -- Benji York Senior Software Engineer Zope Corpor

Re: [ZODB-Dev] Clustering ZEO Server with drbd

2006-05-29 Thread Benji York
That way when the primary r/w ZEO server went down, read transactions could still complete until the second r/w ZEO server could start. -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB

Re: [ZODB-Dev] ZEO Authentication

2006-05-26 Thread Benji York
Andreas Jung wrote: You could use a firewall to allow incoming ZEO connection only from authorized IP address...should not be more than some lines of iptables configuration or so. Similarly, you can use a VPN. -- Benji York Senior Software Engineer Zope Corporation

Re: [ZODB-Dev] packaging zodb in eggs.

2006-03-03 Thread Benji York
Chris McDonough wrote: zodblib-3.6.0.egg (which would include ZODB and ZODB packages). zodb-3.6.0.egg (which might be an empty "dependency" package that As Gary noted, I can't see a reason to have these separate. They can always be separated in the future if a real need ar

Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Benji York
;ll add that to my list of things to do next time I have a "buildbot day". -- Benji York Senior Software Engineer Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list