/u/caffarelli has previously compared different methods of castration and what they tell us about the use of eunuchs in a given place/era.
See also What sort of roles did eunuchs fulfill in the Ottoman Empire?