-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation on transactions and threading.
This adds documentatuon on transactions and threading concerns. There are some topics, like application design and conflict resolution that might want a deeper treatment, but would probably be better handled through articles or dedicated topics. (I want to avoid individual topics being too long or weedy to read, where practical.) Writing this, I stumbled a bit over thread-local transaction managers. For most applications, they don't add anything over accessing transaction managers on connections and actually provide an opportunity to fail. I'm convinced that it should be possible to do most transaction management through connections and that the API provided by transaction managers and the transaction package should be reserved for distributed transactions. I didn't mention gevent. I thik there should be a section on gevent, but I think it should be written by someone who's used gevent with ZODB. :) Maybe there should also be a section or mention of using asyncio with ZODB, pr maybe later. Closes zopefoundation/zodbdocs#13 Closes zopefoundation/zodbdocs#16
- Loading branch information
Jim Fulton
committed
Sep 9, 2016
1 parent
d6b60a5
commit ed36513
Showing
10 changed files
with
442 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.