DEV Community

Discussion on: Tell me a bug story

Collapse
 
mandaputtra profile image
Manda Putra

My bug that never never solved. my app has transaction over websocket like 2000 request per sec.

The bug was memory leak, I use socket.io debugging it was so painfull because I cant fake those request on my local machine.

First time I was blaming socket.io because of memory leak, so I created an app again that mimic the same data transaction over websockets. Turns out I cant reproduce the memory leaks issue with socket.io.

For now on I just load balancing the server. But I'm afraid when the transaction goes bigger and bigger maybe I just throw another load balancing server...

Memory leaks issue are the hardest bug I ever encounter