I have one domain (e.g., https://api.example.com) mapped with an ALB, serving only S2S calls. The team is working on setting up the DR environment, and everything is ready on the DR side, including the ALB. However, during the switch from PR to DR, we found that requests continued landing on the primary ALB for the next two hours. Upon further analysis, we identified that this was due to the client's use of connection pooling, keeping active persistent connections open for as long as possible, which directed requests to the primary ALB. I attempted to find multiple solutions, such as resetting the connection from the server, but since ALB operates at layer 7, this wasn't possible. To address this, the best solution would be for the target to notify the client after switching from PR to DR, prompting the client to reset existing connections after resolving the IPs from the domain. It's worth noting that the client application is written in Golang, while the server side runs Java 8. Despite trying solutions like sending 5XX or 4XX HTTP errors, these did not force the client to reestablish the connection with the server.
How to notify to reset tcp connection from target
39 Views Asked by Ankur Bajwa At
0
There are 0 best solutions below
Related Questions in CONNECTION-POOLING
- How to configure connection pool c3p0 hibernate most efficiently for remote connection mySql
- Failed to connect to docker container running Postgres via pgbouncer
- How to establish connection pooling for HTTP Requests Lambda function attached to AWS API gateway?
- morphia client always makes more than 1 connection
- context deadline exceeded (Client.Timeout exceeded while awaiting headers)
- How to know DriverManagerDataSource has a connection pool
- How to view connection pool activity within Snowflake re: Looker?
- Why does connection pooling not work with pyodbc in my Linux image?
- SQLAlchemy QueuePool Overflow Issue in FastAPI Application with Uvicorn
- r2dbc-pool: Using the r2dbc connection pool slows down the execution of parallel transactions
- Jboss default idletimeout minutes if not mentioned
- How to efficiently define connection pool for multiple data sources with single database per tenant, in spring boot
- How to notify to reset tcp connection from target
- How to export Connection pool metrics of Tomcat like NumActive, NumIdle, MaxTotal via JMX exporte?
- AWS RDS Proxy avoid pinned connection with mysql and prepared statements
Related Questions in AWS-APPLICATION-LOAD-BALANCER
- AWS ALB Host Header Attack
- Availability Zone ap-northeast-1b cannot be associated with a load balancer
- Can we use one ALB with AWS ECS Fargate?
- AWS Application Load Balancer - Lambda response contains only body
- AWS ALB SSL/TLS offloading security
- Terraform, AWS and importing existing SSL certificates
- NET::ERR_CERT_COMMON_NAME_INVALID error occuring while AWS ACM certificate loaded on HTTPS load balancer for a domain created in GoDaddy
- AWS target groups turn unhealthy with no data
- How do I pass paths from a cname record to ALB?
- Custom headers not passed to backend service while using AWS ALB with Custom Domain name
- Routing Multiple A Records To AWS LoadBalancer DNS
- Pulumi Fargate abort deploy on bad health check
- AWS Load Balancer : redirection based on path but strip the path
- Failing checks for target group with target type = ALB
- AWS ALB with custom domain cannot work for specific port
Related Questions in CONNECTION-RESET
- Maven connection reset in AWS instance
- I am getting connection reset error when trying execute two queries at the same time in arangodb?
- "java.net.SocketException: Connection reset " exception while downloading pdf from specific URL
- Apache resets connection when PHP tells it to 404
- Download zip returns SocketException: Connection reset
- Connection Reset after load test 150 concurrent user with scenario upload document 60 Mb
- Connection Reset due to large file upload but configs should permit upload
- Apache fails to load resource files to internal requests but serves fine to external requests
- Why does my maven dependency fetching fail with a connection reset when running `docker build`?
- How difference between ConnectionAbortedError, ConnectionRefusedError and ConnectionResetError and whether to catch an exception
- How to replication Connection reset by peer in Spring boot?
- How to replicate a Connection Reset by peer?
- Connection Reset when port forwarding with Vagrant
- ERR_CONNECTION_RESET in MVC 3 Web App
- Connection reset + Java SE + TCP
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?