Bitcoin Forum
April 28, 2024, 05:12:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain API address balance response times from Italy  (Read 1959 times)
xenoky (OP)
Member
**
Offline Offline

Activity: 99
Merit: 19


View Profile
June 30, 2014, 08:33:36 AM
 #1

Hi,

i am asking balance of various bitcoin addresses to various blockchain API provider and i wanted to share response times achieved

The requests are made in round robin in a 3 day time span from a server located in Italy.

Code:
n= 4174 m=   79 v=  223 min=   26 max= 3000 http://btc.blockr.io/api/v1
n= 4173 m=  256 v=  816 min=   42 max=20023 http://blockchain.info
n= 4170 m=  412 v=  703 min=  111 max=17432 http://blockexplorer.com
n= 4170 m=  419 v=  283 min=  232 max= 3332 http://mainnet.helloblock.io/v1
n= 4174 m=  463 v= 1377 min=   35 max=32070 https://api.biteasy.com/blockchain/v1
n= 4170 m=  496 v=  647 min=  129 max= 5131 http://api.blockcypher.com/v1/btc/main
n= 4167 m=  954 v= 1719 min=  114 max=20023 https://api.chain.com/v1/bitcoin

n is the number of request, m is the mean response time, v is the variance.

If others API developer would like their service to be included in the list, reply with you api reference docs and it will be added.
1714281160
Hero Member
*
Offline Offline

Posts: 1714281160

View Profile Personal Message (Offline)

Ignore
1714281160
Reply with quote  #2

1714281160
Report to moderator
1714281160
Hero Member
*
Offline Offline

Posts: 1714281160

View Profile Personal Message (Offline)

Ignore
1714281160
Reply with quote  #2

1714281160
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
biteasy
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile WWW
June 30, 2014, 04:18:16 PM
Last edit: June 30, 2014, 07:36:13 PM by biteasy
 #2

I find this a completely inaccurate test. Zero information is given about it and frankly it's impossible to measure response times by only using one server from one specific location in the world.

If you want you can share more information about it (code, setup, server details etc etc) so we can have a further look if required.
xenoky (OP)
Member
**
Offline Offline

Activity: 99
Merit: 19


View Profile
July 01, 2014, 09:43:12 AM
 #3

Sorry, i haven't server spread across the world.... Not yet Smiley
The better i can do is giving these ping results from my server to have an idea of the geographical distance:

Code:
--- blockchain.info ping statistics ---
34 packets transmitted, 34 received, 0% packet loss, time 33054ms
rtt min/avg/max/mdev = 16.583/16.696/16.777/0.145 ms

--- btc.blockr.io ping statistics ---
40 packets transmitted, 40 received, 0% packet loss, time 39067ms
rtt min/avg/max/mdev = 17.946/18.102/18.328/0.181 ms

--- api.blockcypher.com ping statistics ---
320 packets transmitted, 320 received, 0% packet loss, time 319474ms
rtt min/avg/max/mdev = 20.980/21.693/22.470/0.425 ms

--- blockexplorer.com ping statistics ---
331 packets transmitted, 331 received, 0% packet loss, time 330548ms
rtt min/avg/max/mdev = 16.664/16.832/17.010/0.102 ms

--- api.biteasy.com ping statistics ---
38 packets transmitted, 38 received, 0% packet loss, time 55960ms
rtt min/avg/max/mdev = 16.750/16.966/20.020/0.547 ms

--- api.chain.com ping statistics ---
39 packets transmitted, 30 received, 23% packet loss, time 46887ms
rtt min/avg/max/mdev = 56.758/57.832/58.737/0.640 ms

--- helloblock-ssl.herokuapp.com ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4031ms
PING DISABLED

The code and the server are the same for every endpoints so it's not really relevant to the test.
I can say that HTTP Request are made from a thread pool so they are not waiting each other.
mriou
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 11, 2014, 04:38:34 AM
 #4

BlockCypher just added gzip payload compression support simply by setting the "Accept-Encoding: gzip" HTTP header. This should greatly improve response times, especially for people using us from Europe or Asia.

Disclosure: I'm the founder and CTO at BlockCypher.
xenoky (OP)
Member
**
Offline Offline

Activity: 99
Merit: 19


View Profile
July 11, 2014, 10:09:17 AM
 #5

BlockCypher just added gzip payload compression support simply by setting the "Accept-Encoding: gzip" HTTP header. This should greatly improve response times, especially for people using us from Europe or Asia.

Disclosure: I'm the founder and CTO at BlockCypher.

Hi mriou,
we added the gzip header and noticed better response times.
Waiting to gather some data to be more statistically correct then i am gonna publish updated response times in the following days.

Thanks
xenoky (OP)
Member
**
Offline Offline

Activity: 99
Merit: 19


View Profile
November 18, 2014, 08:22:42 AM
 #6

The geobit project has been modularized.

Take a look at Rebecca https://github.com/RCasatta/geobit-chain for a redundant blockchain data provider
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!