sampling is in accordance with certain randomization method, divide the line flow. This method refers to sampling can be divided, can also refer to a subset of the flow. Sampling is a small flow of special requirements, division of flow must guarantee the uniformity and randomness, and can filter out the demand that do not conform to the specifications according to the part, we put the sampling process is divided into two steps, screening flow and traffic flow segmentation, segmentation is to full flow evenly scattered, extraction the proportion of traffic flow is fixed, the flow of the screening aided segmentation, screening process is from the segmentation of good flow filters do not conform to the specifications, this paper is mainly concerned with the realization of flow segmentation.
do the commonly used method is single flow flow segmentation segmentation, segmentation of traffic in a certain way, namely flow segmentation. For example, we can according to the basis, the flow of cookie is broken up, or randomly scattered, scattered in different ways, the complete segmentation object is different, if we break up on the basis of cookie then, we complete the segmentation of the object is all cookie, if it is randomly scattered, then the object is the complete segmentation of our site all traffic.