Skip to main content
Swytch Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Bitmaps, HyperLogLog, Geo, and Scripting

Choose a specialized Redis structure when it directly fits the application task.

TaskStructureReference
Track compact boolean flagsBitmapsBitmap commands
Estimate distinct visitorsHyperLogLogCardinality commands
Find nearby indexed locationsGeospatial sorted-set operationsGeo commands
Group operations inside the serverLua scripts or functionsScripting commands

HyperLogLog estimates a count; it does not retain an exact set of members. Scripting compatibility depends on available Lua libraries and supported commands. Review scripting differences before moving an existing script.

Shared keys retain their topology costs regardless of the structure. Measure the actual operation and data size when sizing the sidecar.