Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Write "Threading and processes" topic #16

Closed
jimfulton opened this issue Aug 22, 2016 · 3 comments · Fixed by zopefoundation/ZODB#105
Closed

Write "Threading and processes" topic #16

jimfulton opened this issue Aug 22, 2016 · 3 comments · Fixed by zopefoundation/ZODB#105
Assignees

Comments

@jimfulton
Copy link
Member

No description provided.

@jamadden
Copy link
Member

How do you feel about mentioning (somewhere, maybe here) that gevent is known to work well with ZODB? Well, at least with ZODB+RelStorage; it used to work with ZEO but I'm not sure about ZEO5 yet.

@jimfulton
Copy link
Member Author

+1 IIUC, using gevent is equivalent to using threads, but I'd love to have a section or subtopic delved into it further as desired.

@jimfulton jimfulton self-assigned this Sep 9, 2016
jimfulton pushed a commit to zopefoundation/ZODB that referenced this issue Sep 9, 2016
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
@tseaver
Copy link
Member

tseaver commented Sep 10, 2016

This issue was moved to zopefoundation/ZODB#108

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants