# Technical Architecture (/docs/risex/about/Architecture)

RISEx is a **fully onchain** perpetuals DEX built on RISE, an optimized L2 which delivers near-instant transactions with 1ms latency, all secured by Ethereum. Compared to other perpetual DEXs that have all their critical functions sitting in a centralized sequencer, RISEx has brought all of this onchain where users can verify all transactions that run through the following on RISEx:

* **Clearinghouse** — Manages the health check of every user on the exchange, coordinating the leverage a user can take to when a user gets liquidated
* **Orderbook** — Manages the market for the perpetual pair. The orderbook updates \~1ms to ensure the most up-to-date state is always reflected, so traders can run their strategies optimally on RISEx
* **Oracle** — Pushed to the exchange every 500ms to reflect the most up-to-date pricing

RISEx has built a transparent system where all transactions can be verified onchain while also maintaining the speed needed to operate a high-frequency orderbook-based perpetual trading exchange.

***

## Performance

* Orderbook updates states every 1ms
* E2E order latency is \~3ms

***

## Security

RISEx leverages ETH L1's security. Since all core components of RISEx are fully onchain every match can be verified and secured by the L1.
