Ben Sizer schrieb: > The reason I ask is because I have an application where each HTTP > request may result in executing a fairly expensive piece of code, > perhaps taking up to a second to finish, to generate a JSON response.
It seems that your question is not about thread-safety but whether TG (or it's web server) is multi-threaded at all. The answer is yes. > If the web server can only handle 1 request at once then this could be > a potential bottleneck when there are multiple requests coming in. Don't worry, that isn't the case. You can also increase the number of threads to handle requests according to the expected load of your application. Chris -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

