key-value형태로 저장하는 repository(redis, in-memory Concurrent hashmap등)에서 key를 생성하는 규칙에 관한 로직은 어디에 작성하는게 맞을까요? | OKKY Q&A