View distance controls how many chunks around each player the server keeps simulated. It's usually the single biggest lever on server performance.
Server vs. client view distance
Your server's view distance (set in Server Settings) caps how far the world is simulated, regardless of what a player sets in their own client. Lowering it reduces CPU load immediately, especially with several players spread out.
A reasonable starting point
10 chunks is a solid default for most survival servers. Drop to 6-8 if you're seeing regular TPS dips with everyone online; raise it only if your server is consistently sitting near 20 TPS with room to spare.
Simulation distance
Simulation distance (separate from view distance on newer versions) controls how far mobs and redstone are actually ticked. This affects performance more than view distance alone, so lower it first if you're running redstone-heavy worlds.