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 +4 -4
- data/config.yaml +1 -1
- data/images/redmine_org_wiki_SolidQueueConfiguration.png +0 -0
- data/images/solid_queue_adapter.png +0 -0
- data/images/solid_queue_adapter_original.png +0 -0
- data/pdf/2025-07-25-redmine_japan_vol4-redmine_meets_solid_queue-redmine_meets_solid_queue.pdf +0 -0
- data/redmine_meets_solid_queue.md +34 -8
- data/script.md +9 -0
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aea0daaac656232b83c9dd8c7afa0892d856bcc1342bfb2e0c8dc03d9ac0f9f3
|
4
|
+
data.tar.gz: ec704bb57da47c9282ca052a6e73e4bd828c0b73ceaaeac1ccab2f484b77630b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b47d5e63f2b09828a2094b56746db0aa4397bfec81b89a6ffdcf6e87a6b994f9ef4f52736b732afb22a4b9ead114ef6c3b9f32ae4570e3b72dc06fdc2c2a33b
|
7
|
+
data.tar.gz: 41234d91359e48e948a884a2e2f60f1134ab1ae98561669e8f518798d561b372a459d6029594d1a446fe661adf7700468a29625409a82a2fcf6240b2706018cf
|
data/config.yaml
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/pdf/2025-07-25-redmine_japan_vol4-redmine_meets_solid_queue-redmine_meets_solid_queue.pdf
CHANGED
Binary file
|
@@ -38,11 +38,12 @@ Sidekiq which uses Redis for persistance.
|
|
38
38
|
- Redmineはチケットの追加や更新をメイル通知するのにデフォルトではキューアダプターにAsyncAdapterを使っている.
|
39
39
|
- AsyncAdapterはスレッドベースのため,Redmineが終了するとそのジョブが失われる.具体的にはメイルが失われる.
|
40
40
|
|
41
|
-
{:
|
41
|
+
{:height='90'}
|
42
42
|
|
43
43
|
↓
|
44
44
|
|
45
|
-
-
|
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
|
-
{:
|
85
|
+
{:height='570'}
|
86
|
+
|
87
|
+
# redmine.orgのWikiにも書いた
|
88
|
+
|
89
|
+
- https://www.redmine.org/projects/redmine/wiki/SolidQueueConfiguration
|
90
|
+
|
91
|
+
{: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
|
-
-
|
142
|
+
- ↓のプラグインを使えば最低2コマンド実行だけで導入可能
|
125
143
|
- https://github.com/nishidayuya/redmine_solid_queue
|
126
144
|
|
127
|
-
{:
|
145
|
+
{: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
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.
|
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
|