gitlab-org--gitlab-foss/lib
Jacob Vosmaer a310901280 Batch size >1000 does not pay off
We did a small experiment to see how a full scan of the Redis keys on
gitlab.com speeds up as we increase the batch size. The values on the
right are time in seconds for a full scan (no delete operations).

count: 10);      284.500529021
count: 100);      86.21216934
count: 1_000);    60.931676195
count: 10_000);   60.96355610
count: 100_000);  62.378172541

It looks like 1,000 is a good number.
2016-02-25 13:50:08 +01:00
..
api Fix API implementation 2016-02-19 18:30:43 +01:00
assets
backup Make sure there is a connection before using ActiveRecord 2016-02-08 17:31:24 +01:00
banzai Merge branch 'rs-emoji' into 'master' 2016-02-19 08:11:02 +00:00
ci Move build eraseable API to proper API context 2016-02-19 17:24:59 +01:00
gitlab Move eraseable implementation to build concern 2016-02-19 17:24:03 +01:00
omni_auth
rouge/formatters Remove custom Lexer. #3945 [ci skip] 2016-01-08 15:20:48 -05:00
support Merge branch 'doc_relative_url' into 'master' 2016-02-10 10:51:18 +00:00
tasks Batch size >1000 does not pay off 2016-02-25 13:50:08 +01:00
award_emoji.rb
banzai.rb
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb