<p>It is designed to be highly scalable.</p>

<p>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.</p>

CC BY-SA 3.0
2013-04-26T09:50:08.050Z
2013-04-26T09:50:08.050Z
David Schwartz
<p><a href="https://bitcoin.stackexchange.com/questions/8976/is-ripple-com-scalable">This question</a> asks about the scalability of Ripple in general, and has an ok answer.</p>

<p>However, it doesn't mention the <a href="https://ripple.com/wiki/Distributed_Exchange" rel="nofollow noreferrer">distributed exchange built in Ripple</a>. How is its current/future architecture designed to cope with scale?</p>

CC BY-SA 3.0
2013-04-13T14:57:01.173Z
I'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'.
CC BY-SA 3.0
2013-04-14T23:20:35.400Z
@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
<exchanges><ripple><scalability>
Is Ripple's distributed exchange scalable?
ripper234
# Is Ripple's distributed exchange scalable?

(Asked by: username_0 on 2013-04-13)

[This question](https://bitcoin.stackexchange.com/questions/8976/is-ripple-com-scalable) asks about the scalability of Ripple in general, and has an ok answer.

However, it doesn't mention the [distributed exchange built in Ripple](https://ripple.com/wiki/Distributed_Exchange). How is its current/future architecture designed to cope with scale?

**Tags:** exchanges, ripple, scalability

> **Comments:**
> **username_1**: I'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?  
> **username_0**: @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".  

---

## 1 answers

### Answer by username_2 on 2013-04-26. Score: 4 | Accepted answer

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.


---

