logo       

Re: New errors, old errors in the dolphin's seaside: msg#00215

Subject: Re: New errors, old errors in the dolphin's seaside
Avi Bryant escribió:
On Nov 26, 2005, at 6:59 PM, Esteban A. Maringolo wrote:
Now we must wait and authoritative answer for the side effects of no
using a weak container.

Well, the side effects are that memory use for an individual session will grow faster. When the session itself is expired, the memory will be reclaimed, so there's no danger of a long-term leak, but the runtime footprint of your seaside application will be larger (and more tied to the length of the session).

Ok, that's tolerable at this stage of the port.

What should be the expected behavior of weak dictionaries (or equivalents) to be used in the registries?
Weak keys or weak values?

Can you write a SUnit test case, so I can make it pass?

I'm actually not convinced that expiring parts of a session via weak dictionaries is that great an idea anyway. For one thing, some people (especially Netstyle, who have some of the more heavily used Seaside deployments out there) have seen some horrific CPU usage in Squeak when the weak dictionaries grow too large. For another, the references between continuations get messy enough that it's very hard to predict whether and when any memory is actually getting collected. And finally, expiring "old" pages can lead to some really bad user experiences if they ever open up multiple windows on the same session (since you can easily use one window to push the frontmost page of the other window into expiry, at which point that other window is totally unusable). So I'd like to find some other ways to manage long-running sessions.

Some kind of undertaker process?


Best regards,

--
Esteban.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe