mongocached 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Benchmark.md +5 -1
- data/HISTORY.md +4 -0
- data/README.md +1 -13
- data/lib/mongocached.rb +1 -1
- metadata +35 -3
data/Benchmark.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
## Benchmarks
|
2
2
|
|
3
|
-
Note:
|
3
|
+
Note:
|
4
|
+
|
5
|
+
This isn't expected to quite as fast as memcached, but based on these numbers, it's a viable replacement when you need shared a shared cache and do not have a ton of memory, as diskspace is cheap. If you don't need shared storeage and memory is still an issue, check out [Diskcached](https://github.com/rubyops/diskcached), [it's faster](https://github.com/rubyops/diskcached/wiki/Benchmark-Output).
|
6
|
+
|
7
|
+
Additionally, it's should be noted that these benchmarks were created via localhost, so network latency isn't a factor. I will add benchmarks over a network connection when I get a chance.
|
4
8
|
|
5
9
|
|
6
10
|
### Ruby 1.9.3p194
|
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -1,14 +1,2 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
Cache using mongo, like memcached.
|
4
|
-
|
5
|
-
## Why?
|
6
|
-
|
7
|
-
Because disk space is cheaper.
|
8
|
-
|
9
|
-
## Links
|
10
|
-
|
11
|
-
#### [API Docs](http://rubyops.github.com/mongocached/doc/)
|
12
|
-
#### [Coverage](http://rubyops.github.com/mongocached/coverage/)
|
13
|
-
#### [Benchmarks](https://github.com/rubyops/mongocached/blob/master/Benchmark.md)
|
1
|
+
# [See the Wiki](https://github.com/rubyops/mongocached/wiki)
|
14
2
|
|
data/lib/mongocached.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongocached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mongo
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.6.4
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.6.4
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bson_ext
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.6.4
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.6.4
|
14
46
|
- !ruby/object:Gem::Dependency
|
15
47
|
name: rspec
|
16
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
120
|
version: '0'
|
89
121
|
segments:
|
90
122
|
- 0
|
91
|
-
hash:
|
123
|
+
hash: 332684866161059726
|
92
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
125
|
none: false
|
94
126
|
requirements:
|