1. A method for determining patterns of templates comprising steps of: based on a sequence of server requests, determining a sequence of templates, wherein each template of said sequence of templates corresponds to one or more respective server request sub-sequences in the sequence of server requests, wherein the sequence of templates has an order corresponding to the order of the sequence of server requests; wherein each template in the sequence of templates is associated with one or more attributes, wherein each of the one or more respective server request sub-sequences corresponding to said each template possess the one or more attributes; based in part on the sequence of templates, determining template patterns, wherein each template pattern of the template patterns is defined by a respective defining sub-sequence of templates of said sequence of templates; and wherein the steps are performed by one or more computing devices.