|
From: john c. <joh...@ya...> - 2001-08-03 02:58:50
|
I've been running Jython on j2sdk1.4.0beta. Haven't had any issues yet. Been writing an Acquisition Implicit module (in Jython, 30 lines of code). Next is to use the nio modules to create a medusa of sorts. I would really like to rewrite Zope to run on Java since java has true threads and a bunch of third party software (an really cool one that comes to mind EOF). I have a feeling that a Zope on Java would be far more appealing to consumers since now a whole universe of software is available Java and Jython have a wonderful interchangebly which is quite amazing. (another question which doesn't belong here) I would also like to change Zope such that it uses generators. The problem we are (or will be) running into is the large process size of the ZServers. Basically, every time one uses objectValues() the entire contents of the directory is loaded into memory and values placed into a list. I would like to skip zope 2.4.0 based on python 2.1 and go directly to 2.2a1 so that I could start this migration. The content management system will be pushing Zope to it limits. Use of memory has been rather cavalier in Zope world cause we think it is cheap and plentiful. However, reading 200,000 bulky objects into memory (magnified by 1000 users) is not ideal behavior when an iterator could be used instead and retrieve only one object at a time. Any thoughts or comments, please contact me. -john __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |