[pylons-discuss] Re: Store class at process start, and use it to initiate inside function?

2018-10-09 Thread Tres Seaver
On 10/09/2018 02:00 AM, Thierry Florac wrote: > And how do you handle such use case when working in a multi-process / > multi-hosts cluster configuration? Fork first, then run the configure step. Forking before creating stateful globals is considered best practice for multi-processing. Tres. -

[pylons-discuss] Re: Store class at process start, and use it to initiate inside function?

2018-10-17 Thread bherman
Thanks guys for all your help.. This made our requests go from seconds to fractions of a second using the method Michael described. On Saturday, October 6, 2018 at 5:00:34 PM UTC-5, Lukasz Szybalski wrote: > > Hello, > I have an enterprise system that is creating a class but it takes a long > ti