Centralized Exchange vs Decentralized Exchange: Order Execution
The fundamental execution difference between a centralized exchange (Binance, Coinbase) and a DEX (Uniswap, Curve) is the tradeoff between performance and self-custody.
Comparison
| Aspect | Centralized Exchange | Decentralized Exchange |
|---|---|---|
| Matching engine | High-throughput CLOB; sub-millisecond latency | AMM or on-chain CLOB; latency constrained by block time (0.4s–12s) |
| Order types | Limit, market, stop, iceberg, TWAP, OCO, etc. | Market orders, range-based limit orders; V4 hooks enable more |
| Custody | Exchange holds assets; counterparty risk | Self-custody; assets remain in user wallet until trade settles |
| Liquidity depth | Deep: professional MM agreements, rebate programs, retail + institutional flow | Growing: on-chain CLOBs (Hyperliquid) now competitive with mid-tier CEXs |
| MEV exposure | Exchange-internal: exchange controls ordering; potential for front-running by exchange | Public: searchers and builders can observe and extract MEV from pending transactions |
| Fees | Low maker/taker fees (0–10bp); volume-based tier discounts | Swap fees (1bp–100bp) + gas; aggregators optimize net cost |
| Regulation | Licensed and regulated in most jurisdictions; KYC/AML required | Permissionless; KYC depends on interface; regulatory status evolving |
| Failure modes | Exchange insolvency (FTX), withdrawal freezes, regulatory seizure | Smart contract exploit, oracle manipulation, governance attack, chain halt |
Analysis
The likely long-term equilibrium: CEXs dominate high-frequency and institutional trading, DEXs dominate custody-sensitive and composability-requiring flows. The boundary blurs through intent-based systems that source liquidity from both.