Highly available distributed queue built on RDBMS