Oren Eini

CEO of RavenDB

a NoSQL Open Source Document Database

Get in touch with me:

oren@ravendb.net +972 52-548-6969

Posts: 7,560
|
Comments: 51,176
Privacy Policy · Terms
filter by tags archive
time to read 1 min | 170 words

A 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:

image_thumb

image_thumb[1]

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…

image

FUTURE POSTS

  1. Production postmortem: The race condition in the interlock - 3 days from now
  2. When racing the Heisenbug, code quality goes out the Windows - 5 days from now
  3. RavenDB on AWS Marketplace - 7 days from now

There are posts all the way to Apr 04, 2025

RECENT SERIES

  1. Production Postmortem (52):
    12 Dec 2023 - The Spawn of Denial of Service
  2. RavenDB 7.1 (6):
    18 Mar 2025 - One IO Ring to rule them all
  3. RavenDB 7.0 Released (4):
    07 Mar 2025 - Moving to NLog
  4. Challenge (77):
    03 Feb 2025 - Giving file system developer ulcer
  5. Answer (13):
    22 Jan 2025 - What does this code do?
View all series

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats
}