GeezerVison is showing github.com — Add Redis Commands as (HTTP API) Query Language · Issue #1010 · ArcadeData/arcadedb
Add Redis Commands as (HTTP API) Query Language #1010Activitygramian commented on Apr 7, 2023 CollaboratorAuthor More actions changed the title [-]Add Redis Commands as Query Language[/-] [+]Add Redis Commands as (HTTP API) Query Language[/+] on Apr 7, 2023lvca commented on Apr 7, 2023 I think it should be pretty easy to do like we supported MongoDB if the plugin is available at run-time. lvca commented on Jan 26, 2026 This is a very cool idea, finishing the last details... lvca commented on Jan 26, 2026 Redis has 2 ways of scripts:
- implicit with \n
- MULTI/EXEC similar to transactions. We should use ArcadeDB ACID transactions for this.
lvca commented on Jan 26, 2026 MULTI/EXEC Transaction (atomic execution)
MULTI
SET key1 value1
SET key2 value2
INCR counter
EXEC
Batch commands (sequential execution)
SET key1 value1
SET key2 value2
GET key1
GET key2
Comments are supported
# This is a comment
SET key value
// This is also a comment
lvca commented on Jan 26, 2026 From HTTP API you can now do:
Single command
curl -X POST http://localhost:2480/api/v1/command/mydb \
-d '{"language":"redis","command":"PING"}'
Multi-command (ACID transaction in ArcadedB) script
curl -X POST http://localhost:2480/api/v1/command/mydb \
-d '{"language":"redis","command":"MULTI\nSET k1 v1\nSET k2 v2\nEXEC"}'
Batch commands
curl -X POST http://localhost:2480/api/v1/command/mydb \
-d '{"language":"redis","command":"SET k1 v1\nSET k2 v2\nGET k1"}'
lvca commented on Jan 26, 2026 From Java API:
// Single command
database.query("redis", "PING");
// Transaction
database.command("redis", """
MULTI
SET key1 value1
INCR counter
EXEC
""");
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|