This section illustrates different patterns in building distributed architectures. These have been distilled considering the quirks described previously and arising out of the lessons learned over the years. Note that these are not mutually exclusive—rather, they can be thought of as templates for building various functionalities.