Experimental implementation of a programmable managed cache
Перейти к файлу
Chris Henk e911d52453
Basic poc elements of a rust implementation (#2)
* checkpoint. Needs to be refactored to extract non-indexed subcomponent

* extract shared functions

* finished file stores

* Interface adjustments, refactoring, polling implementation

* Replace hashset with iterator

* checkpoint

* checkpoint

* take external polling definition

* pr build + upgrade polling lib dep

* Fix clippy issues + polling bug (should never skip based on validity state of the cached value)

* Checkpoint

* Prep for fake release (reserve name)

* format

* Build fixes + doc test

* Test

* Fix doc warning

---------

Co-authored-by: Chris Henk <chhenk@microsoft.com>
2023-07-22 17:58:41 -07:00
.github/workflows Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
docs rust prototype / poc 2023-04-20 21:38:29 -07:00
src Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
.gitignore Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
CODE_OF_CONDUCT.md rust prototype / poc 2023-04-20 21:38:29 -07:00
Cargo.toml Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
LICENSE-APACHE Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
LICENSE-MIT Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
README.md Basic poc elements of a rust implementation (#2) 2023-07-22 17:58:41 -07:00
SECURITY.md rust prototype / poc 2023-04-20 21:38:29 -07:00
SUPPORT.md rust prototype / poc 2023-04-20 21:38:29 -07:00

README.md

CacheBrowns

Experimental implementation of a programmable managed cached for native applications. This is a general purpose header only library leverage declarative caches in code with an emphasis on correctness and ease of use by providing pre-implemented strategies.

This isn't the going to set any performance records, but that's on purpose. It isn't slow, and following it's patterns eliminates entire classes of cache invalidation bugs.

Spiritually the concepts leverage here are inspired by "one-way data flow" and managed memory.

This page will be updated when the project has reached a greater level of maturity. Look at the docs folder for any proposals and design reviews in the mean time.

If the project goes well, we'll also create a version for .NETCore during the next hackathon.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines . Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

License

This project is licensed under either of

at your option.

The SPDX license identifier for this project is MIT OR Apache-2.0.