[Stackless] Can Plone or Conga run over Stackless?

Larry Dickson ldickson at cuttedge.com
Fri Oct 3 17:00:17 CEST 2008


The application is storage, for which Conga apparently offers a quick-up
software platform with a lot of the work already done. We would be modifying
it and adding functionality modeled after the earlier version of our
software (Webmin/Perl/CGI). So far so good. However, our experience has been
that some "clicks" cause an annoyingly slow response (10 seconds or more)
even though there is nothing intrinsic that should be so slow. They are
usually startup type things, like mounts, and we can tell by looking at top
or ps -ax (there is plenty of time to do this) that there is a lot of heavy
thread chattiness going on.

Obviously spawning side processes to monitor that stuff and let the UI go on
unhindered is a way around that, and we do that sometimes (e.g. RAID
syncing), but this is complex, scary, unreliable code so we avoid it. So my
thought was: Give the main UI, i.e. Conga + specialty stuff, its stackful
sandbox to play in, within an overarching Stackless harness. Then use
tasklets to deal with these spinoffs, and channels to communicate state
(e.g. percentage completion of the sync, for example - also a sore point
currently). Everything ought to become snappy, since I assume Stackless does
static resource assignment, and thus VM or other thrashing is avoided. This
would also be nice for things like temperature monitoring. I'm also assuming
Stackless makes it easy to code the tasklets, i.e. one standard-looking loop
and not widely separated snippets of event code.

As you see, I'm leading from ignorance of specifics here. But I did a lot of
research 12 years ago on the general approach (lots of static processes and
one dynamic one), and it does work.

Larry


On 10/2/08, Richard Tew <richard.m.tew at gmail.com> wrote:
>
> On Thu, Oct 2, 2008 at 7:09 PM, Larry Dickson <ldickson at cuttedge.com>
> wrote:
> > Stackless should be 100% compatible for use of normal Python code. If you
> > have Stackless installed and you use Python code which does not make any
> use
> > of the Stackless functionality, that code should behave exactly the same
> as
> > it would in a normal Python installation."
> ...
> > Can anyone tell me whether Plone can run over Stackless (actually we hope
> to
> > use Conga)? If it can, why isn't this capability being used on the web
> site?
>
> I am not sure I understand.  What purpose would it serve or difference
> would it make?
>
> Richard.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20081003/cff3f180/attachment.htm>


More information about the Stackless mailing list