Monday, April 14, 2008

Tags and hiccups

This weekend we made a number of important structural changes to how LibraryThing's 34.8 million tags are stored in the database. (For database heads, tags are now "fully normalized.")

The immediate upside is that tags can now be up to 255 characters long. It will also allow us to improve some features, such tag editing.

The downside is that the changes have hurt performance. Certainly the site is running very "hot," forcing us to choose between running slow and pulling back service. Right now we're doing the latter, redirecting most non-member traffic to the home page to sign in or sign up. This cuts back the large proportion of our traffic that is bot-related, but we can't run this way for too long.

It's unclear if the change is itself to blame or the loss of various tag-related caches, which need to be built up afresh with the new structures. There also appear to be some places that are hurting more than others, which code can perhaps be re-written. We're going to be looking carefully at what we can do, and deciding whether we need to make additional changes, or pull back the ones we made.

Thanks for your patience. The next few days may see occasional slowness or downtimes. With the four of us on it, however, we hope to minimize problems and solve this to everyone's satisfaction.

10 Comments:

Anonymous Anonymous said...

I noticed that a bulk load of 33 books has been sitting since early this morning.

romsfuulynn

4/14/2008 2:27 PM  
Blogger pmc said...

It looks like some test stuff might have gotten accidentally released as well. If I click on member reviews on a book detail page, I get a blank screen with a "test" link unsuccessfully hidden in the bottom left-hand corner that pops up a tres ugly box.

4/14/2008 2:53 PM  
Anonymous Anonymous said...

Speaking of tags: http://www.librarything.com/talktopic.php?topic=12726

4/14/2008 9:28 PM  
Anonymous Anonymous said...

Is this why, every time I try to add tags or a review from the "edit book" screen, I get a white page starting "You have an error in your SQL syntax" and ending "fatal error (31.1)"? I can still add tags from "my library" but reviews are getting lost this way.

muumi

4/16/2008 12:56 AM  
Blogger Tim said...

Tell me if you're still getting that error. I think I just fixed it.

4/16/2008 12:58 AM  
Anonymous Anonymous said...

In the top ten tags displayed on my profile, 'unread' has disappeared. Is this part of the hiccup?

4/19/2008 9:20 AM  
Blogger Tim said...

Hey, I redid yours and it works. I'm not sure what happened. It is cached; did you add them recently or change them recently?

4/19/2008 9:47 AM  
Anonymous Anonymous said...

Believe I have the same issue as lasair. See Msg 2 in this thread.

http://www.librarything.com/talktopic.php?topic=34837

While I may have made some changes to the qtys in recent weeks, they have both been in my top tags for some time.
Thanks!

4/19/2008 1:31 PM  
Anonymous Anonymous said...

Quote from the blog post:
"The immediate upside is that tags can now be up to 255 characters long"

You just made my day. I have been wanting this since I joined LT. Thank yoouuuuuuuuuuuuuu!

LT user:An_Fear_Glas

4/22/2008 1:55 PM  
Anonymous Anonymous said...

Tim,
I may be way off, but it seems that my bizarro printing error seems to have happened around the same time, see:
http://www.librarything.com/talktopic.php?topic=35028
Can you help?

4/25/2008 12:10 PM  

Post a Comment

<< Home