diff --git a/CHANGELOG.md b/CHANGELOG.md index 945eeee4..0c3a3071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changed + +- Pod scaling configs to use 0.8 vCPUs and 2Gb of memory. +- Increase minimum to 30. +- Reduce search-cache to 3000 items. + ## [1.75.0] - 2025-02-04 ### Changed diff --git a/node/index.ts b/node/index.ts index d64359fa..70fd50e5 100644 --- a/node/index.ts +++ b/node/index.ts @@ -17,7 +17,7 @@ const NINE_SECONDS_MS = 9 * 1000 // Segments are small and immutable. const segmentCache = new LRUCache({ max: 1000 }) -const searchCache = new LRUCache({ max: 6000 }) +const searchCache = new LRUCache({ max: 3000 }) const messagesCache = new LRUCache({ max: 3000 }) const vbaseCache = new LRUCache({ max: 3000 }) const appsCache = new LRUCache({ max: 1500 }) diff --git a/node/service.json b/node/service.json index 159648b3..35f79b9c 100644 --- a/node/service.json +++ b/node/service.json @@ -1,14 +1,14 @@ { "stack": "nodejs", - "memory": 4096, + "memory": 2048, "cpu": { "type": "shared", - "value": 200, - "scalingPercentage": 80 + "value": 80, + "scalingPercentage": 95 }, - "ttl": 60, + "ttl": 30, "timeout": 12, - "minReplicas": 5, + "minReplicas": 30, "maxReplicas": 250, "workers": 2, "routes": {