Minecraft wiki entry for Mob_farm, associated text: Sunlight mob farm: Undead mobs seek protection from sunlight. A roof three blocks above the ground can provide a shady area to lure undead mobs into a pit lined with open trap doors, leading into a grinder. The disadvantate of the farm is that it attracts only zombies and skeletons.
Villager: Only zombies and drowned are attracted to villagers. This method works by having one or more villagers trapped (but protected from actual attack). Any nearby zombies go toward the villagers. You can make a maze that the zombies have to go through so that you need only one trap. However, there should be some sort of trap that the zombies fall into to get to the villagers (e.g. a ton of soul sand in water or in air, fall damage, etc.).
Turtle eggs: This method works on zombies, drowned and zombified piglins. Turtle eggs attract all variations of zombies, which want to trample them. Turtle eggs can be used in combination with open trapdoors above a drop to lure any zombie-variant mobs into a killing chamber. It is a popular choice for zombified piglin farms in the nether, and can be used as a method to lure zombies away from other mobs in a standard mob farm.
One-way doors: Relying on the random movement of mobs, One-Way Door Designs use doors or pistons to prevent the mobs from wandering backward. Making several sets of doors can increase the speed with which the mobs move toward the hole.
The easiest configuration consists of a wall of iron doors or fencegates (you can use wooden doors if you're not on Hard difficulty) with a row of pressure plates in front of them. When the mobs walk onto the pressure plates, the door opens, letting them through, but once on the other side, they can't open the door since there is no switch.
With pistons, the arrangement is reversed, with the pressure plates on the desired side, and the pistons pointing upward, so that they block the path of the mobs when extended. This design works only with a 2-block high roof to prevent the mobs from jumping, and even then might fail on spiders. However, it requires considerably more common ingredients than the iron door variant.
Such systems can also be used to "store" mobs after gathering them from the farm, so that they later can be killed for the rare drops and experience
Slime: This farm design uses large slimes to push mobs off ledges. The simplest way to get these slimes are through a slime farm. As for the rates, it gets over 20,000 items per hour, as said in the video title.
Cats: Creepers flee from cats. This can be used to redirect the creepers away from other mobs, and/or to their own killing chamber.