Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Sharding #13

Closed
infinisil opened this issue Nov 10, 2022 · 1 comment
Closed

Sharding #13

infinisil opened this issue Nov 10, 2022 · 1 comment

Comments

@infinisil
Copy link
Member

We need to decide whether we want to "shard" or "prefix" the package directories. This means that hello would live in e.g. pkgs/auto/he/hello instead of just pkgs/auto/hello

Advantages of this approach:

  • We can avoid hitting GitHub's limit of 1000 listable files
  • git performance might be better

Disadvantages:

  • Nix evaluation might be slower since a lot of directories need to be read
  • It becomes more complicated, having to handle edge cases and coming up with a sharding scheme that works well
@infinisil
Copy link
Member Author

Actually we can just reuse issue #1 for this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant