On Wed, Jun 9, 2021 at 4:47 PM Ayub Khan <ayub.hp@xxxxxxxxx> wrote: > > attached is the screenshot of RDS performance insights for AWS and it shows high waiting client writes. The api performance is slow. I read that this might be due to IOPS on RDS. However we have 80k IOPS on this test RDS. > ClientWrite means Postgres is waiting on the *network* sending the reply back to the client, it is unrelated to I/O. So either your client isn't consuming the response fast enough, or the network between them is too slow or shaped. -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/