Splitting the transaction into multiple smaller transactions, periodic auction matching, and adjusting the low slippage are various ways to avoid front-running.

Frontrunning, decentralized exchangesRead More

You might also be interested in reading Finance Redefined: Layer-two growth and the SEC’s scrutiny, Sept. 19–23.