onemoredata / bagger

Massive log storage in PostgreSQL
BSD 2-Clause "Simplified" License
9 stars 0 forks source link

Consider pure postgres kvstore plugin #103

Open einhverfr opened 7 months ago

einhverfr commented 7 months ago

This would be suitable for smaller Bagger clusters with just a few nodes, depending on how onerous setting up etcd for this case is.

Initial sketch of design is:

  1. Reads require a user-defined function which generates a query based on the key, runs it and returns it,
  2. Writes use the infra built for the storage agent
  3. Watches use logical replication with the infra we have built.

Initially I think this should be reasonably easy to build. The question is mostly "do we want this?" and so forth. It should wait until after 1.0.