Implementing a Fixed‑Window Postgres Rate Limiter for a Public API TL;DR: I added a deterministic fixed‑window rate limiter backed by PostgreSQL to stop the API from spitting out 429 on every request. The change lives in src/infra/postgresRateLimiter.ts and required a tiny schema tweak plus a few atomic SQL statements. The Problem Our public API... Weiterlesen: Implementing a Fixed‑Window Postgres Rate Limiter for a Public API
Intelligence View
⚡ tsecurity.de Intelligence
Implementing a Fixed‑Window Postgres Rate Limiter for a Public API
Implementing a Fixed‑Window Postgres Rate Limiter for a Public API TL;DR: I added a deterministic fixed‑window rate limiter backed by PostgreSQL to stop the API…
Quelle & Fakten · 1 Min. Lesezeit
Quelle: DEV Community (dev.to)
Rubrik: Sichere Programmierung
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
0 freigegeben Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
Powered by tsecurity.de
tsecurity.de Hub
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
★★★★★
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Powered by tsecurity.de
tsecurity.de Hub
Security Briefing Kostenlos · 1-Klick-Abmeldung
Intelligence Digest — kostenlos
Täglich die wichtigsten Security-News · jederzeit abbestellbar
Verwandte Story-Cluster & Quellen (Vektor-KI)
6 Cluster
Verwandte Story-Cluster & Quellen (Vektor-KI)
22 Quellen
HexClad Pans Black Friday Sale: Save Up to $70 (2026)
WIRED vor 1 Std.
21 weitere Quellen
WWIREDvor 1 Std.Oura Ring 5 Is $100 Off This Black Friday and Cyber Week (2026) LLatest from TechRadarvor 2 Std.I tried 20+ Android TV VPNs this year and these are the ones I’d save on this Black Friday — VPNs for beginners, 4K streaming, and good savings CCNETvor 2 Std.I Love This Fender Speaker for Its Looks and Its Bass, and It’s Still $45 Off After Black Friday WWIREDvor 2 Std.Air Purifier Black Friday Sale: Levoit, Blueair (2026) LLatest from TechRadarvor 2 Std.Black Friday MacBook deals 2026: even bigger savings on MacBook Neo, MacBook Pro M6, and the new PROLED MacBook Pros as Cyber Monday draws near WWIREDvor 2 Std.The Best Black Friday MacBook Deals Take Up to $300 Off TThe Vergevor 2 Std.A tech girlie’s Black Friday guide to fabulous nails WWIREDvor 2 Std.The Best Black Friday Action Camera Deals (2026) LLatest from Windows Centralvor 2 Std.Bought a new PC or monitor on Black Friday? Don't plug it into a cheap power strip LLatest from TechRadarvor 3 Std.Here’s the best Black Friday MacBook Air deal available right now LLatest from TechRadarvor 3 Std.I've reviewed a whole host of docking stations — here are the 8 worth buying in the holiday deals now Black Friday is done LLatest from TechRadarvor 3 Std.FastestVPN vs PrivadoVPN vs Windscribe: which cheap VPN should you buy this Black Friday? LLatest from TechRadarvor 3 Std.Walmart's Black Friday event ends tomorrow — see the 20 best last chance deals on TVs, appliances, laptops, headphones, ahead of Cyber Monday WWIREDvor 3 Std.Best JBL Black Friday Deals (2026): Save on JBL Flip 7 and More TThe Vergevor 3 Std.Birdbuddy’s latest smart feeders are still at their low Black Friday prices WWIREDvor 4 Std.Best Black Friday Meal Kit Deals: CookUnity, Green Chef, & More LLatest from TechRadarvor 4 Std.PSA: Samsung's Black Friday event is still ongoing and the retailer has actually dropped prices even further on the Galaxy S26, OLED TVs, headphones, and more LLatest from Windows Centralvor 4 Std.You can grab a 15-inch whole Snapdragon X2 Plus laptop for just $599 this Black Friday weekend LLatest from Windows Centralvor 4 Std.Best GTA 6 accessory deals for Black Friday DDEV Communityvor 4 Std.The Top Black Friday Deal on r/buildapcsales Came With Canceled Orders CCNETvor 5 Std.This Holdover Black Friday Sale Will Save You 20% on Branch’s Well-Built Ergonomic Furniture
9 Quellen
CVE-2026-72099 | Linux Kernel up to 7.2-rc2 dm-integrity infinite loop (Nessus ID 364704 / WID-SEC-2026-2852)
VulDB Updates vor 2 Std.
8 weitere Quellen
VVulDB Updatesvor 2 Std.CVE-2026-72100 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 dm-integrity deadlock (WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72101 | Linux Kernel up to 6.12.100/6.18.39/7.1.4/7.2-rc2 dm-integrity uninitialized pointer (WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72103 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 dm-crypt crypt_set_keyring_key information disclosure (WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72102 | Linux Kernel up to 7.2-rc2 Device Mapper dm_early_create use after free (WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72104 | Linux Kernel up to 6.18.39/7.1.4/7.2-rc2 dm-pcache parse_cache_opts null pointer dereference (WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72107 | Linux Kernel up to 7.2-rc2 dm era writeset_marked out-of-bounds (WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72106 | Linux Kernel up to 7.2-rc2 dm-ioctl list_version_get_info buffer overflow (Nessus ID 335743 / WID-SEC-2026-2852) VVulDB Updatesvor 2 Std.CVE-2026-72108 | Linux Kernel up to 7.2-rc2 dm thin metadata __reserve_metadata_snap/__release_metadata_snap reference count (WID-SEC-2026-2852)
7 Quellen
CVE-2026-135514 | Mozilla Firefox up to 115.45/153.7/160 Cycle Collector use after free
VulDB Updates vor 5 Std.
6 weitere Quellen
VVulDB Updatesvor 5 Std.CVE-2026-135515 | Mozilla Firefox up to 115.45/153.7/160 Cache memory corruption VVulDB Updatesvor 5 Std.CVE-2026-135513 | Mozilla Firefox up to 160 HTTP use after free VVulDB Updatesvor 5 Std.CVE-2026-135512 | Mozilla Firefox up to 115.45/153.7/160 Cycle Collector use after free VVulDB Updatesvor 5 Std.CVE-2026-135516 | Mozilla Firefox WebGPU memory corruption VVulDB Updatesvor 5 Std.CVE-2026-135519 | Mozilla Firefox up to 153.7/160 Networking use after free VVulDB Updatesvor 5 Std.CVE-2026-135518 | Mozilla Firefox up to 115.45/153.7/160 Core/HTML use after free
5 Quellen
CVE-2026-124727 | PowerDNS Authoritative up to 4.9.18/5.0.8/5.1.5 Bind Backend values
VulDB Updates vor 1 Std.
4 weitere Quellen
VVulDB Updatesvor 1 Std.CVE-2026-123761 | PowerDNS Authoritative up to 5.0.8/5.1.5 View Processing acceptance of extraneous untrusted data with trusted data VVulDB Updatesvor 1 Std.CVE-2026-124728 | PowerDNS Authoritative up to 4.9.18/5.0.8/5.1.5 resource consumption VVulDB Updatesvor 1 Std.CVE-2026-123764 | PowerDNS Authoritative up to 4.9.18/5.0.8/5.1.5 Bind Backend crlf injection VVulDB Updatesvor 1 Std.CVE-2026-123760 | PowerDNS Authoritative up to 5.1.5 LMDB backend max-ent-entries resource consumption
5 Quellen
CVE-2026-121756 | Parallels Desktop CSHAShellExt access control
VulDB Updates vor 2 Std.
4 weitere Quellen
VVulDB Updatesvor 2 Std.CVE-2026-121755 | Parallels Desktop information disclosure VVulDB Updatesvor 2 Std.CVE-2026-121754 | Parallels Desktop inittool2 privileges management VVulDB Updatesvor 2 Std.CVE-2026-137683 | eosphoros-ai DB-GPT up to 0.8.3 Editor API api_editor_v1.py get_editor_tables db_name access control (Issue 3337) VVulDB Updatesvor 2 Std.CVE-2026-137682 | eosphoros-ai DB-GPT up to 0.8.2 api_editor_v1.py editor_sql_run db_name access control (Issue 3336)
4 Quellen
IT Security News Hourly Summary 2026-11-28 22h : 2026-11-13: Clearfake ClickFix pushes ACR/Amatera Stealer on Windows host and 4 more posts
IT Security News vor 1 Std.
3 weitere Quellen
IIT Security Newsvor 2 Std.IT Security News Hourly Summary 2026-11-28 21h : Anthropic says it moved its Claude API from Python to Rust with no downtime and 2 more posts IIT Security Newsvor 3 Std.IT Security News Hourly Summary 2026-11-28 20h : 2026-11-16: Unidentified ClickFix pushes NetSupport RAT and 2 more posts IIT Security Newsvor 4 Std.IT Security News Hourly Summary 2026-11-28 19h : IT Security News Roundup: 2026-11-28 Afternoon – CISA flags Mitel zero-days; SAP, Octopus and Air Force breaches and 2 more posts
Mehr aus dieser Kategorie
Blättern: Pfeiltasten [ ← ] [ → ] · Tasten j / k · mobil: Wischen
HAND-OFF
Auf Smartphone übergeben (ADVISORY)
Scannen Sie den QR-Code mit der Smartphone-Kamera für sofortigen mobilen Zugriff:
https://tsecurity.de/de/4379462/sichere-programmierung/implementing-a-fixedwindow-postgres-rate-limiter-for-a-public-api/
💬 Community-Diskussion & Kommentare
Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.