Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary revert scaling changes #485

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const NINE_SECONDS_MS = 9 * 1000

// Segments are small and immutable.
const segmentCache = new LRUCache<string, Cached>({ max: 1000 })
const searchCache = new LRUCache<string, Cached>({ max: 6000 })
const searchCache = new LRUCache<string, Cached>({ max: 3000 })
const messagesCache = new LRUCache<string, Cached>({ max: 3000 })
const vbaseCache = new LRUCache<string, Cached>({ max: 3000 })
const appsCache = new LRUCache<string, Cached>({ max: 1500 })
Expand Down
10 changes: 5 additions & 5 deletions node/service.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading