New db format proposal
okdistribute opened this issue · comments
The current way that we are getting the channel list will make things slow if there are tons of messages. Also, to get the message list you currently have to filter out the /metadata entry.
If instead, we do /metadata/{channel}
and /messages/{channel}/1
we can avoid these issues. Getting the channel list is then iterating on /metadata
(which there should only be one per channel).
implemented in cabal-club/cabal-core#2