HSET auto-creates the key; the return counts only newly added fields - overwriting existing fields returns 0 for those.
Client API returns differ: Jedis returns boolean for single-field but Long for Map; Rust hset_multiple returns "OK"; PHP uses hmset. Don't assume a consistent return type across clients.
HGETALL on a very large hash is O(N) and pulls everything into memory - use HSCAN for large hashes.
Storing objects as hashes is far more memory-efficient than JSON strings when you update individual fields.
Give your agent this knowledge — and 17,500+ more routes
One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?