ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · CLF-C02 အပေါ် ဆက်လေ့လာရန်

DynamoDB cost design

Pick the capacity mode and table class that fit the traffic, then cut reads, writes and stored data.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • DynamoDB is serverless, so there are no servers to size.
  • It has on-demand and provisioned capacity modes.
  • You pay for storage and for reads and writes.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
  • On-demand

    Best for
    Spiky or unknown
    Billing
    Per request
  • Provisioned

    Best for
    Steady traffic
    Billing
    Capacity per hour
  • Reserved capacity

    Best for
    Steady base load
    Billing
    1 or 3 year commitment
  • Standard-IA class

    Best for
    Storage-heavy tables
    Billing
    Cheap storage, dear requests
Capacity modes and the table class.

1 / 2

  • On-demand

    Best for
    Spiky or unknown
    Billing
    Per request
  • Provisioned

    Best for
    Steady traffic
    Billing
    Capacity per hour
  • Reserved capacity

    Best for
    Steady base load
    Billing
    1 or 3 year commitment

2 / 2

  • Standard-IA class

    Best for
    Storage-heavy tables
    Billing
    Cheap storage, dear requests
Capacity modes and the table class.
Application
DAX cache
DynamoDB
  1. 1A hot read goes to DAX first. A cache hit never reaches the table.
  2. 2A miss goes on to DynamoDB, and DAX keeps the answer.
DAX answers repeated reads from memory.

ဘာလဲ

On-demand mode bills per request and needs no planning. It suits new, spiky or unknown traffic. Provisioned mode bills the read and write capacity you set, and auto scaling moves it with traffic. It costs less when traffic is steady and predictable. Reserved capacity, for 1 or 3 years in blocks of 100 units, cuts provisioned cost further, by up to 54% or 77%. If you cannot forecast, on-demand is safer than throttling.

ဘာလဲ

Item size drives cost. One read capacity unit covers one strongly consistent read of up to 4 KB, and an eventually consistent read costs half. One write capacity unit covers a write of up to 1 KB. Short attribute names, compressed values and large objects kept in S3 (with a pointer in the item) lower the units used.

ဘာလဲ

The Standard-IA table class cuts the storage price by about 60% and raises the read and write price by about 25%. Use it when storage is most of the bill, such as history and logs. Time to Live (TTL) deletes expired items at no write cost, so old data stops billing for storage. Stream or export it to S3 first if you need it. DAX is an in-memory cache. It answers repeated eventually consistent reads in microseconds and cuts read units for hot items.

မှတ်ထားရန်

  • On-demand: unknown or spiky. Provisioned with auto scaling: steady and predictable.
  • Reserved capacity: 1 or 3 years on provisioned capacity, up to 54% or 77% off.
  • Read unit: one 4 KB strongly consistent read. Eventually consistent costs half.
  • Write unit: one 1 KB write. Large items use more units.

မှတ်ထားရန်

  • Standard-IA table class: cheaper storage, dearer requests. For storage-heavy tables.
  • TTL removes old items for free. DAX cuts reads for hot items.

စာမေးပွဲမှာ

  • “Unpredictable traffic, no capacity planning” points to on-demand mode.
  • “Steady traffic with known peaks, lowest cost” points to provisioned capacity with auto scaling, plus reserved capacity.
  • “Old items should disappear automatically at no write cost” points to TTL.
  • “Table mostly holds rarely read history” points to the Standard-IA table class.
  • “Heavy repeated reads of the same items” points to DAX.