c# - Round robin pub/sub with StackExchange.Redis -
i know redis not natively support round-robin distribution of messages clients. i'm wondering if there can achieve stackexchange.redis?
in other words: wan't published messages channel evenly distributed among subscribing clients.
i guess poll blocking list pop? or better subscribe channel(for blocking) , right pop work list?
thanks, bj
se.redis does not support blocking pops. if need genuine round-robin, suggest doing @ client rotating channel-name/key-name between known clients. if need people work when ready, polling pop pub/sub immediacy works well.
Comments
Post a Comment