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 answers
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
- Canary deployment using spinnaker in AWS ECS
- aws Path-based load balancer not changing paths
- Use AWS AppSync as a target group for AWS Application Load Balancer
- How can I configure AWS Load Balancer to accept HTTPS request but downgrade them to HTTP request when connecting to EC2 instance
- Issues in connecting AWS Cloudfront to app hosted on AWS Elastic beanstalk
- Website on AWS HTTPS link when clicked it changes to HTTP, using Application Load balancer for https
- AWS ALB 502 Bad gateway
- AWS Load balancer SSL certificate
- Redirect from one alb to another one based on Authorization header content
- How to make EC2 instance run on subdomain and establish a HTTPS connection?
- How make sticky sessions path based for ALB, when using it in front of EKS
- How to configure SSL from ACM to subdomains?
- Error - If the target type is ALB, the target must have at least one listener that matches the target group port or any specified p ort overrides
- How to pass dynamic value in threshold for Alarm in Grafana dashboard for EKS Monitoring
- Metrics to calculate average concurrent connections per GPU/Node attached to ALB
Related Questions in CONNECTION-RESET
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Error connection reset on android 10 device
- How to notify to reset tcp connection from target
- Python telegram bot is failing with this error: "ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host"
- Connection Reset after load test 150 concurrent user with scenario upload document 60 Mb
- Pika ConnectionResetError(104, 'Connection reset by peer') having 2 connections using threads
- High Client and target reset count in AWS Network Load Balancer when using Route53 Healthchecks
- I'm getting "Socket Error # 10054 Connection reset by peer" in Indy using TIdHTTP to GET an HTTPS url
- Getting RestTemplate (Connection Reset) Despite everything is correct
- Python - TCP server, connection closed by remote host
- NETWORK_RECEIVE_ERROR when sending http requests
- Occasional connection reset while calling docker container app in K8s from browser-based java application
- Connection reset; nested exception is java.net.SocketException: Connection reset error in springboot Rest API
- Connection Reset on driver.quit()
- python/selenium problem : ERR_CONNECTION_RESET (when using proxy)
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?
Popular Tags
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)