Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-140

Do not use python for multiprocessing

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • None
    • Other
    • None

      Multi-processing is useful for CPU heavy tasks such zipping/unzipping and it adds extra layer of security.

      However, there are fundamental problems with using multi-processing in python and that is Global Interpreter Lock (GIL) that prevents using native python profilers that would help with time-based performance analysis of our software.

      It would be better to use asyncio and event loop instead of multiprocessing. The only CPU heavy usage where we need multiprocessing is storage operations but it could be moved to webserver.go and the rest of the services could be moved to asyncio thread.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hehalmet Heikki Halmet
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes