Answer the question
In order to leave comments, you need to log in
Which is faster, storing values in Golang or Redis memory?
Golang is quite fast compared to other languages.
So it became interesting - what would be faster - to store a large amount of data in variables / maps on go or access the Redis server, since it is very fast, and it provides a bunch of ready-made functions that would still need to be written for sampling on go.
Someone faced similar?
Answer the question
In order to leave comments, you need to log in
Of course, it’s faster to store directly in the program, but the radish provides great opportunities for simple data storage. One way or another, you will have to write some kind of wrapper that stores data in arrays and maps, and this is an extra waste of time and you should also think about others (even about yourself after a while), because by the time you figure out what you wrote, a day will pass. Everyone knows the radish.
Storages are used for storage, for reuse possibly by several applications. The application's internal data is not saved even with a simple restart.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question