#1 Re: mORMot 1 » Some basic questions » 2015-03-04 21:02:33

Concurrency:
User A retrieves Record A, the same does user B. User A changes the data, as well as user B. Both want to commit. Who wins?
BTW: Is a deadlock possible?

Tx Bernd

#2 mORMot 1 » Some basic questions » 2015-03-03 22:38:55

bernd.maierhofer
Replies: 5

Hi + tx for reading. i would be glad, if someone can answer my questions or will lead me to the according docs.

- How is concurrency handled?
- I have seen a method for propgating changes to the model automatically to the underlying database. E.g. A new Version of my app modifies the DB accoirdingly. But what if the old version runs too afterwards? Are the changes undone?
- I am coming from Client Server programming and would appreciate a sample where data is fetched from a database table, displayed, modified and written back.

Thank you very much!

Bernd

Board footer

Powered by FluxBB