Looking for curl and cloud expert to reduce time to make HTTP request
Budget: $30 – $250 AUD
Hi,
I'm trying to make a HTTP request to Binance API server.
Here is my curl command I'm using:
curl -so /dev/null -w "namelookup: %{time_namelookup}s\n connect: %{time_connect}s\n appconnect: %{time_appconnect}s\n pretransfer: %{time_pretransfer}s\n redirect: %{time_redirect}s\nstarttransfer: %{time_starttransfer}s\n-------------------------\n total: %{time_total}s\n" https://api1.binance.com/api/v3/ticker/bookTicker
My output:
namelookup: 0.002099s
connect: 0.003683s
appconnect: 0.013138s
pretransfer: 0.013182s
redirect: 0.000000s
starttransfer: 0.022802s
-------------------------
total: 0.026819s
As you can see, it takes about 26 ms to download that JSON document.
This is running on amazon ec2 Tokyo instance. I'm wondering if you can reduce that speed to like 3-5 ms using curl or other library. My code is written in C++ so it must be compatible with that.
Please try to speed up the download time. I'm happy to switch over to different cloud service providers if it means my download speed will be faster.
Thanks
I'm trying to make a HTTP request to Binance API server.
Here is my curl command I'm using:
curl -so /dev/null -w "namelookup: %{time_namelookup}s\n connect: %{time_connect}s\n appconnect: %{time_appconnect}s\n pretransfer: %{time_pretransfer}s\n redirect: %{time_redirect}s\nstarttransfer: %{time_starttransfer}s\n-------------------------\n total: %{time_total}s\n" https://api1.binance.com/api/v3/ticker/bookTicker
My output:
namelookup: 0.002099s
connect: 0.003683s
appconnect: 0.013138s
pretransfer: 0.013182s
redirect: 0.000000s
starttransfer: 0.022802s
-------------------------
total: 0.026819s
As you can see, it takes about 26 ms to download that JSON document.
This is running on amazon ec2 Tokyo instance. I'm wondering if you can reduce that speed to like 3-5 ms using curl or other library. My code is written in C++ so it must be compatible with that.
Please try to speed up the download time. I'm happy to switch over to different cloud service providers if it means my download speed will be faster.
Thanks