Is Ripple's distributed exchange scalable?

3

1

This question asks about the scalability of Ripple in general, and has an ok answer.

However, it doesn't mention the distributed exchange built in Ripple. How is its current/future architecture designed to cope with scale?

ripper234

Posted 2013-04-13T11:13:23.707

Reputation: 25 192

1I'm not sure I understand the question. As long as Ripple itself works, do you have any reason to believe this subset of its feature could stop working on its own?o0'. 2013-04-13T14:57:01.173

1@Lohoris - I envision a possibility that other parts of Ripple are scalable (like Bitcoin, as the answer says), which the distributed exchange might not be. I have no idea whether this possibility is real or not, I would simply like some input from someone who understands the order matching engine, and can comment whether it, too, is "as scalable as Bitcoin".ripper234 2013-04-14T23:20:35.400

Answers

4

It is designed to be highly scalable.

Offers are aggregated with others offers of the same currency pair in the same direction of the same quality (rate). The ledger has a "next index" operation and offers are indexed by quality, so finding the best offer in an order book is as simple as computing the index for the base of the order book and looking at the next ledger entry.

David Schwartz

Posted 2013-04-13T11:13:23.707

Reputation: 46 931