Hello guys. I am looking for some solution to add ...
# orm-help
v
Hello guys. I am looking for some solution to add cache to the backend. I am using nexus with prisma. I found that my queries are quite heavy and with 500+ concurrent requests response time is more than 10 seconds. Any way I can add redis cache or memcache? Cannot find any solutions
m
Taking a look at this Prisma middleware (prisma-lrucache-middleware) for caching https://github.com/abhiaiyer91/prisma-lrucache-middleware or implement a redis cache yourself using Prisma Middleware.
plus one +1 1
r
@vnadygin 👋 You can also read this thread where they have implemented this with Redis and Prisma’s middleware.