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

fix: increase redis cache size #1648

Merged
merged 8 commits into from
Oct 10, 2024
2 changes: 2 additions & 0 deletions servers/fdr-deploy/bin/fdr-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async function main() {
memory: 1024,
cpu: 512,
cacheName: "FernDocsCache3",
cacheNodeType: "cache.r7g.large",
},
{
env: { account: "985111089818", region: "us-east-1" },
Expand All @@ -55,6 +56,7 @@ async function main() {
redisClusteringModeEnabled: true,
cpu: 2048,
cacheName: "FernDocsCache5",
cacheNodeType: "cache.r7g.xlarge",
},
{
env: { account: "985111089818", region: "us-east-1" },
Expand Down
3 changes: 2 additions & 1 deletion servers/fdr-deploy/scripts/fdr-deploy-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ interface FdrStackOptions {
cpu: number;
memory: number;
cacheName: string;
cacheNodeType: string;
}

export class FdrDeployStack extends Stack {
Expand Down Expand Up @@ -165,7 +166,7 @@ export class FdrDeployStack extends Stack {
numCacheShards: 1,
numCacheReplicasPerShard: 0,
clusterMode: "enabled",
cacheNodeType: "cache.r7g.large",
cacheNodeType: options.cacheNodeType,
envType: environmentType,
env: props?.env,
ingressSecurityGroup: fdrSg,
Expand Down
Loading