NoSQL/Azure Cosmos DB

[Cosmos DB] Compare autoscale vs. standard

개발자_옹이양 2022. 5. 2. 21:30

CosmosDB 표준(프로비저닝된) 처리량과 serverless의 차이

 

Compare workloads

Standard throughput is again suited for workloads with steady traffic.
(표준 처리량은 트래픽이 안정적인 워크로드에 다시 적합합니다.)

 

Autoscale throughput is better suited for unpredictable traffic. Autoscale can ensure that your actual Azure Cosmos DB provisioned throughput oscillates between your minimal acceptable performance and maximum allowed spend.
(자동 스케일 처리량은 예측 불가능한 트래픽에 더 적합합니다. 자동 스케일을 사용하면 실제 Azure Cosmos DB에서 프로비저닝된 처리량이 최소 허용 성능과 최대 허용 지출 사이에서 변동할 수 있습니다.)

 

Compare request units

Standard throughput requires a static number of request units to be assigned ahead of time.
(표준 처리량을 사용하려면 사전에 정적 요청 단위 수를 할당해야 합니다.)

 

With autoscale, you only set the maximum, and the minimum billed will be 10% of the maximum when there are zero requests.
(자동 스케일링에서는 최대값만 설정하고 요청이 0인 경우 최소 청구액이 최대값의 10%가 됩니다.)

 

Compare scenarios

You want to use standard throughput provisioning in scenarios when your team can accurately predict the amount of throughput your application needs, and your team suspects these needs will not change over time. Also throughput provisioning is ideal for scenarios where the full RU/s provisioned is consumed for > 66% of hours per month.
(표준 처리량 프로비저닝을 사용하면 팀이 애플리케이션 요구량을 정확하게 예측할 수 있고 시간이 지나도 이러한 요구 사항이 변경되지 않을 것으로 예상하는 시나리오에서 사용할 수 있습니다. 또한 처리량 프로비저닝은 프로비저닝된 전체 RU가 월 66% 이상의 시간 동안 사용되는 시나리오에 이상적입니다.)

 

Autoscale throughput is helpful if your team cannot predict your throughput needs accurately or otherwise use the max throughput amount for < 66% of hours per month.
(자동 조정 처리량은 팀이 사용자의 처리량 요구를 정확하게 예측할 수 없거나 최대 처리량을 월 66% 미만으로 사용할 경우 유용합니다.)

 

Compare rate-limiting

The standard throughput will always remain static at the set RU/s that is provisioned. Requests beyond this will be rate-limited, with a response indicating that a wait should be attempted before retrying.
(표준 처리량은 프로비저닝된 설정된 RU/s에서 항상 정적인 상태로 유지됩니다. 이 이상의 요청은 속도가 제한되며 재시도하기 전에 대기해야 한다는 응답이 표시됩니다.)

 

Autoscale will scale up to the max RU/s before similarly rate-limiting responses
(자동 스케일은 유사한 속도 제한 응답 전에 최대 RU/s까지 확장됩니다.)

 

 

내용 출처

'NoSQL > Azure Cosmos DB' 카테고리의 다른 글

[CosmosDB] SDK  (0) 2022.05.02
[Azure Cosmos DB] components of Azure Cosmos DB SQL API?  (0) 2022.04.29