## Current Behavior <!-- This is the behavior we have today --> Nx has some persistent storage managed as separate files on disk. For example, the local cache queries the file system for existing directories. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> Nx has a new more performant persistent storage via SQLite database. The db is used for the following purposes now: 1. Storing task details of different hashes (This serves as reference for other tables to get more information about a hash) 2. Storing a record of cached artifacts 3. Storing a history of tasks which have run The cache in particular has the following benefits: * It's faster, YMMV but it's definitely faster because it writes and reads less from disk. * It's able to track access of different cached artifacts * It purges cached artifacts more intelligently by looking at when artifacts were last ACCESSED rather than when they were CREATED. This will also eliminate cache misses due to the cached artifacts being purged simply because they were CREATED. ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
Create a new Nx workspace with
npx create-nx-workspace
...or run
npx nx init
to add Nx to your existing workspace to get faster task scheduling, caching and more. More in the docs.
Learn about CI with Nx Cloud
Nx Cloud connects directly to your existing CI setup, helping you scale your monorepos on CI by leveraging remote caching, task distribution across multiple machines, automated e2e test splitting and automated task flakiness detection
Connect your existing Nx workspace with
npx nx connect
Learn more in the Nx CI docs »
Useful links
Want to help?
If you want to file a bug or submit a PR, read up on our guidelines for contributing and watch this video that will help you get started.

Core Team
| Victor Savkin | Jason Jean | Benjamin Cabanes | Jack Hsu |
|---|---|---|---|
| vsavkin | FrozenPandaz | bcabanes | jaysoo |
| Jo Hanna Pearce | Jon Cammisuli | Isaac Mann | Juri Strumpflohner |
|---|---|---|---|
| jdpearce | cammisuli | isaacplmann | juristr |
| Philip Fulcher | Caleb Ukle | Katerina Skroumpelou | Colum Ferry |
|---|---|---|---|
| philipjfulcher | barbados-clemens | mandarini | Coly010 |
| Emily Xiong | Miroslav Jonaš | Leosvel Pérez Espinosa | Zachary DeRose |
|---|---|---|---|
| xiongemi | meeroslav | leosvelperez | ZackDeRose |
| Craigory Coppola | Chau Tran | Nicholas Cunningham | Max Kless |
|---|---|---|---|
| AgentEnder | nartc | ndcunningham | MaxKless |