[Zope-dev] ZPatterns design questions

2000-10-03 Thread John Eikenberry
more types of entities and relationships that these examples, so it needs to scale. It also needs to perform well, as the authentication mechanism will be fetching the roles off the relationships and, possibly, their related objects. Thanks in advance for any advice. -- John Eikenberry [[EMAIL

Re: [Zope-dev] ZPatterns design questions

2000-10-03 Thread John Eikenberry
tter in the long run anyways). -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net] __ "A society that will trade a little liberty for a little order will deserve neither and lose both."

[Zope-dev] AttributeProvider and type information

2000-10-11 Thread John Eikenberry
with this... instead of the simple Attributes list? Seems like the type information and other meta information would as useful for handling attributes on the dataskin as for propertysheets. -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net

[Zope-dev] DataSkins containing DataSkins

2000-11-06 Thread John Eikenberry
something already discussed. Thanks in advance for any help... -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net] __ "A society that will trade a little liberty for a little order will deserve neither and lose

Re: [Zope-dev] DataSkins containing DataSkins

2000-11-08 Thread John Eikenberry
a munged version of the actual attribute listed in the Attributes listing. I haven't got my code as a whole back in working order to test it yet, but it seems like it should work fine. Thanks for your help. -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net

[Zope-dev] Custom Unauthorized errors...

2000-11-30 Thread John Eikenberry
into this as I find time so any help would be appreciated. -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net] __ "A society that will trade a little liberty for a little order will deserve neither and lose

[Zope-dev] ZPatterns scalability...

2000-12-05 Thread John Eikenberry
for listings and the Specialist.getItem() for individual record retrieval. Any thoughts on scalability issues. Thanks in advance for any insights. -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net] __ "A society that will

[Zope-dev] partial search performance problems...

2000-12-20 Thread John Eikenberry
to a relational database. -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net] __ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B

[Zope-dev] LoginManger: multiple LoginMethods

2001-01-07 Thread John Eikenberry
are in use. Any tips on how to get this working? I know there is no great way of detecting cookies, besides setting one and testing for it. But even if I did this, how do I say I want basic auth if the test cookie isn't found. Thanks in advance for any tips/advice. -- John Eikenberry [[EMAIL PROTECTED

Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry
and implementation immensely. -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net] __ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B

Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry
. And once deciding that an RDBMS was the best way to go for data storage, it fit into the 'pattern' very nicely. I haven't deployed it yet, but its pretty fun to work on. :) -- John Eikenberry [[EMAIL PROTECTED] - http://zhar.net

Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry
Michael Bernstein wrote: John Eikenberry wrote: I was looking into the same issues recently, but for a much smaller set of data (5ish). In my tests ZPatterns/binary-trees scaled well for storage and retrieval. But ZCatalog did not. It was basically useless for partial matching

Re: [Zope-dev] FastCGI question

2001-03-25 Thread John Eikenberry
) with ZPublisher and while it's worked reasonably well for very small traffic levels, I have recently run into an issue where lots of extra pcgi_publisher.py processes get started until the system grinds to a halt. I found two old postings from others (John Eikenberry, Craig Allen) about this problem

[Zope-dev] (ZPatterns) Speeding up Skinscripts

2001-03-29 Thread John Eikenberry
. Profiling these 2 ways in little test programs seems to indicate about a 2.5x speedup. Not huge, but combined with better hardware should be enough. But I'm curious why this avenue wasn't taken to begin with. Seems like the way to do it to me. Am I missing something? -- John Eikenberry [[EMAIL

Re: [Zope-dev] (ZPatterns) Speeding up Skinscripts

2001-03-29 Thread John Eikenberry
is (we use ZPatterns extensively). -- John Eikenberry [[EMAIL PROTECTED]] __ "A society that will trade a little liberty for a little order will deserve neither and lose both."

[Zope-dev] default roles in ac_permissions

2001-06-21 Thread John Eikenberry
in the __ac_permissions__? If so how, if not what did you do to automatically set default roles for a product? Thanks in advance for any info. -- John Eikenberry [[EMAIL PROTECTED]] __ A society that will trade a little liberty for a little order

[Zope-dev] Session Errors

2003-03-13 Thread John Eikenberry
Products.Sessions.SessionDataManager, line 175, in _hasSessionDataObject * Module Products.Transience.Transience, line 838, in has_key * Module Products.Transience.Transience, line 807, in get KeyError: 1047409860 -- John Eikenberry [EMAIL PROTECTED

Re: [Zope-dev] Session Errors

2003-03-13 Thread John Eikenberry
at the top of the Transience.py file? __version__='$Revision: 1.28.6.4 $'[11:-2] On Thu, 2003-03-13 at 07:11, John Eikenberry wrote: Since upgrading to Zope-2.6 we've been getting KeyErrors when using Sessions. They seem to happen more now that we've started using hasSessionData(), but I'm

Re: [Zope-dev] Session Errors

2003-03-13 Thread John Eikenberry
what this might be. Once you notice it happen, send the relevant parts of your logfile to me and I will see if I can analyze it. - C On Thu, 2003-03-13 at 15:19, John Eikenberry wrote: Sorry, its Zope 2.6.1. Chris McDonough wrote: John, Which Zope 2.6? Zope

Re: [Zope-dev] Session Errors

2003-03-14 Thread John Eikenberry
) Transience KeyError raised in get, checking BTrees -- 2003-03-14T03:35:53 PROBLEM(100) Transience BTree check for data succeeded -- 2003-03-14T03:35:53 PROBLEM(100) Transience BTree check for index succeeded - C On Thu, 2003-03-13 at 18:18, John Eikenberry wrote: Patch applied

Re: [Zope-dev] Session Errors

2003-03-14 Thread John Eikenberry
_setTimeout() call or even manually tweak the appropriate session data managers attributes (_timeout_secs, _period and _timeout_slices) to very small values (ie. a few seconds). -- John Eikenberry [EMAIL PROTECTED] __ A society

Re: [Zope-dev] Session Errors

2003-03-14 Thread John Eikenberry
John Eikenberry wrote: Once you start a second thread ReadConflictErrors start getting raised. Which thread gets the conflict and which one keeps working seems variable (probably just a timing thing). If I start enough of these threads I can cause the error to happen. But only once

Re: [Zope-dev] Session Errors

2003-03-17 Thread John Eikenberry
ConflictError occasionally now (not nearly as often). -- John Eikenberry [EMAIL PROTECTED] __ A society that will trade a little liberty for a little order will deserve neither and lose both. --B

Re: [Zope-dev] Session Errors

2003-03-17 Thread John Eikenberry
John Eikenberry wrote: Toby Dickenson wrote: Read conflicts occur if a change is committed in between the start of a transaction, and the transaction needing to load the object. A workaround to reduce the number of read conflicts is to touch the objects that are likely to change

Re: [Zope-dev] Session Errors (read conflicts)

2003-03-18 Thread John Eikenberry
Chris McDonough wrote: On Mon, 2003-03-17 at 20:34, John Eikenberry wrote: The KeyErrors happen under similar circumstances to the ReadConflictErrors. The significant difference being that the KeyErrors happen after the transience timeout has occured. When I am running