|
|
|
|
|
by darklajid
5317 days ago
|
|
The same way the length of a meter is known. By defining it.
They are measuring visitors, they can assign any numbers they like to those. In my (limited) use cases for redis which interfaced with external information like that I usually had a mapping table anyway, to get something like users:nameFromExternalSource:myIncrementalId foo:myId:ThatUsersFoo bar:myId:ThatUsersBar Note again that I'm no expert on redis. There might be problems with that approach that I don't know about - but for me this worked out quite well and seemed to save memory vs any foo:externalIdOrUsername:dataHere name scheme. |
|