gitlab-org--gitlab-foss/app/controllers/profiles
Yorick Peterse 5371da341e
Remove event caching code
Flushing the events cache worked by updating a recent number of rows in
the "events" table. This has the result that on PostgreSQL a lot of dead
tuples are produced on a regular basis. This in turn means that
PostgreSQL will spend considerable amounts of time vacuuming this table.
This in turn can lead to an increase of database load.

For GitLab.com we measured the impact of not using events caching and
found no measurable increase in response timings. Meanwhile not flushing
the events cache lead to the "events" table having no more dead tuples
as now rows are only inserted into this table.

As a result of this we are hereby removing events caching as it does not
appear to help and only increases database load.

For more information see the following comment:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6578#note_18864037
2016-11-23 14:17:07 +01:00
..
accounts_controller.rb Disable the unlink feature for SAML connected accounts (social login). 2016-06-14 18:28:17 -05:00
application_controller.rb
avatars_controller.rb Remove event caching code 2016-11-23 14:17:07 +01:00
chat_names_controller.rb Add chat_name partial 2016-11-17 14:58:03 +01:00
emails_controller.rb Change deprecated usage of rendering without response body 2016-03-16 03:16:25 +02:00
keys_controller.rb Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage' 2016-05-18 12:48:23 -05:00
notifications_controller.rb Re-use notifications dropdown on user profile 2016-06-16 23:34:21 -03:00
passwords_controller.rb Avoid to show the original password field when password is automatically seted 2016-08-08 13:55:57 -03:00
personal_access_tokens_controller.rb Implement @DouweM's feedback. 2016-06-16 08:24:13 +05:30
preferences_controller.rb added user preference to change layout width 2015-10-05 17:22:47 +02:00
two_factor_auths_controller.rb Address review comments from @smcgivern. 2016-08-18 22:12:02 +05:30
u2f_registrations_controller.rb Allow naming U2F devices. 2016-08-18 22:12:02 +05:30