Design Principles and Algorithms for Effective High Speed IP Flow Monitoring