Bug Hunt: What made this blog slow?
Join the DZone community and get the full member experience.
Join For Freea while ago the blog start taking 100% cpu on the client machines. obviously we were doing something very wrong there, but what exactly was it?
we tracked down the problem to the following code:
as you can probably guess, the problem is that we have what is effective an infinite loop. on any ajax request, we will generate a new ajax request. and that applies to our own requests as well .
the fix was pretty obvious when we figured out what was going on, but until then…
Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
MLOps: Definition, Importance, and Implementation
-
Structured Logging
-
Integrating AWS With Salesforce Using Terraform
-
Scaling Site Reliability Engineering (SRE) Teams the Right Way
Comments