Using the Google Engine:
application = webapp.WSGIApplication([('/', Home)],
debug=True)
def main():
run_wsgi_app(application)
if __name__ == "__main__":
main()
If two different users request a web page on two different computers, will two separate server instances be involved?
Or is only one server instance running all the time that processes all requests?
How about having one user open a webpage twice in the same browser?
Edit
According to the answers below, one instance can process requests from different users one at a time. Then, consider the following piece of code, taken from a Google example:
class User(db.Model):
email = db.EmailProperty()
nickname = db.StringProperty()
1, ?
2. , , , , ? (, )
. , , , ,