librelist archives

« back to archive

Threading design decision in flask and effect with GAE

Threading design decision in flask and effect with GAE

From:
kevin beckford
Date:
2010-07-30 @ 19:25
Hi, I'm wondering how the thread locals in flask work on app engine.
I read today that

GAE apps do not have threading available.  Is there a problem that I
should be aware of?

I've seen that others are running flask on GAE, but i'm unsure about
robustness...

Re: [flask] Threading design decision in flask and effect with GAE

From:
Ali Afshar
Date:
2010-07-30 @ 19:52
On 30 Jul 2010, at 20:25, kevin beckford <chiggsy@lazyweb.ca> wrote:

> Hi, I'm wondering how the thread locals in flask work on app engine.
> I read today that
> 
> GAE apps do not have threading available.  Is there a problem that I
> should be aware of?
> 
> I've seen that others are running flask on GAE, but i'm unsure about
> robustness...

If there is only one thread eg GAE, then everything is thread local. In 
other words the problem that thread local is designed to solve does not 
exist.