An intelligent distributed data routing framework