I am refactoring a project with legacy code and moving the old cache to KeyDb.
I have many classes which use cache. Each of them is working with the ids of users. One is for membership, the other for voting, photos, and so on.
And my question - Is it useful to create segment for each of those usages? What should I consider? Is it worthy or just a default segment is enough?
I have read that it can improve performance but on the other hand, it could be needlessly complex.