cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit d002dbbeb1c1dc655af898ab23b80315839b23e6
parent 5330789431871552985a139b67119e48a943c027
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri,  7 Apr 2023 16:41:46 +0200

Redis shards in media-repo are not used so lets not deploy them

Diffstat:
Mapps/base/matrix/media-repo/release.yaml | 49+------------------------------------------------
1 file changed, 1 insertion(+), 48 deletions(-)

diff --git a/apps/base/matrix/media-repo/release.yaml b/apps/base/matrix/media-repo/release.yaml @@ -160,58 +160,11 @@ spec: primary: persistence: size: 16G - extendedConfiguration: | - # Connectivity - max_connections = 40 - superuser_reserved_connections = 3 - # Memory Settings - shared_buffers = '16384 MB' - work_mem = '64 MB' - maintenance_work_mem = '620 MB' - huge_pages = try # NB! requires also activation of huge pages via kernel params, see here for more: https://www.postgresql.org/docs/current/static/kernel-resources.html#LINUX-HUGE-PAGES - effective_cache_size = '45 GB' - effective_io_concurrency = 200 # concurrent IO only really activated if OS supports posix_fadvise function - random_page_cost = 1.25 # speed of random disk access relative to sequential access (1.0) - # Monitoring - shared_preload_libraries = 'pg_stat_statements' # per statement resource usage stats - track_io_timing=on # measure exact block IO times - track_functions=pl # track execution times of pl-language procedures if any - # Replication - wal_level = replica # consider using at least 'replica' - max_wal_senders = 0 - synchronous_commit = off - # Checkpointing: - checkpoint_timeout = '15 min' - checkpoint_completion_target = 0.9 - max_wal_size = '1024 MB' - min_wal_size = '512 MB' - # WAL writing - wal_compression = on - wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default) - # Background writer - bgwriter_delay = 200ms - bgwriter_lru_maxpages = 100 - bgwriter_lru_multiplier = 2.0 - bgwriter_flush_after = 0 - # Parallel queries: - max_worker_processes = 6 - max_parallel_workers_per_gather = 3 - max_parallel_maintenance_workers = 3 - max_parallel_workers = 6 - parallel_leader_participation = on - # Advanced features - enable_partitionwise_join = on - enable_partitionwise_aggregate = on - jit = on - max_slot_wal_keep_size = '1000 MB' - track_wal_io_timing = on - maintenance_io_concurrency = 200 - wal_recycle = on extraRepo: useForwardedHost: false redis: - architecture: replication + architecture: standalone auth: enabled: false commonConfiguration: |-