Max Mazurov
Max Mazurov
Can we borrow some code from http://github.com/emersion/slurp? Or for simplicity just call slurp binary?
https://tools.ietf.org/html/rfc2087 https://github.com/emersion/go-imap-quota https://github.com/emersion/go-imap-quota/issues/6
It is inefficient and can be avoided if input SeqSet is prepared accordingly.
We need to create a pattern_ops index so PostgreSQL can do a prefix search effectively.
>CockroachDB is a cloud-native SQL database for building global, scalable cloud services that survive disasters. >CockroachDB supports the PostgreSQL wire protocol, so you can use any available PostgreSQL client drivers...
Not sure what's exactly is happening, but decreaseRefForMarked query seems to be the problem.
We should retry on serialization error (possibly, with a small delay). Currently we hard-fail and reject modifications. Related to #12, we might able to decrease rate of serialization failures. But...
Instead of putting all files into one directory, use first byte as a name for subdirectory. This is important to amortize lookup time.