Architectures And Algorithms For High Performance Switching