Given that YugaByte offers client drivers for Redis and Postgres, I was wondering about performance differences between the two if used in similar fashion.
For example, assume a Postgres table with 2 columns, 1 VARCHAR as the primary key and 1 TEXT column for the data. The only queries executed against this table are INSERT INTO
, UPDATE
, SELECT val
,SELECT EXISTS(...)
, DELETE FROM
all with a WHERE primary_key_constraint = val
condition.
Usage is analog to Redis operations SET
, GET
, EXISTS
, DEL
.
Does the Postgres driver add overhead to those operations compared to the Redis driver?