Skip to content

[Feature] Conan 2 cache concurrency #15840

@memsharded

Description

@memsharded

This ticket is to gather and centralize all the related tickets.
There are 3 different aspects to make the cache concurrent:

  • conan config install and other commands that can change the Conan home configuration concurrently
  • Package installation and building concurrently by different processes
  • Better management of "dirty" status to recover gently from crashes and interrupted operations (already a feature, but requires refactoring and alignment with the concurrency)

Out of the scope:

  • Concurrency at multi-machine or multi-OS level. The planned supported concurrency is at the machine level, from the same OS. OS sync mechanism file-locks will be used, and that is only guaranteed to work at the OS level, no shared or mounted drives
  • Sharing the same cache among different Conan versions. The same Conan version must be used for the same cache.

Conan config install concurrent:

Package concurrency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions