HilkopterBob / PackageLock

a Package Management Solution made for learning Go and JS/TS from scratch
GNU General Public License v3.0
3 stars 1 forks source link

EVAL: Redis as Database #135

Closed HilkopterBob closed 5 hours ago

HilkopterBob commented 5 days ago

Redis offers speed, persistence, speed and much more

what do ou think @Kartoffel096

HilkopterBob commented 5 days ago

redis supports hash maps, enabling us to dump a struct with arbitrary fields and types under one key (eg. user id) and retrieving one, some, all fields with said key. Redis also supports "reverse lookups", finding a key to a value in hash maps, eg. getting the user id from an associated email. https://redis.io/docs/latest/develop/data-types/hashes/

Kartoffel096 commented 4 days ago

We are going to use redis as DB - this has been discussed in private conversation

HilkopterBob commented 5 hours ago

We will use valkey as database, see #136