[AcidState: minor typo corrections Jeremy Shaw **20120113235554 Ignore-this: 60842bc217e45eaee060c809a2916f5e ] hunk ./AcidState.lhs 26 -

[Source code for the app is here.]

-

Next: web-routes

hunk ./AcidStateCounter.lhs 88 -

When the incCountBy function is invoked, it will be run in an isolated manner (the 'I' in ACID). That means that you do not need to worry about some other thread modifying the CounterState between the get and the put. It will also be run atomically (the 'A' in ACID), meaning that either the whole function will run, it will not run at all. If the server is killed mid-transaction, the transaction will either be completely applied or not applied at all.

+

When the incCountBy function is invoked, it will be run in an isolated manner (the 'I' in ACID). That means that you do not need to worry about some other thread modifying the CounterState between the get and the put. It will also be run atomically (the 'A' in ACID), meaning that either the whole function will run or it will not run at all. If the server is killed mid-transaction, the transaction will either be completely applied or not applied at all.

hunk ./AcidStateCounter.lhs 206 +

[Source code for the app is here.]

+