Check kiting

I understand conceptually what kiting is, but I'm hoping somebody can shed some light on how it is done. Specifically, I don't understand how the receiving bank can record the receipt before the original bank records its disbursement. Is this a delay in the disbursement date, or is it recording the receipt early? / what causes that?