Why Bounding Box Search executes too long?

525 views Asked by At

I'm using GeoModel to do Bounding Box Search. There are about 350 events in datastore but it executes >5 sec. The same results on my development environment and on google app engine. Why so long ? Do I need to add some Indexes ?

results = Event.bounding_box_fetch(
    Event.all(),
    geotypes.Box(north_east_lat, north_east_lng, south_west_lat, south_west_lng),
    max_results=100)

On this example it works much better.
I'm using Python 2.7 and google app engine

appstat appstat timeline

1

There are 1 answers

0
alex On BEST ANSWER

The GeoModel is sort of "old stuff" now. It became to expensive since the new GAE Billing has taken place. There's no "official" alternative (from Google) from what I've seen.

Here's a detailed discussion on App Engine group. You might wanna check it out: https://groups.google.com/d/msg/google-appengine/-FqljlTruK4/aXrzUPAlNbAJ