In E-Invoicing what is the best way to save previous invoice hash with the new inserted invoice and handle concurrent users ? should I use message queue ? what is the best solution with the best performance ? should I using lock in DB ? Please advice