How expensive and effective are server-side anticheats, and are they worth making?

So I’ve been doing some research on anticheats, and I wanted to start making one soon for my game. Most people suggest to use checks with Heartbeat, but I want to know how expensive it is to game performance/memory. Do most anti-cheats you guys make even work/ were the worth making? How effective are they?

How do you combat more complex exploits like aimbots for example?

This is a guess but I if you do aimbot i doubt a single heartbeat will mess with the game’s perfomance if the function inside it is lightweight

It is worth making if you believe you need one in your game.
You can patch stuff like teleportation, speed, and so on.