Achieving a High Throughput and a Low Latency through a Modular Packet Scheduler