6 tips for improving Node.js performance

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น •

  • @thejahbroda
    @thejahbroda 11 หลายเดือนก่อน +1

    This channel is definitely a repository of quality content

  • @codermeloman3030
    @codermeloman3030 ปีที่แล้ว +1

    More node server content! Thank you

  • @FreeFireloveros
    @FreeFireloveros 2 หลายเดือนก่อน

    I am use redis in node cluster so start 9 cpu so 9 time redis start

  • @abdulazeez.98
    @abdulazeez.98 ปีที่แล้ว +1

    Thank you for the amazing content! 🔥
    I have a question if you don’t mind. I have a NodeJS server deployed on AWS Elastic Beanstalk (just one EC2). I monitor the load on the server by checking the CPU usage (which is around ~5%) and response latency. When shall I worry about performance and scaling? What shall I monitor? Currently, I have around 3k MAU.

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  ปีที่แล้ว +2

      Thank you! And good question! I would say you don't have to worry unless your CPU usage reaches around 70-80%. Having 5% CPU definitely doesn't directly affect any response time. Also don't forget about monitoring the disk memory usage. As soon as there's a noticeable degradation in one of those metrics, it will probably mean it's time to consider scaling :)

    • @abdulazeez.98
      @abdulazeez.98 ปีที่แล้ว

      @@SoftwareDeveloperDiaries
      Thanks!