Slow response time

My request response time average 1-2 seconds. [MAINNET, RINKEBY]
example ethers.wallet.getBalance(), ethers.wallet.sendTransaction()
I wonder if this is normal?
Is there a way to get a faster response

Hi Shuoying,

welcome to the forums!

Request response time can depend on a number of factors but it’s more usual to have response times of the order of 200-300ms, sometimes slower.

What ping time do you get to various servers on the internet? You can test RPC response time, separate to your application, with something like this:

Let us know how you go.

Warm regards,
Chris | Infura | ConsenSys