graphql-engine/server/src-lib
Brandon Simmons cc6f1c3b69 multitenant: make ourIdleGC parameters tunable, and with better defaults (SRE-191)
Context: https://hasurahq.atlassian.net/browse/SRE-10

Also remove an overlapping instance.

-----

The new flags if this needs to be tweaked on production by SRE are:

- --idleGCIdleInterval : "When the system has been idle for idleGCIdleInterval we may opportunistically try a major GC to run finalizers"
-  --idleGCMinGCInterval : "We never run an opportunistic GC unless it has been at least idleGCMinGCInterval seconds since the last major GC"
-  --idleGCMaxNoGCInterval : "If it has been longer than idleGCMaxNoGCInterval since the last major GC, force a GC to run finalizers"

Be aware: we may see memory usage grow to higher peaks than before, especially when under load

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6449
GitOrigin-RevId: 662d2f968f0d73b3b6eebb857c49aaede3312705
2022-10-19 21:36:56 +00:00
..
Autodocodec server: codecs for TableMetadata, FunctionMetadata, and permissions 2022-09-12 20:31:07 +00:00
Control server: Share tests between CircularT and MemoizeT. 2022-09-08 19:38:49 +00:00
Data server: switch to ghc 9.2 (2nd try) 2022-10-06 09:09:01 +00:00
Database/MSSQL server/multitenant: resize sources' connection pools when a cloud project is scaled, global connection pooling 2022-10-17 08:06:12 +00:00
GHC Add allocation counter to trace spans and trace metadata 2022-08-18 21:57:59 +00:00
Hasura multitenant: make ourIdleGC parameters tunable, and with better defaults (SRE-191) 2022-10-19 21:36:56 +00:00
Net server: vendor used bits of 'ip' package to cut dependencies 2022-06-20 23:16:51 +00:00
Network Add allocation counter to trace spans and trace metadata 2022-08-18 21:57:59 +00:00