What server-side Bitcoin clients are available to serve information?

4

2

I have been toying around with the idea of building a bitcoin app. My research has thus far led me to conclude that it makes sense to run a bitcoin client daemon on my server in order to provide an API for my mobile app.

Is bitcoind any good for this? I used the -server mode of the Bitcoin-qt client for mac, as explained here, and it seems to be very slow for most of the RPC calls. Is the daemon any faster? It seems like something this slow is not preferable to run on the server, and would almost force me to cache some responses that would probably be unnecessary for a faster running client (obviously, down the road cacheing would make sense, but for the initial small scale of this, I would like to avoid it.

Are there better server-side clients I could run that would perform better than bitcoind? Do any of them provide better interfaces that JSON-RPC, or is there some reason that JSON-RPC is intrinsically better for this sort of use-case? How about a REST API?

finiteloop

Posted 2013-02-07T10:28:59.693

Reputation: 141

What information do you need served?ThePiachu 2013-02-07T13:38:27.320

I haven't really gotten that far yet, but hopefully something close to whats available here

finiteloop 2013-02-07T17:47:58.440

Answers

1

It depends on what information you require. Bitcoind can provide you with information through its API, but you'd need to be running it yourself and it only works through HTTP JSON RPC. There are other sources of similar information, like blockchain.info's API, which can also handle other formats.

ThePiachu

Posted 2013-02-07T10:28:59.693

Reputation: 41 594

As indicated in my question, I realize that bitcoind offers these API calls, however in my limited testing (running the mac client in server mode, and using curl to make the JSON RPC calls) showed that it is very slow to respond to some requests. I was asking if its as slow when run on a server, or if thats not something I need to be concerned with. And if it is that slow on the server, there are alternatives without that problem.finiteloop 2013-02-09T00:14:21.963

@finiteloop You can compare your results to blockchain.info's response time. I don't know how slow or fast your bitcoind's response time is, so I can't compare it to my machine, nor do I own a server to compare those two values to.ThePiachu 2013-02-09T08:53:20.173