Wednesday, August 3, 2011

Test Google Datastore with Places REST service

https://code.google.com/p/app-engine-datastore/source/browse/#svn%2Ftrunk




The REST java class


URLS:
http://places-test-datastore.appspot.com/places/count


http://places-test-datastore.appspot.com/places/querycount?fromLat=49.39&toLat=49.41&fromLng=32.02&toLng=32.07&sort=hash
ERROR: can't have inequality filters on different properties: lat and lng

http://places-test-datastore.appspot.com/places/querycount?fromLat=49.39&toLat=49.41&sort=hash
ERROR: inequality filter property and first sort order must be the same: lat and hash

http://places-test-datastore.appspot.com/places/querycount?fromLat=49.39&toLat=49.41&sort=lat



Results: In long time (1min and 1000 PUT iteration) multi threading datastore slows and gets connection timout error.

No comments: