Practices around usage of delimiter between words

We wanted to leverage redis string commands, which is just a simple key, value structure

We are trying to build a concept of cache around these string commands of redis. So, user of cache would pass a cachename , cacheversion (similar to SerialVersionID to track class defitions), key and value.

At the end, our normalized key is going to be cacheName + SEP + keyname + SEP+ cacheversion. where SEP is like a marker between each of the words so that we should later be able to derive keyname or cacheversion or cachename from the normalized keyname

Question is what can be right characters that can be used as SEP (marker) so that they dont clash with key/cacheversion/cachename?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.