S
S
Sergey Sokolov2019-12-09 13:01:09
Redis
Sergey Sokolov, 2019-12-09 13:01:09

How to document data schema in Redis?

How is it common to document a Redis data schema?
Key name format, types, lifetime, purpose.
To make it clear to other developers.
For example, I really liked Swagger/OpenAPI for describing the API.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2019-12-09
@sergiks

We have a shared library with types and methods for working with Redis. All key generation is there. Stored json or binary data serialized using protobuf.
Suitable if everyone writes in the same language.

P
Papa, 2019-12-09
Stifflera @PapaStifflera

How are you going to document what isn't there? Redis is a key-value database and has no data schemas. Both keys and values ​​are strings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question