Skip to content

app with script to reproduce the issue with double entities on appengine

Notifications You must be signed in to change notification settings

aschmid/appenginetestapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create an app on appengine
deploy it to the cloud

go into the fwsimple.py and fwthread.py files and update the domain variable to your apps domain.

the expected result for the 2 scripts is to create an entity on the first push and update it 
with a different name on all other requests.

./fwsimple.py 

the responses of the app are as expected. only 1 entity is created and after 10 requests the name is '10'

./fwthread.py

because of multiple threads pushing the info simultaneously and different machines are hit with the requests,
multiple entities are created. the result is not as expected!

About

app with script to reproduce the issue with double entities on appengine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published