Skip to content

Commit

Permalink
Miscellania
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Oct 29, 2009
1 parent 74b2599 commit 82d9d93
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
memcache-client.gemspec
pkg
10 changes: 8 additions & 2 deletions FAQ.rdoc
Expand Up @@ -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.
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.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -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


Expand Down

0 comments on commit 82d9d93

Please sign in to comment.