Harper (formerly HarperDB) vs Redis
Harper (formerly HarperDB): Node.js runtime that fuses database, cache, app logic and MQTT/WebSocket messaging in one process. Redis: The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
key differences
- Harper (formerly HarperDB) is primarily a document database; Redis is key-value.
- Licensing: Harper (formerly HarperDB) is open source (permissive) (Apache License 2.0 (core); Elastic License 2.0 (Harper Pro)); Redis is open source (copyleft) (Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+)).
- Horizontal scaling is addon in Harper (formerly HarperDB) and native in Redis.
- Only Harper (formerly HarperDB) has joins.
- Only Redis has full-text search, geospatial, stored procedures, streaming ingest.
choose harperdb for
- +Edge caching and API acceleration in front of slower origins
- +Real-time apps needing MQTT or WebSocket fan-out
- +Geo-distributed application backends
- +Vector lookups next to application logic
best at · Cache, Edge, Pub/Sub
choose redis for
- +Application and database query caching
- +Session storage and user tokens
- +Rate limiting and distributed locks
- +Leaderboards and counters
best at · Cache, Sessions, Queue
Harper (formerly HarperDB) vs Redis: FAQ
What is the difference between Harper (formerly HarperDB) and Redis?
Harper (formerly HarperDB): Node.js runtime that fuses database, cache, app logic and MQTT/WebSocket messaging in one process. Redis: The in-memory data structure server that became the default cache, now with search, JSON and vectors built in. Harper (formerly HarperDB) is primarily a document database; Redis is key-value. Licensing: Harper (formerly HarperDB) is open source (permissive) (Apache License 2.0 (core); Elastic License 2.0 (Harper Pro)); Redis is open source (copyleft) (Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+)). Horizontal scaling is addon in Harper (formerly HarperDB) and native in Redis.
When should I choose Harper (formerly HarperDB) over Redis?
Choose Harper (formerly HarperDB) for edge caching and API acceleration in front of slower origins; real-time apps needing MQTT or WebSocket fan-out; and geo-distributed application backends. Choose Redis for application and database query caching; session storage and user tokens; and rate limiting and distributed locks.
Is Harper (formerly HarperDB) or Redis more popular?
Redis ranks #2 on the WhichDB Score (84.3/100) and Harper (formerly HarperDB) ranks #317 (9.1/100). Popularity is not fit: check the requirements that matter for your project.
Are Harper (formerly HarperDB) and Redis open source?
Yes. Harper (formerly HarperDB) is open source. License: Apache License 2.0 (core); Elastic License 2.0 (Harper Pro). Yes. Redis is open source. License: Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+).