The development server does not act on the datastore file like a database and you won't see the data updated across multiple running instances of the devserver. The datastore file is just a set of pickled objects and is loaded into memory in it's entirety when the devserver is started.
2009/1/29 3x3x3 <nerd.l...@gmail.com> > > Alex, thanks for your help. > > I want to make some concurrent requests to test my transaction logic > on local dev_appserver.py. > > I tried to run two instances of dev_appserver.py with different port: > 8080 and 9000. > I didn't specify the datastore location path and supposed that both of > the two server instances share the same datastore. > > I created a entity by using the development console > http://localhost:8080/_ah/admin/datastore. > But I could NOT see the entity via the second dev_appserver instance > console http://localhost:9000/_ah/admin/datastore. > > Am I using dev_appserver in a wrong way? > > > On Jan 28, 9:25 pm, Alexander Kojevnikov <alexan...@kojevnikov.com> > wrote: > > Yes, the development server can serve only one request at a time: > http://code.google.com/appengine/docs/python/tools/devserver.html#Usi... > > > > On Jan 28, 9:03 pm, 3x3x3 <nerd.l...@gmail.com> wrote: > > > > > I run dev_appserver.py in Windows. > > > I add time.sleep(10) in one of my scripts and send request to that > > > script in browser. > > > During sleep, I send another request to other script in another > > > browser window. > > > > > It's seem that the second request is blocked until the first one has > > > done. > > > > > > > -- ======================================= 株式会社ビープラウド イアン・ルイス 〒150-0012 東京都渋谷区広尾1-11-2アイオス広尾ビル604 email: ianmle...@beproud.jp TEL:03-5795-2707 FAX:03-5795-2708 http://www.beproud.jp/ ======================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---