MapofLife / MOL

Integrating information about species distributions in an effort to support global understanding of the world's biodiversity.
http://mol.org
BSD 3-Clause "New" or "Revised" License
26 stars 2 forks source link

Feature/query logger #188

Closed jmalczyk closed 11 years ago

jmalczyk commented 11 years ago

Implements a species list log table.

jmalczyk commented 11 years ago

The public comment period has closed, and this is now in production ... so, merging.

eightysteele commented 11 years ago

The public comment period has closed, and this is now in production ... so, merging.

Ha nice. :)

Looks like we're straight up logging here. A different approach is writing usage stats to an actual datastore model and surfacing those stats as an API. Downloading and processing GAE logs can be kind of painful, IMO.

If we decided to go with datastore logging, there's a pretty straight forward sharding scheme to avoid write contention when there are lots of concurrent requests.

Good stuff man!