Closed dsschult closed 7 years ago
Changing strategy slightly:
tornado.process.task_id() == 0
tornado.process.task_id() == 0
diff stat:
35 files changed, 2581 insertions(+), 5877 deletions(-)
And that's without touching the tests yet.
groups branch is now merged:
83 files changed, 7224 insertions(+), 13275 deletions(-)
@ddelventhal asked a long time ago why we had modules in separate processes with IPC connecting them. At the time, this was necessary for throughput (keep modules in separate processes because of the GIL). I believe with the advent of futures and asynchronous python programming, this problem can now be completed without the internal RPC and separation of modules.
See https://github.com/dsschult/file_catalog for an example of running tornado + executor pool.
Strategy:
Advantages:
Disadvantages: