It should not be an issue with mixing environments.
Can you provide more information?


Marin

On Mon, Aug 15, 2011 at 6:27 PM, Carlos <[email protected]> wrote:

> Hi,
>
> I'm having some weird errors about web2py/python not finding classes /
> objects in my models when multiple simultaneous requests come from different
> browsers/sessions.
>
> I'm still running locally (not in production), using the latest web2y trunk
> on windows 7 with postgresql and rocket.
>
> My models are huge for the moment and all in root, which is ok for now. I
> know I can use the new model sub-folders, modules, etc., but that's not the
> issue here.
>
> Is web2py (or rocket) actually capable of handling simultaneous / parallel
> web requests without mixing environments (data / models) from these multiple
> requests?.
>
> In one of such cases, I have one class that gets instantiated in my very
> first model, and suddenly I get an error in my 3rd. model that such instance
> is None !, which makes no sense because I did instantiate that in my model #
> 1 and I never reset such var.
>
> All these errors do NOT occur at all when I do one web request at a time.
>
> Is it because I'm using rocket?, will these problems disappear as soon as I
> move to apache or nginx?, or is this directly related to web2py or python?.
>
> Remember, this is specifically for handling *simultaneous* web requests
> (from different browsers/sessions) with a long execution time (big models).
>
> Thanks for your input.
>
>    Carlos
>
>

Reply via email to