npolar / api.npolar.no

Searchable data storage
https://api.npolar.no
4 stars 0 forks source link

Rethinking CouchDB-databases #52

Closed cnrdh closed 8 years ago

cnrdh commented 9 years ago

I'm pondering over big data collections like the oceanography or telemetry / tracking databases.

Maybe we should start breaking these into separate databases per data provider

ie

This makes updating and releasing data much easier, but adds complexity (in particular db->search indexing/consistency issues)

cnrdh commented 9 years ago

Just to clarify, multiple databases => joined in 1 ES index

External URIs

  1. /endpoint/q?= for search API
  2. /endpoint/subcollection like /oceanography/buoy[/:id] for document API
cnrdh commented 8 years ago

It's a good idea on the db level, but messy to share ES indexes...