I like to use verbose names in Redis, for instance set-allBooksBelongToUser:$userId.
Is this ok or does that impact performance?
Redis likes to hold all keys in memory. The longer your average key length, the less can be held in memory. So yes, key length can greatly impact performance but probably not significantly in the way you are concerned. That is, with a small keyspace (e.g. one that fits easily in memory), a 128 byte key and a 16 byte key won't perform dramatically differently.