redis implementation of dump_flows