Which P1 Did the Lookup Mean?

Two sites use the same short asset ID. Build keys that preserve the full identity, and distinguish a missing entry from a stored zero.

12 sections · 4 questions · 1 coding challenge

1 / 12

Small Operations Around Explicit Keys

BOTIE

Redis began in 2009 under Salvatore Sanfilippo. Its string commands illustrate a small interaction: set a value under a key, then retrieve that key. A server can implement that interface without interpreting the application meaning of a pump name.

That division gives the application responsibility for a naming convention. Our site and asset pair is an invented example. The key must carry enough identity before a key-value service can return the intended record.

Sources for this history