The millet system as practiced in the Ottoman Empire reminds me of the development of the common law system in England and its later empire. Letting communities continue to govern themselves according to their own established customs and rules seems like the most effective method to preserving peace in a religiously and ethnically diverse realm.