I think we should add a Catalog interface and convert existing implementation (core/catalog.go) to adopt such interface. This will allow easily switch to another back-end implementation. For instance, right now we use SQL database, but may be we may use document-oriented DB (like CouchDB or MongoDB) or key-value stores (e.g. dgraph badger DB, https://github.com/dgraph-io/badger)
I think we should add a Catalog interface and convert existing implementation (core/catalog.go) to adopt such interface. This will allow easily switch to another back-end implementation. For instance, right now we use SQL database, but may be we may use document-oriented DB (like CouchDB or MongoDB) or key-value stores (e.g. dgraph badger DB, https://github.com/dgraph-io/badger)