The Artima Developer Community
Sponsored Link

Java Buzz Forum
Last-Updated: How to hit the DB as much as possible

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Last-Updated: How to hit the DB as much as possible Posted: Nov 24, 2006 9:41 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Last-Updated: How to hit the DB as much as possible
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

While debugging an application, MySQL was crashing and the log was sent over to me. There were hundreds of the same SELECT query (that wasn't tuned too).

After hunting it down, this query was run for every RSS query, calculating the last time the event was updated.

We changed this value to be cached (in-memory speed for lookup on each request) and the issue died.

Read: Last-Updated: How to hit the DB as much as possible

Topic: Say it aint so: MS Novell Dealing Failing Apart? Previous Topic   Next Topic Topic: Flickr: FrameMaker 2006 Confernece

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use