Hi

I have a Bea Tuxedo based server running on HPUX 11.00 that provides 
transformation services. 
Other developers write the XSL files, and add the transformations to the 
server's configuration. For efficiency the stylesheets are precompiled each 
time the transformation server is started. 

As the number of transformation services keep getting higher, so does the run 
time memory image of the server application. Currently it is 250 MB. And we 
need to have several instances of the server to provide load balancing, at 
least two and preferably four. So that makes 500 MB or 1 GB just for this one 
server.

To minimize this memory usage per server instance we would need to share the 
precompiled stylesheets among the server instances. The first server that 
starts, would compile the stylesheets to a shared memory segment, and the other 
instances would attach to this shared memory segments and use the precompiled 
stylesheets.

Sharing simple data in shared memory segments is simple, but how about sharing 
XalanCompiledStylesheets? Could it be done? Can a XalanCompiledStylesheet be 
created or copied to a shared memory segment? Could it be serialized some how 
and share that way?

Any comments are welcome...

Regards,
Mika Stewen

Reply via email to