プレプリント / バージョン1

急激なトラフィック集中下における分散キャッシュとデータベース結果整合性のアーキテクチャ検証

##article.authors##

DOI:

https://doi.org/10.51094/jxiv.7097

キーワード:

分散キャッシュ、 キャッシュスタンピード、 結果整合性、 非同期SWR、 データベース負荷軽減

抄録

求人プラットフォーム、Eコマース、チケット予約システムなどの大規模Webサービスにおいて、突発的なトラフィック集中とキャッシュの有効期限切れによって引き起こされるキャッシュスタンピードは、データベースの過負荷やシステム障害を招く致命的な課題である。本稿では、結果整合性を許容する参照中心(Read-heavy)のシステムに向けて設計された「非同期SWR(Stale-While-Revalidate)パターン」を提案する。本アーキテクチャは、クライアントに対して古いキャッシュデータ(Staleデータ)を即時返却する一方で、分散ロックを用いた非同期ワーカープロセスを活用してバックグラウンドでデータベースを更新する。最大50並列のスパイクアクセスを模したDockerベースの実証実験環境における評価結果から、提案手法はデータベースリソースを保護し安定したスループットを維持しながら、最大レイテンシを約318ms(標準的なCache-Asideパターンと比較して約4倍の改善)に抑制できることが示された。

利益相反に関する開示

利益相反はない

ダウンロード *前日までの集計結果を表示します

ダウンロード実績データは、公開の翌日以降に作成されます。

引用文献

DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., and Vogels, W. (2007). Dynamo: amazon's highly available key-value store. ACM SIGOPS Operating Systems Review, 41(6), 205-220. https://doi.org/10.1145/1294261.1294281

Bronson, N., Amsden, Z., Cabrera, G., Chakka, P., Dimov, P., Ding, H., Ferris, J., Giardullo, A., Kulkarni, S., Li, H., Marchukov, M., Petrov, D., Puzar, L., Song, Y. J., and Venkataramani, V. (2013). TAO: Facebook's Distributed Data Store for the Social Graph. 2013 USENIX Annual Technical Conference (USENIX ATC '13), 49-60. https://www.usenix.org/conference/atc13/technical-sessions/presentation/bronson

Vattani, A., Chierichetti, F., and Lowenstein, K. (2015). Optimal Probabilistic Cache Stampede Prevention. Proceedings of the VLDB Endowment, 8(8), 886-897. https://doi.org/10.14778/2757807.2757813

Nottingham, M. (2010). RFC 5861: HTTP Cache-Control Extensions for Stale Content. IETF Request for Comments (Independent Submission). https://datatracker.ietf.org/doc/html/rfc5861

Little, J. D. (1961). A proof for the queueing formula: L=λW. Operations Research, 9(3), 383-387. https://doi.org/10.1287/opre.9.3.383

Brewer, E. A. (2000). Towards robust distributed systems. Proceedings of the nineteenth annual ACM symposium on Principles of distributed computing (PODC), 7. https://doi.org/10.1145/343477.343502

Abadi, D. J. (2012). Consistency tradeoffs in modern distributed database system design: CAP is only part of the story. Computer, 45(2), 37-42. https://doi.org/10.1109/MC.2012.33

Bloom, B. H. (1970). Space/time trade-offs in hash coding with allowable errors. Communications of the ACM, 13(7), 422-426. https://doi.org/10.1145/362686.362692

Zipf, G. K. (1949). Human Behavior and the Principle of Least Effort. Addison-Wesley Press.

FastAPI. (2026). FastAPI Documentation. Retrieved from https://fastapi.tiangolo.com/

Redis. (2026). Redis Documentation. Retrieved from https://redis.io/docs/

ダウンロード

公開済


投稿日時: 2026-11-07 03:29:00 UTC

公開日時: 2026-12-02 07:47:36 UTC
研究分野
情報科学