menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Cloud News

>

Avoiding C...
source image

Dev

1w

read

367

img
dot

Image Credit: Dev

Avoiding Connection Pinning in Lambda and RDS Proxy with NestJS and Proxy Splitting

  • The combination of Lambda, RDS Proxy, and Aurora in the application architecture often led to the Lambda concurrency limit of 1000 being exceeded.
  • Connection pinning, caused by statements with a text size greater than 16 KB, led to excessive database connections in RDS Proxy.
  • To address the issue, a new RDS Proxy was created specifically for the problematic API, and the affected repository was redirected to use this proxy.
  • By routing queries triggering connection pinning to the new proxy, the Lambda concurrency was stabilized, and the Aurora connection limits were not exceeded.

Read Full Article

like

22 Likes

For uninterrupted reading, download the app