On Sun, Aug 26, 2001 at 05:52:18PM -0700, Tavis Rudd wrote: > Hi, > I was just reading through the Skunkweb FAQ and noticed a > few statements about Webware that aren't correct: > > 1) You write that "WebWare uses PSP as it's sole templating > language". Webware is being used with several other > template languages. See > http://webware.sourceforge.net/Papers/Templates/ and > www.CheetahTemplate.org for more information. I will definitely fix that. > 2) You write that Webware doesn't cache anything to disk. > Webware has an intelligent SessionStore that can work > exclusively from a disk cache, exclusively from memory, or > from memory for the most recently used sessions and from > disk for older ones. Webware can also reload servlets from > disk for each request if desired. PSP also caches to disk. > > Furthermore, you write "So if you have a lot of > 'components', the output can easily consume all available > memory." This is highly unlikely. Webware doesn't keep > 'output' in memory. Rather it maintains instances of > servlet classes in memory. Such instances usually require > minimal memory. Webware servlets can also use any custom > caching mechanism their designers wish. Ok, the output cache was really what I was talking about here. I will make the correction. > 3) You write: > "WebWare uses a threaded model. While in some ways makes > things simpler, it makes many things more complicated. > Also, because of the Python global interpreter lock, if you > have more than 1 CPU, WebWare won't actually use very much, > if any of the additional CPUs since only one thread can run > at a time. SkunkWeb uses a forking process model, which > makes resource sharing more complicated in certain > circumstances, it will fully utilize all available > processors," ... "so SkunkWeb scales better." > > All of this is true, but the final statement is unproven. > There are many factors involved and realistic benchmarks > are needed before such a statement can be made. All you have to do is run WebWare on an 8 CPU box and it becomes obvious *very* quickly. Drew -- print(lambda(m,d,y):['Sun','Mon','Tues','Wednes','Thurs','Fri','Satur' ][(lambda(m,d,y):(23*m/9+d+4+y/4-y/100+y/400)%7)(m<3and(m,d+y,y-1)or( m,d+(y-2),y))])(map(int,raw_input('mm/dd/yyyy>').split('/')))+'day' _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-devel
