From 82d9d93248b0435a7b537fda2ae2d3e7fbe09fb7 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Thu, 29 Oct 2009 18:58:43 -0500 Subject: [PATCH] Miscellania --- .gitignore | 2 ++ FAQ.rdoc | 10 ++++++++-- Rakefile | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f15ab06 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +memcache-client.gemspec +pkg diff --git a/FAQ.rdoc b/FAQ.rdoc index 853a708..4d3d6b0 100644 --- a/FAQ.rdoc +++ b/FAQ.rdoc @@ -27,5 +27,11 @@ You can increase the timeout or disable them completely with the following confi The latest version of memcached-client is anywhere from 33% to 100% slower than memcached in various benchmarks. Keep in mind this means that 10,000 get requests take 1.8 sec instead of 1.2 seconds. In practice, memcache-client is unlikely to be a bottleneck in your system but there is always going -to be an overhead to pure Ruby. Evan's memcached gem is a thin wrapper around a C library, which -makes it very fast but also difficult to install for some people. \ No newline at end of file +to be an overhead to pure Ruby. memcache-client does have the advantage of built-in integration into +Rails. + + +== Optimizations + +For various speedups, I recommend you install the SystemTimer and RubyInline gems. memcache-client +will work without them but various operations will speed up if they are available. \ No newline at end of file diff --git a/Rakefile b/Rakefile index e3c5f53..2243116 100644 --- a/Rakefile +++ b/Rakefile @@ -14,10 +14,11 @@ begin s.has_rdoc = true s.files = FileList["[A-Z]*", "{lib,test}/**/*", 'performance.txt'] s.test_files = FileList["test/test_*.rb"] + s.rubyforge_project = 'seattlerb' end rescue LoadError - puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" + puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install jeweler" end