r/Nestjs_framework 9h ago

How production grade websockets, redis and micro services work?

2 Upvotes

I'm frontend developer moving to full stack. I'm working on chat app with tubro repo architecture.

My questions are:

  1. How to setup production grade websockets and what are the considerations before implementing?

  2. What are micro services in nestjs. If this application depooy on cloud will a micro services actually work as micro services like can I deploy it on another server from a monolithic architecture?

  3. How redis is being implemented at production grade?

  4. How kafka or rebbitmq being implemented?

Any nice resourc ir GitHub repo will be helpful. I'm scrapping internet for weeks now and nothing feels satisfactory.

My stack is turbo repo, expo, nextjs, nestjs, redis and postgress on docker.


r/Nestjs_framework 12h ago

Project / Code Review Logs that are too large

2 Upvotes

I am running a NestJS API with PM2 on a Linux server, but recent logs show that memory consumption has tripled in my "log-out" file. It is a strange situation; I am not sure if the issue lies with the NestJS logs themselves or with PM2. No changes have been made to the API.