[Ann] CompiledExecutables -- speeding up page delivery after startup

Dieter Maurer <[email protected]>
Newsgroups gmane.comp.web.zope.announce
Message-ID <[email protected]>
CompiledExecutables defines a set of executable objects that are
precompiled and the compilation stored either in the ZODB or in the
file system. It currently defines CompiledPageTemplate,
FSCompiledPageTemplate and FSCompiledPythonScript (PythonScript is
already compiled; although in a somewhat stupid manner (in
__setstate__ rather than when used)).

Storing the compilation result avoids expensive recompilation. This
can drastically speed up access to the first pages after startup --
especially for large CMF based sites.

The product does not register anything. It is up to you to register
the filesystem based objects with
Products.CMFCore.DirectoryView.registerFileExtension or the ZODB based
objects by calling their initialize function.

The product works by making instance methods and code objects
picklable. This might appear as a security risk. However, unpickling
untrusted pickles is always a security risk (because the pickler
decides what is picklable and not the unpickler).


Download:

  <http://www.dieter.handshake.de/pyprojects/zope>



-- 
Dieter
_______________________________________________
Zope-Announce maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists - 
 Users: http://mail.zope.org/mailman/listinfo/zope
 Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.