https://github.com/bearsunday/bear.queryrepository
Resource Query Responsibility Segregation (RQRS) is a caching framework for BEAR.Sunday that optimizes performance by separating query and command responsibilities. It features event-driven cache invalidation, dependency resolution, donut caching, CDN integration, and conditional requests.
https://github.com/bearsunday/bear.queryrepository
bearsunday bearsunday-module cqrs php
Last synced: 12 months ago
JSON representation
Resource Query Responsibility Segregation (RQRS) is a caching framework for BEAR.Sunday that optimizes performance by separating query and command responsibilities. It features event-driven cache invalidation, dependency resolution, donut caching, CDN integration, and conditional requests.
- Host: GitHub
- URL: https://github.com/bearsunday/bear.queryrepository
- Owner: bearsunday
- License: mit
- Created: 2014-12-29T04:31:30.000Z (over 11 years ago)
- Default Branch: 1.x
- Last Pushed: 2025-06-18T05:48:38.000Z (about 1 year ago)
- Last Synced: 2025-06-18T06:28:38.256Z (about 1 year ago)
- Topics: bearsunday, bearsunday-module, cqrs, php
- Language: PHP
- Homepage:
- Size: 834 KB
- Stars: 6
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.ja.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# BEAR.QueryRepository
[](https://scrutinizer-ci.com/g/bearsunday/BEAR.QueryRepository/?branch=1.x)
[](https://codecov.io/gh/koriym/BEAR.QueryRepository)
[](https://shepherd.dev/github/bearsunday/BEAR.QueryRepository)
[](https://github.com/bearsunday/BEAR.QueryRepository/actions/workflows/coding-standards.yml)
[](https://github.com/bearsunday/BEAR.QueryRepository/actions/workflows/static-analysis.yml)
[](https://github.com/bearsunday/BEAR.QueryRepository/actions/workflows/continuous-integration.yml)
**BEAR.QueryRepository** は、[CQRS](http://martinfowler.com/bliki/CQRS.html) にインスパイアされた分散キャッシュフレームワークで、BEAR.Resource アプリケーションのパフォーマンスとリソース利用効率を最適化します。読み取り(クエリ)と書き込み(コマンド)を分離することで、効率的なキャッシュ管理を実現します。
## 主な機能
- **イベント駆動型キャッシュ無効化**: データ変更時にキャッシュを自動的に無効化し、一貫性を保ちます。
- **依存解決**: リソース間の依存関係を解決し、関連するキャッシュを自動的に更新します。
- **ドーナッツキャッシュ**: 動的コンテンツと静的コンテンツを組み合わせた部分キャッシュを実現します。
- **CDN統合**: FastlyやAkamaiなどのモダンなCDNと連携し、共有キャッシュを効率的に管理します。
- **ETagを利用した条件付きリクエスト**: `304 Not Modified` レスポンスでネットワークリソースを節約します。
- **分散キャッシュサポート**: サーバーサイドキャッシュ(例: Redis、APC)、共有キャッシュ(例: CDN)、クライアントサイドキャッシュに対応します。
## ドキュメント
詳細は [BEAR.Sunday キャッシュマニュアル](http://bearsunday.github.io/manuals/1.0/ja/cache.html) をご覧ください。