Zum Hauptinhalt springen
LIVE
CVSS 7.0CVE-2026-138158 | libgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_get_string_register() that lets a malicious sierra-protocol camera or USB device overwrite stack memory. When files are listed, the device can answer the file-name register with an oversized packet, writing up to 32 KB past small stack buffers to cause crashes or possible code execution.CVSS 7.7CVE-2026-138159 | edbrowse through 3.8.19 contains an integer overflow in stringAndBytes() that allows malicious servers to write past a heap buffer by sending response bodies larger than 2 GB. When a user browses to an attacker-controlled HTTP, FTP, or gopher server, the oversized body skips reallocation and corrupts the heap, causing crashes or potentially code execution.CVSS 8.5CVE-2026-138160 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.CVSS 8.5CVE-2026-138161 | Gammu before 1.45.2 contains a buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, causing crashes or potential code execution.CVSS 7.3CVE-2026-138162 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.CVSS 8.5CVE-2026-138163 | Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, causing crashes or potential code execution.CVSS 4.8CVE-2026-138164 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.CVSS 9.3CVE-2026-138154 | POSTAL 2 before build 26810491 contains a sandbox escape vulnerability that allows malicious Steam Workshop mods to execute code by calling ConsoleCommand with a start file URI. Attackers can ship a batch file in a mod at the predictable workshop install path and launch it via ShellExecuteW, executing commands as the player on Windows.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

DynamoDB adaptive capacity

DynamoDB spreads your table across partitions, but your traffic rarely spreads evenly. Burst capacity and adaptive capacity are the two automatic mechanisms…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 5 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

DynamoDB spreads your table across partitions, but your traffic rarely spreads evenly. Burst capacity and adaptive capacity are the two automatic mechanisms that stop a skewed workload from throttling — until it hits a hard limit.






What is DynamoDB adaptive capacity?



DynamoDB adaptive capacity is an automatic mechanism that shifts unused throughput toward a hot partition so a skewed key doesn't throttle while the rest of the table sits idle. Paired with burst capacity, it absorbs spikes and sustained skew for free — but it can't push a single key past the partition ceiling.





  • Burst capacity lends you up to 5 minutes (300 seconds) of unused throughput to ride out short spikes. It's a buffer, not a feature you tune.


  • Adaptive capacity automatically raises throughput for a "hot" partition — drawing from the rest of your table's unused capacity — so a skewed key doesn't throttle.


  • It will even isolate a hot item onto its own partition, giving a single key up to the partition ceiling of 3,000 RCU / 1,000 WCU.


  • It is not a license to ignore key design. Past the per-partition ceiling there is nowhere left to borrow — a truly hot key still throttles.






Know the partition ceiling first



Every partition is independently capped: 3,000 read units and 1,000 write units per second. That limit is physical, not provisioned — it holds on both provisioned and on-demand tables. (AWS, Burst and adaptive capacity.)



Coming from SQL, you reason about total server load. In DynamoDB the unit that throttles is the single partition, and one skewed key can melt down while the table sits 90% idle. That's the gap both mechanisms exist to close.






Burst capacity absorbs the short spike



Whenever you don't fully use a partition's throughput, DynamoDB banks the leftover. Up to 300 seconds of that unused capacity is held in reserve, and a sudden burst can drain it faster than your per-second rate would normally allow.



It's invisible and automatic. You can't size it, and DynamoDB may quietly spend some of it on its own background work. Treat it as a cushion for bursty traffic — never as headroom you can plan against.






Adaptive capacity boosts the hot partition



Burst capacity handles short spikes. Adaptive capacity handles sustained skew. When one partition runs hot while its neighbors idle, DynamoDB shifts throughput toward the hot one — up to the table total and the partition ceiling.



Say you run a fleet-telemetry table keyed VEHICLE#<id> (partition) and TS#<epoch> (sort). One delivery van in a flash-sale zone emits 10× the pings of any other. Its partition is hot; the other 200 vans' partitions sit nearly idle.



Adaptive capacity notices and lifts that one partition's throughput, drawing from the unused capacity of the cold partitions. No config, no cost, no warm-up — since May 2019 the boost is effectively instant. (AWS Database Blog, "How DynamoDB adaptive capacity accommodates uneven access patterns".)




Diagram: view on dynotable.com




The hot van's partition needs 150 WCU but its 100-WCU even share would throttle; adaptive capacity borrows the idle WCU from the cold partitions to cover it.






Isolation: when one item is the problem



Skew isn't always per-key — sometimes a single item is white-hot. If relentless traffic drives one VEHICLE#HOT item, DynamoDB's split-for-heat rebalances partitions so that the frequently accessed item lands alone.



Once isolated, that single item's key can pull the full partition ceiling: 3,000 RCU and 1,000 WCU. That's the absolute roof for one key — there is no mechanism above it. (AWS, Key range throughput exceeded.)



One caveat worth pinning: adaptive capacity won't split an item collection across partitions when the table has a Local Secondary Index. An LSI binds the collection to one partition — see GSI vs LSI for why.






When adaptive capacity can't save you



This is the trap. Both mechanisms move throughput around; neither creates more than a partition physically allows.












































Scenario Burst Adaptive Outcome
Short spike, table has slack Covers it — No throttle
Sustained skew, cold neighbors — Boosts hot No throttle
One item, < 3K RCU / 1K WCU — Isolates it No throttle
One item, > partition ceiling
Drained fast At the roof Throttled — redesign needed
Many keys hot at once, table maxed Drained fast Nothing idle Throttled — redesign needed


If a single key legitimately needs more than 1,000 writes a second, no automatic mechanism rescues you — you must spread the load across more keys.



Write sharding is the usual fix: append a suffix (VEHICLE#HOT#0 … #9) so writes fan out across partitions, then fan reads back in.



That fan-in is itself an access pattern to model deliberately, the same way you'd plan a query path in single-table design — adaptive capacity buys time, not a free pass on key design.






See it on your own table



Adaptive capacity is invisible by design, so you reason about it through one symptom: which keys are hot. When you build the sharded write path, the Expression Builder generates the PutItem and Query syntax for a suffixed key.



To watch how a key actually distributes across your data, download DynoTable and run a GROUP BY over your partition key in the SQL Workbench to see how items pile up per key before you assume adaptive capacity has it covered. For the read side of skew, see Query vs Scan.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

Community Rating &amp; Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Verwandte Story-Cluster & Quellen (Vektor-KI)

1 Cluster
2 Quellen
'King-sized' Black Friday deal: Save 79% off Paramount+
tsecurity.de vor 5 Min.
1 weitere Quelle
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten DynamoDB adaptive capacity

Thematisch verwandte Begriffe: DynamoDB, adaptive, capacity · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag