Answer the question
In order to leave comments, you need to log in
Many files in one folder on the server. How to organize quick access?
There are several folders on the server in ramfs, each of which contains relatively many files (about 60000). Files of different sizes, the total volume is 30Mb. Interested in how to organize quick access to them by file name. Do I need to fence gardens, or will the file system handle itself? Will there be an advantage if the files are driven into a database like Redis?
Answer the question
In order to leave comments, you need to log in
Radishes are much more maintainable than ramfs. You can do normal data replication and there is less fuss when starting/stopping the server. I think that reading from radish will be faster especially if you need to read several files at once. This can be done in one transaction (MULTI request to radish). Look at redis.io/topics/benchmarks , you can run it on the same hardware and see what speed the radish will give
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question