Does name length impact performance in Redis?

后端 未结 4 2023
忘掉有多难
忘掉有多难 2020-12-22 18:41

I like to use verbose names in Redis, for instance set-allBooksBelongToUser:$userId.

Is this ok or does that impact performance?

4条回答
  •  一整个雨季
    2020-12-22 19:12

    I don't think length of variable name will affect performance, variable will take same place as any variable will take for that datatype as far as you are not exceeding maximum name length.

提交回复
热议问题