By Developers, For Developers

Historical errata for Using memcached

PDF PgPaper PgTypeDescriptionFixed onComments
1TYPO

The creator of LiveJournal, Brad Fitzpatrick, is incorrectly referred to as “Brad Fitzgerald.”

12SUGGEST

This booklet is very good. I have one request: It seems this PDF is not indexed. I have tried to search it using either skim, spotlight or preview and it finds nothing.

So, please, please, can you index it?

Thanks.

12TYPO

“One way to remove date from memcached is to delete it”

should read

“One way to remove data from memcached is to delete it”

- first paragraph, first sentence -

67TYPO

If you’re code has been written to minimize cache stampedes then this should be a minimal impact.

“You’re” should be “your”, this should “have” minimal impact

27TYPO

@Sidebar “Not ever client supports compression.”
Should be “Not ever[y] client…”

61TYPO

@first sentence on page:
“…you need to be prepared to get handle an error code and respond to it”. To handle is to respond; sentence needs to be reworded.

15TYPO

“The simplest is flusha_all.” should be “The simplest is flush_all.”

2TYPO

“With memcached, the web page check memcached” should be “checks memcached”

26TYPO

In the side bar, the last paragraph reads: “…but you should
now it’s here so you can…”. It should be: “…but you should
know it’s here so you can…”. Summary: instead of “now”, it should be “know”.

63TYPO

Section 4.6 paragraph 2, “If you’re code has been written” should grammatically be be “If your code has been written”.

23ERROR

Line 6 of the script uses “deb01:11211”, but the sidebar implies that “deb01” should be shown as an IP address (like the “192.168.0.80:11211” on line 7).

5TYPO

Brad Fitzpatrick’s name is given as “Brad Fitzgerald”.

32TYPO

Last line on page contains double negative “isn’t not” which should say “is not”.

1TYPO

Brad’s name is Brad Fitzpatrick, not Brad Fitzgerald, as the text reads. See his personal site or Wikipedia article.

2117TYPO

because multiple servers for an application will be
storing differen sets of data.

differen->different

36SUGGEST

In the calendar of events scripts:

my $lockKey = sha512_base64($statement.“:lock” );
my $key = sha512_base64($statement);

If the order were reversed, it could be:
my $key = sha512_base64($statement);
my $lockKey = $key . “:lock”;

Both are still unique, and it saves an sha512 and base64. It does mean the key sizes are different, but the saved computing time could be used for something more fun. :)

43SUGGEST

The GetCalendarOfEventsDB (–3.pl) needlessly recalculates the key on line 25 when inserting the result of the database lookup into the cache.

62TYPO

“Let’st start with” should be “Let’s start with”

69TYPO

“with the each of the $dataKey” should read “with each $dataKey” or “with every $dataKey”.

16TYPO

cmd_misses -> get_misses

16TYPO

context for #48697: This data is actually derived using cmd_get, get_hits, and cmd_misses.

27TYPO

enable_comprss->enable_compress
Context: enable_comprss only works, however, if the compression threshold has been set

32ERROR

tempest url no longer works, alternate:
shakespeare.mit.edu/tempest/full.html

17TYPO

“differen sets of data” near the end of the first paragraph.

26TYPO

First line under Server Hashing: “retreive” should be “retrieve”.

In the sidebar, “Not ever client” should read “Not every client”.

36TYPO

First paragraph, second line “programing”.

Second paragraph: “memcached limits they key size”

Categories: