node.js - NodeJS framework to properly handle ACID transactions and database concurrency -


i beginner in nodejs world coming several years working relational databases in java / hibernate.

i use node project, , have spent time researching frameworks / orms handle proper database transactions/concurrency such as:

  • ensure acid transaction blocks (operations set executed or not executed @ all)
  • deal concurrency, i.e. leveraging strategies optimistic / pessimistic locking

i've looked promising orms sequelize , waterline promising ones.

  • waterline looks good, lacks both features mentioned above.
  • sequelize looks more comprehensive having proper acid transaction handling. support locking , concurrency absent.

i ask nodejs experts specific patterns or strategies modules implementing how deal highly concurrent load @ database level, cleanly retry failed transactions or ensure data integrity in ha system.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -