Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBD: Can database.retrieveSPRCacheItem use the "spr" table rather the "geojson" table #2

Closed
thisisaaronland opened this issue Dec 12, 2020 · 2 comments

Comments

@thisisaaronland
Copy link
Member

Blocked on:

Also, not clear that it's worth it since the go-whosonfirst-spatial/cache.CacheItem interface requires geometries:

But since the geometries are only necessary if we are converting an SPR to GeoJSON maybe loading the geometries can be delayed?

@thisisaaronland
Copy link
Member Author

Time to retrieve 85633041-alt-naturalearth-display-terrestrial-zoom6 from database, 10.656911ms
Time to load feature for 85633041-alt-naturalearth-display-terrestrial-zoom6, 597.103034ms
Time to create spr cache item for 85633041-alt-naturalearth-display-terrestrial-zoom6, 935.211463ms
Time to retrieve 85633041-alt-naturalearth-display-terrestrial-zoom6, 1.447165883s
Time to check 85633041:naturalearth-display-terrestrial-zoom6, 1.505028073s

@thisisaaronland
Copy link
Member Author

Fixed as of v0.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant