rabbit-slide-nishidayuya-2025-07-25-redmine_japan_vol4-redmine_meets_solid_queue 2025.7.25.0 → 2025.7.25.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3e5a5e0ff9f15d36711a7ce7ced626b639a020b2fda2d8972330d120ec2ebe5
4
- data.tar.gz: b2ecb50e4d1b958e6fc43993bd6a65ed36149625f26d4673ccf2bab2530bff09
3
+ metadata.gz: aea0daaac656232b83c9dd8c7afa0892d856bcc1342bfb2e0c8dc03d9ac0f9f3
4
+ data.tar.gz: ec704bb57da47c9282ca052a6e73e4bd828c0b73ceaaeac1ccab2f484b77630b
5
5
  SHA512:
6
- metadata.gz: 173e3fb6ab2e1d43027b99497e9632981a7bbd5e7e9940b29a002862fa235f5fb096fe05ec06517c8f789e9d9d0e2b0fcac37b505456ca962f6082d29a0400ba
7
- data.tar.gz: 4bd16ce89acbea2fadabc597998fdc81d497462458dc0b45bdf6bdfcd7a1ab70448e7e503794472d68ff9225b333e2c5da6068b6a0f8d808ab70e4896ee0c915
6
+ metadata.gz: 4b47d5e63f2b09828a2094b56746db0aa4397bfec81b89a6ffdcf6e87a6b994f9ef4f52736b732afb22a4b9ead114ef6c3b9f32ae4570e3b72dc06fdc2c2a33b
7
+ data.tar.gz: 41234d91359e48e948a884a2e2f60f1134ab1ae98561669e8f518798d561b372a459d6029594d1a446fe661adf7700468a29625409a82a2fcf6240b2706018cf
data/config.yaml CHANGED
@@ -7,7 +7,7 @@ tags:
7
7
  presentation_date: '2025-07-25'
8
8
  presentation_start_time:
9
9
  presentation_end_time:
10
- version: 2025.7.25.0
10
+ version: 2025.7.25.1
11
11
  licenses:
12
12
  - CC-BY-4.0
13
13
  slideshare_id:
Binary file
@@ -38,11 +38,12 @@ Sidekiq which uses Redis for persistance.
38
38
  - Redmineはチケットの追加や更新をメイル通知するのにデフォルトではキューアダプターにAsyncAdapterを使っている.
39
39
  - AsyncAdapterはスレッドベースのため,Redmineが終了するとそのジョブが失われる.具体的にはメイルが失われる.
40
40
 
41
- ![](images/async_queue_adapter.png){:relative_height='30'}
41
+ ![](images/async_queue_adapter.png){:height='90'}
42
42
 
43
43
 
44
44
 
45
- - 実運用の設定例としてジョブの保存先にRedisを使うSidekiqAdapterの設定がredmine.orgで紹介されている.
45
+ - 実運用の例としてジョブの保存先にRedisを使うSidekiqAdapterの設定方法がredmine.orgで紹介されている.
46
+ - https://www.redmine.org/projects/redmine/wiki/SidekiqConfiguration
46
47
 
47
48
  # 背景: キューアダプターあれこれ
48
49
 
@@ -79,13 +80,30 @@ $ bin/jobs start
79
80
  plugin :solid_queue
80
81
  ```
81
82
 
82
- # できた
83
+ # できた!
83
84
 
84
- ![](images/solid_queue_adapter.png){:relative_height='100'}
85
+ ![](images/solid_queue_adapter.png){:height='570'}
86
+
87
+ # redmine.orgのWikiにも書いた
88
+
89
+ - https://www.redmine.org/projects/redmine/wiki/SolidQueueConfiguration
90
+
91
+ ![](images/redmine_org_wiki_SolidQueueConfiguration.png){:height='400'}
85
92
 
86
93
  # めでたしめでたし
87
94
 
88
- # 手順多い
95
+ # いや ちょっと待ってください
96
+
97
+ # 手順
98
+
99
+ 1. Gemfile.localに`gem "solid_queue"`
100
+ 1. 実行: `bundle && bin/rails solid_queue:install`
101
+ 1. db/migrate/年月日時分秒_add_solid_queue_tables.rbにdb/queue_schema.rbの内容を書く
102
+ 1. 実行: `bin/rails db:migrate`
103
+ 1. config/additional_environment.rbに`config.active_job.queue_adapter = :solid_queue`
104
+ 1. このあとスーパーバイザー起動
105
+
106
+ # 手順が多い!
89
107
 
90
108
  # もっと簡単にできないのか?
91
109
 
@@ -121,12 +139,20 @@ $ plugins/redmine_solid_queue/bin/jobs start
121
139
 
122
140
  - Solid Queueは安心簡単
123
141
  - メイル通知の頻度によってはこれだけで十分
124
- - ↓のプラグインを使えば2コマンド実行だけで導入可能
142
+ - ↓のプラグインを使えば最低2コマンド実行だけで導入可能
125
143
  - https://github.com/nishidayuya/redmine_solid_queue
126
144
 
127
- ![](images/qrcode_github.com.png){:relative_height='130'}
145
+ ![](images/qrcode_github.com.png){:height='310'}
146
+
147
+ # 参考
128
148
 
129
- # 時間が余ったら
149
+ - https://github.com/rails/solid_queue
150
+ - Sidekiq vs Solid Queue
151
+ - https://kaigionrails.org/2024/talks/willnet/
152
+ - Redis不要のSolid QueueはSidekiq OSSに勝てるのか?Rails 8で非同期処理を徹底比較
153
+ - https://zenn.dev/counterworks/articles/a899a4f6a621e9
154
+ - (How I) Deploy Solid Queue with Capistrano
155
+ - https://world.hey.com/robzolkos/how-i-deploy-solid-queue-with-capistrano-487b4a31
130
156
 
131
157
  # 自己紹介: 西田雄也 @nishidayuya
132
158
 
data/script.md ADDED
@@ -0,0 +1,9 @@
1
+ RedmineとSolid Queueで安心簡単キュー構成として西田がしゃべります
2
+
3
+ 仕事以外に家庭でもRedmineにはお世話になっております.
4
+ Redmineのプラグインもいくつか作っています.
5
+ で,家庭でもRedmineを使うにあたって楽に運用したいなあと考えたりします.
6
+
7
+
8
+
9
+ 自分が使う用のプラグインもいくいくつ
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-slide-nishidayuya-2025-07-25-redmine_japan_vol4-redmine_meets_solid_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 2025.7.25.0
4
+ version: 2025.7.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya.Nishida.
@@ -37,9 +37,12 @@ files:
37
37
  - images/async_queue_adapter.png
38
38
  - images/async_queue_adapter_all.png
39
39
  - images/qrcode_github.com.png
40
+ - images/redmine_org_wiki_SolidQueueConfiguration.png
40
41
  - images/solid_queue_adapter.png
42
+ - images/solid_queue_adapter_original.png
41
43
  - pdf/2025-07-25-redmine_japan_vol4-redmine_meets_solid_queue-redmine_meets_solid_queue.pdf
42
44
  - redmine_meets_solid_queue.md
45
+ - script.md
43
46
  homepage: https://slide.rabbit-shocker.org/authors/nishidayuya/2025-07-25-redmine_japan_vol4-redmine_meets_solid_queue/
44
47
  licenses:
45
48
  - CC-BY-4.0