• Julien Muchembled's avatar
    CMFActivity: new activate() parameter to prefer executing on the same node · 1bbd5e6e
    Julien Muchembled authored
    This implements a special case of node specialization, to make better
    use of the ZODB Storage cache. By default, a non-grouped message is
    marked to be executed by the same node that created it, if the object
    is not a tool and if it was not activated by path. This can be
    overridden (either forced or prevented) using a new 'node' activate()
    parameter. See message of the first merged commits for details, and
    also ActiveObject.activate() docstring. For SQLDict & SQLQueue only.
    
    In the future, the new 'node' argument could accept any other string
    value that refers to a group of nodes. Groups would be defined on the
    activity tool, and be assigned negative integers. Contrary to what is
    implemented here, such specialization would be strict, in that a node
    would never process a message for a group it does not belong.
    
    /reviewed-on !836
    1bbd5e6e
Name
Last commit
Last update
..
Activity Loading commit data...
Constraint Loading commit data...
Document Loading commit data...
PropertySheet Loading commit data...
bin Loading commit data...
dtml Loading commit data...
help Loading commit data...
joblib Loading commit data...
tests Loading commit data...
ActiveObject.py Loading commit data...
ActiveProcess.py Loading commit data...
ActiveResult.py Loading commit data...
ActivityBuffer.py Loading commit data...
ActivityConnection.py Loading commit data...
ActivityRuntimeEnvironment.py Loading commit data...
ActivityTool.py Loading commit data...
Errors.py Loading commit data...
MAINTAINERS.txt Loading commit data...
Permissions.py Loading commit data...
VERSION.txt Loading commit data...
__init__.py Loading commit data...
refresh.txt Loading commit data...
sbalance.py Loading commit data...
tool.png Loading commit data...