Despite the challenges of snail-farming, the Ancient Romans had it pretty well-figured out.
The Roman snail-pen was called a cochlearium, the Latin word for snail being cochlea (a Greek loanword that can also mean “spiral”,
hence the spiral cochlea in your inner ear). Cochlearia were a common sight on the grounds of Roman villas, alongside apiaria (beehives) and gliraria (dormouse hutches).
“They need little food, and require no one to feed them…the cook usually doesn’t know whether they are alive or dead when he is cooking them.”
~ Marcus Terentius Varro, De re agricultura (On Matters of Agriculture), 1st century BC~