data_store 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ##0.1.1
2
+
3
+ * Add index in table definition
4
+
5
+ ##0.1.0
6
+
7
+ * Move away from Celluloid. To many problems in a web application with Puma.
8
+
1
9
  ##0.0.9
2
10
 
3
11
  * Bug fix: connect to database in case of a DATABASE_URL now works wiht JRuby as well
data/REMINDERS CHANGED
@@ -5,4 +5,40 @@ Publish gem
5
5
  # git tag -a 0.0.1 -m "Initial commit"
6
6
  # git push --tags
7
7
  # gem build data_store.gemspec
8
- # gem push data_store-0.0.1.gem
8
+ # gem push data_store-0.0.1.gem
9
+
10
+
11
+ Issues with Celluloid
12
+ =====================
13
+
14
+ * With Puma under Rubinius it stalls completely after several hours. Heavy memory leakage
15
+ * With Unicorm and plain Ruby 1.9.3 (so no real multi threading possible because of the GIL),
16
+ we see the following output when shutting down
17
+
18
+ I, [2013-03-25T10:30:04.140928 #26070] INFO -- : Refreshing Gem list
19
+ D, [2013-03-25T10:30:04.488992 #24237] DEBUG -- : Terminating 66 actors...
20
+ D, [2013-03-25T10:30:04.494150 #24237] DEBUG -- : Shutdown completed cleanly
21
+ D, [2013-03-25T10:30:04.589497 #24244] DEBUG -- : Terminating 150 actors...
22
+ I, [2013-03-25T10:30:04.590182 #26579] INFO -- : worker=0 spawned pid=26579
23
+ D, [2013-03-25T10:30:04.599161 #24244] DEBUG -- : Shutdown completed cleanly
24
+ I, [2013-03-25T10:30:04.601420 #26579] INFO -- : worker=0 ready
25
+ D, [2013-03-25T10:30:04.689328 #24250] DEBUG -- : Terminating 90 actors...
26
+ I, [2013-03-25T10:30:04.691625 #26585] INFO -- : worker=1 spawned pid=26585
27
+ D, [2013-03-25T10:30:04.695504 #24250] DEBUG -- : Shutdown completed cleanly
28
+ I, [2013-03-25T10:30:04.702978 #26585] INFO -- : worker=1 ready
29
+ D, [2013-03-25T10:30:04.789278 #24255] DEBUG -- : Terminating 78 actors...
30
+ I, [2013-03-25T10:30:04.792916 #26592] INFO -- : worker=2 spawned pid=26592
31
+ D, [2013-03-25T10:30:04.795271 #24255] DEBUG -- : Shutdown completed cleanly
32
+ I, [2013-03-25T10:30:04.805010 #26592] INFO -- : worker=2 ready
33
+ I, [2013-03-25T10:30:04.891945 #26070] INFO -- : master process ready
34
+ I, [2013-03-25T10:30:04.894110 #26597] INFO -- : worker=3 spawned pid=26597
35
+ I, [2013-03-25T10:30:04.904873 #26597] INFO -- : worker=3 ready
36
+ I, [2013-03-25T10:30:04.987436 #23737] INFO -- : reaped #<Process::Status: pid 24237 exit 0> worker=0
37
+ I, [2013-03-25T10:30:04.987566 #23737] INFO -- : reaped #<Process::Status: pid 24244 exit 0> worker=1
38
+ I, [2013-03-25T10:30:04.987642 #23737] INFO -- : reaped #<Process::Status: pid 24250 exit 0> worker=2
39
+ I, [2013-03-25T10:30:04.987708 #23737] INFO -- : reaped #<Process::Status: pid 24255 exit 0> worker=3
40
+ I, [2013-03-25T10:30:04.987761 #23737] INFO -- : master complete
41
+ D, [2013-03-25T10:30:04.989171 #23737] DEBUG -- : Terminating 4 actors...
42
+ D, [2013-03-25T10:30:04.990623 #23737] DEBUG -- : Shutdown completed cleanly
43
+
44
+ * So it seems the actor stay alive for some reason
@@ -34,6 +34,7 @@ module DataStore
34
34
  column :value, data_type
35
35
  column :original_value, data_type if original_value
36
36
  column :created, :double
37
+ index :created
37
38
  end
38
39
  end
39
40
  end
@@ -1,3 +1,3 @@
1
1
  module DataStore
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-25 00:00:00.000000000 Z
12
+ date: 2013-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: -2439904526786876383
81
+ hash: -1448628229198858283
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: -2439904526786876383
90
+ hash: -1448628229198858283
91
91
  requirements: []
92
92
  rubyforge_project:
93
93
  rubygems_version: 1.8.25