Wouldn't digging a deep moat around your house and surrounding it with a set of fences basically resolve your zombie problem?
IMO, it really depends on the population density of potential infected in your AO.
If your residence gives enough evidence, visual, sounds, smells, of fresh living humans*, the zombies may pile up to the point that such barriers are crossable.
Mobile, or placed in a body of water with a current, or simply large enough to prevent effective stacking is always going to be best.
*There may also be a self-reinforcing zombie effect, where even in the absence of any direct evidence of living humans, enough zombie activity in an area may be a clue to others to congregate, simply instinctually assuming there are living humans nearby. Much like seagulls behave.