Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
23 stars 12 forks source link

[Story] Switch to more performance AWS development instance #1313

Closed tschaffter closed 1 year ago

tschaffter commented 1 year ago

What projects is this story for?

OpenChallenges

As a user, I want

As a developer, I want to have access to enough CPU cores and memory so that I can deploy all the components of the stack.

Description

No response

Acceptance criteria

Tasks

Anything else?

No response

Have you linked this story to a GitHub Project?

tschaffter commented 1 year ago

T - These types support bursting CPU usage at any time and as long as you need. Each generation has some unique features. In particular, the T4g general-purpose instance type uses AWS Graviton2 processors, which are 40% more efficient than T3 processors. These instances are ideal for web development, testing, and microservices projects.

M - These types of instances are suitable for small and medium-sized databases and enterprise applications like cluster computing and robust data processing.

Fixed vs. Burstable Performance Instances

Burstable performance instances provide a baseline level of CPU performance but let you “burst” above the baseline when your applications need to. Fixed performance instances, on the other hand, let you have consistently high CPU performance.

Small databases, web servers, and developer projects are some of the use cases that need bursts of fast processing but throttle down at other times. Whenever your T instances are idle, they accumulate credits in the CPU, so that when your applications need to burst more than 20% of a core, the CPU can use that credit balance.

For high-volume websites and video encoding, it's best to use the fixed-performance instance types.

Source

Based on what I read, the instance t3.2xlarge would be more suitable than an M instance for web and microservice development.

tschaffter commented 1 year ago

All the members of the team have switched to a t3.2xlarge instance.