Python framework choices for the multithreaded 2.7 python runtime

58 views
Skip to first unread message

Vinuth Madinur

unread,
Jul 5, 2011, 9:54:54 AM7/5/11
to google-a...@googlegroups.com
Hi,

Now that we know by end of the year we'll have a multithreaded 2.7 python runtime, what are the framework choices? I saw webapp and Django 1.2 being mentioned by Greg. Is Django really threadsafe?

What are the other options?

Thanks,
Vinuth.

Tim Hoffman

unread,
Jul 5, 2011, 8:17:44 PM7/5/11
to google-a...@googlegroups.com
Pyramid is explicitly threadsafe is you follow the rules. http://pylonsproject.org/

I would suggest most of the frameworks that come from a non appengine background will be.  As most of them have a async, or threaded model in the servers.

I would be more worried about pure appengine based frameworks as they may be using global module attributes as shortcuts or something like that
as they didn't have to worry about threading or shared global state.  (Though I doubt it)

Regards

Tim

Robert Kluin

unread,
Jul 5, 2011, 11:59:57 PM7/5/11
to google-a...@googlegroups.com, rodrigo...@gmail.com
As I recall, webapp2 (aka webapp-improved) is threadsafe. I would
highly recommend looking at it.

Tipfy may also be threadsafe, but I can't remember for sure.

Robert

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/eO_L_UHV1ZkJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

Reply all
Reply to author
Forward
0 new messages