Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

325
Views
Simulate network latency between application in AKS and PostgreSQL server in Azure

I need to test a scenario to see how my app deals with latency. My application is in K8S on Azure (AKS) and its connecting to a Postgres DB in Azure. Anyone know of any good tools that aren't too tricky to implement?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I ended up created a haproxy VM and directing my db traffic through it. Then on the haproxy I used the network emulator linux tool to delay the traffic . It works really well

https://wiki.linuxfoundation.org/networking/netem

over 4 years ago · Santiago Trujillo Report

0

pgbench is the simplest to use with lots of information on the web to use this command.

over 4 years ago · Santiago Trujillo Report

0

For simple Ping and latency check you can use the normal docker image Busybox and check the latency across the Network.

You can also use the Prometheus to monitor, like

pg_stat_activity_max_tx_duration is one metrics type. 

You can read more at here

To check POD network communication : https://docs.projectcalico.org/getting-started/kubernetes/hardway/test-networking

You can also check out tools like datadog which will expose the good details like latency and performance metrics.

Extra :

Dont forget to check out the Pgbouncer if your team facing the latency issue.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!