Celery 3.1 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and @decorator1 def add(x, y): return x + y Custom task classes How it works Tips and Best Practices Performance and Strategies Example Basics You can easily create a task from any callable by using the task() subtask()‘s. You can read about chains and other powerful constructs at Canvas: Designing Workflows. Performance and Strategies Granularity The task granularity is the amount of computation needed by each subtask0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 3.1 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and States • Semipredicates • Custom task classes • How it works • Tips and Best Practices • Performance and Strategies • Example Basics You can easily create a task from any callable by using the subtask()‘s. You can read about chains and other powerful constructs at Canvas: Designing Workflows. Performance and Strategies Granularity The task granularity is the amount of computation needed by each subtask0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery v4.0.1 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker list): @app.task @decorator2 @decorator1 def add(x, y): return x + y Tips and Best Practices Performance and Strategies Example Basics You can easily create a task from any callable by using the task()0 码力 | 1040 页 | 1.37 MB | 1 年前3
Celery v4.0.2 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker list): @app.task @decorator2 @decorator1 def add(x, y): return x + y Tips and Best Practices Performance and Strategies Example Basics You can easily create a task from any callable by using the task()0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery v4.1.0 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker list): @app.task @decorator2 @decorator1 def add(x, y): return x + y Tips and Best Practices Performance and Strategies Example Basics You can easily create a task from any callable by using the task()0 码力 | 1057 页 | 1.35 MB | 1 年前3
Celery 4.0 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker list): @app.task @decorator2 @decorator1 def add(x, y): return x + y Tips and Best Practices Performance and Strategies Example Basics You can easily create a task from any callable by using the task()0 码力 | 1042 页 | 1.37 MB | 1 年前3
Celery 3.0 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker States • Semipredicates • Custom task classes • How it works • Tips and Best Practices • Performance and Strategies • Example Basics You can easily create a task from any callable by using the0 码力 | 703 页 | 2.60 MB | 1 年前3
Celery v4.1.0 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker States • Semipredicates • Custom task classes • How it works • Tips and Best Practices • Performance and Strategies 2.3. User Guide 45 Celery Documentation, Release 4.1.0 • Example Basics You0 码力 | 714 页 | 2.63 MB | 1 年前3
Celery v4.0.1 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker States • Semipredicates • Custom task classes • How it works • Tips and Best Practices • Performance and Strategies 2.3. User Guide 45 Celery Documentation, Release 4.0.1 • Example Basics You0 码力 | 705 页 | 2.63 MB | 1 年前3
Celery v4.0.0 Documentationshown that adding more than twice the number of CPU’s is rarely effective, and likely to degrade performance instead. Including the default prefork pool, Celery also supports using Eventlet, Gevent, and to the celery worker. See Prefork pool prefetch settings for more information, and for the best performance route long-running and short-running tasks to dedicated workers (Automatic routing). If your worker States • Semipredicates • Custom task classes • How it works • Tips and Best Practices • Performance and Strategies • Example Basics You can easily create a task from any callable by using the0 码力 | 701 页 | 2.59 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













