gitlab-org--gitlab-foss/app/services/projects
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
..
import_export squashed - added avatar saver/restorer and specs 2016-07-19 13:06:06 +02:00
autocomplete_service.rb Revert "Merge branch '22680-unlabel-limit-autocomplete-to-selected-items' into 'master'" 2016-11-17 09:39:23 +00:00
create_service.rb Precalculate user's authorized projects in database 2016-11-18 20:25:45 +02:00
destroy_service.rb Before deleting project if forked unlink fork 2016-09-13 14:40:05 +02:00
download_service.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
enable_deploy_key_service.rb Namespace EnableDeployKeyService under Projects 2016-08-08 20:59:51 +02:00
fork_service.rb Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
housekeeping_service.rb Refine Git garbage collection 2016-11-04 14:30:11 +01:00
import_service.rb Check if repository already exists before trying to re-import it 2016-10-28 11:12:48 +02:00
participants_service.rb shows user avatar in mention autocomplete in editor 2016-11-16 00:03:24 +06:00
transfer_service.rb Remove event caching code 2016-11-23 14:17:07 +01:00
unlink_fork_service.rb Fix incorrect variable name 2016-04-04 14:41:01 +00:00
update_service.rb Fix Project#to_param to keep invalid project suitable for use in URLs 2016-07-27 13:52:45 -03:00
upload_service.rb DRY up upload and download services 2016-01-08 17:38:53 +01:00