diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e4c4ee9..87605bd5 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 + +- Set minimum replicas to 5. +- Increased search cache size. +- Reduced apps cache size. + ## [1.74.0] - 2025-01-29 ### Changed diff --git a/node/index.ts b/node/index.ts index 3d5675da..d64359fa 100644 --- a/node/index.ts +++ b/node/index.ts @@ -17,10 +17,10 @@ const NINE_SECONDS_MS = 9 * 1000 // Segments are small and immutable. const segmentCache = new LRUCache({ max: 1000 }) -const searchCache = new LRUCache({ max: 3000 }) +const searchCache = new LRUCache({ max: 6000 }) const messagesCache = new LRUCache({ max: 3000 }) const vbaseCache = new LRUCache({ max: 3000 }) -const appsCache = new LRUCache({ max: 3000 }) +const appsCache = new LRUCache({ max: 1500 }) metrics.trackCache('segment', segmentCache) metrics.trackCache('search', searchCache) diff --git a/node/service.json b/node/service.json index d5261efc..159648b3 100644 --- a/node/service.json +++ b/node/service.json @@ -8,7 +8,7 @@ }, "ttl": 60, "timeout": 12, - "minReplicas": 10, + "minReplicas": 5, "maxReplicas": 250, "workers": 2, "routes": {