Forum OpenACS Development: Re: Image resizing, exec and server problems

Collapse
Posted by Malte Sussdorff on
What is the prefered way of doing this:

a) Edit the sourcecode for image generation and use ns_proxy there. Use a specific ns_proxy pool for image generation only

b) Write a generic "exec_proxy" procedure which works just as exec, but executes through an ns_proxy. I could probably add background capabilities to that (so you could push it to the background and have errors reported in the error.log or as user messages). Replace exec with exec_proxy in the places where it matters.

If I go with "b" is it fine to just use the default configuration for the "exec" proxy or should I provide parameters to tune that? Should I put this in acs-tcl?