Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-29 16:51:34 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-29 16:51:34 +0300
commit227728712ec5b469a36dbaf8c9511098b4817741 (patch)
treee443174f1322c3970fbd1f67b7b18ec95ef1fe44 /db/schema.rb
parente221990ebac72b8b229b8c3ff38069edbf7776a7 (diff)
parentf3d4f2eac7bcf787a00a6cff694fbfa8969830f4 (diff)
Merge branch 'note-background-job' into 'master'
Background process note logic for #3948 Quick and dirty way to get *most* of the note processing out of band and into the background. Seeing some pretty nice speed bumps. Keep in mind that doing this in process results in slower and slower responses as more notes are added and more participants exist. ``` without background processing Completed 200 OK in 627ms (Views: 0.5ms | ActiveRecord: 32.3ms) Completed 200 OK in 478ms (Views: 0.8ms | ActiveRecord: 28.3ms) Completed 200 OK in 1107ms (Views: 0.6ms | ActiveRecord: 36.6ms) with background processing Completed 200 OK in 108ms (Views: 0.6ms | ActiveRecord: 4.7ms) Completed 200 OK in 78ms (Views: 0.5ms | ActiveRecord: 4.5ms) Completed 200 OK in 164ms (Views: 0.5ms | ActiveRecord: 8.3ms) ``` As you can see, speeds are consistent when doing the harder work out of process. I'm not sure the number of sql queries we're saving, but based on the logs alone it's a pretty good amount. @dzaporozhets @yorickpeterse I would love some input on this. See merge request !2631
Diffstat (limited to 'db/schema.rb')
0 files changed, 0 insertions, 0 deletions