Do you need to create a connection every time you use redis in nodejs?

when nodejs uses redis, it is necessary to create one client at a time and close it after using it! Or create it only once, keep a persistent connection with one client, each time, and do not close

Menu