Hi, im currently working on a project and i was just wondering if it is possible to host a redis server in node js, any help would be appreciated!
Comment From: pedroramon
What do you mean by 'host' in nodeJS?
Redis is a database that you need to connect to via TCP to send/receive data using the appropriate protocol (RESP). You can use the NodeJS driver (which implements the protocol) to connect and expose this using whatever you like.
See: https://github.com/redis/node-redis
Comment From: hpatro
@unnaturalistic Redis (Remote-Dictionary-Server) can't be embedded into the application. It is meant to be accessed remotely via different network protocol like (TCP, Unix Domain Sockets).
Comment From: sundb
Do you want an embeded redis? There is a similar discussion in https://github.com/redis/redis/issues/8802.