All entries for Thursday 03 March 2005

March 03, 2005

The joys of tracking down performance problems

Writing about Performance fixed from Blogbuilder news

So, after a week of struggling on and off with performance problems, I finally nailed it last night.

Sometimes you just need to look at things from a different direction. I'd been really concentrating on garbage collection tuning, hibernate sql tweaking and investigating caches. I did find small problems in all of those areas, but nothing that could really explain why things were going quite so wrong.

So, having eliminated those, I started looking at the access logs again…and there it was. Staring me right in the face was several requests in a row for a particular page in blogs that we'd unlinked months ago because we knew it was slow. But there were the requests anyway. Even though it was unlinked and blocked by a robots.txt and there had been no requests to it for months, suddenly at the start of February, lots of requests started coming in.

It turns out that the Google image search had indexed it a long time ago and finally someone was finding images on that page and requesting them a whole bunch of times.

Moral of the story: Don't just unlink something, disable it completely!

*sigh*

On the plus side, I've learnt a hell of a lot more about tuning this kind of app in the process, but still a frustrating time none the less.


March 2005

Mo Tu We Th Fr Sa Su
Feb |  Today  | Apr
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31         

Tags

Search this blog

Most recent comments

  • One thing that was glossed over is that if you use Spring, there is a filter you can put in your XML… by Mathew Mannion on this entry
  • You are my hero. by Mathew Mannion on this entry
  • And may all your chickens come home to roost – in a nice fluffy organic, non–supermarket farmed kind… by Julie Moreton on this entry
  • Good luck I hope that you enjoy the new job! by on this entry
  • Good luck Kieran. :) by on this entry

Galleries

Not signed in
Sign in

Powered by BlogBuilder
© MMXIX