タグ

cacheに関するkiririmodeのブックマーク (19)

  • AWS AppSync が、サーバー側のデータキャッシングのキャッシュエントリ削除のサポートを開始


    AWS AppSync  GraphQL 使1 API AppSync AppSync  AppSync 
    AWS AppSync が、サーバー側のデータキャッシングのキャッシュエントリ削除のサポートを開始
    kiririmode
    kiririmode 2022/06/17
    evictionはVTL経由のみっぽい
  • AWS AppSyncキャッシングとAmazon DynamoDBトランザクションのサポートによりGraphQL APIのパフォーマンスと一貫性が更に向上します | Amazon Web Services


    Amazon Web Services  AWS AppSyncAmazon DynamoDBGraphQL API AWS AppSyncGraphQLAPIGraphQL eID
    AWS AppSyncキャッシングとAmazon DynamoDBトランザクションのサポートによりGraphQL APIのパフォーマンスと一貫性が更に向上します | Amazon Web Services
    kiririmode
    kiririmode 2022/06/17
    AppSyncのcacheはredisがついてくるイメージ。eviction はマッピングテンプレートからでないと操作できないかも
  • ホンネテレビの負荷対策-配信編 - Qiita


    AbemaTV Advent Calendar 2017 25 AbemaTV @miyukki  1172 AbemaTV112-5372 1000AbemaTV
    ホンネテレビの負荷対策-配信編 - Qiita
  • はてなブログのキャッシュ周りをきちんと改善したら、アプリケーションサーバの台数を半分にできた話 - Hatena Developer Blog


    SREid:cohalz 201912id:utgwkkid:onk 1858  DB32 8  Varnish 宿    Vary使 
    はてなブログのキャッシュ周りをきちんと改善したら、アプリケーションサーバの台数を半分にできた話 - Hatena Developer Blog
    kiririmode
    kiririmode 2020/09/20
    nginx-varnishの構成。varyヘッダをuaに対して適用していたがそれをpc/mobileの2つに集約
  • Request.destinationでリソースの種類別にキャッシュ戦略 | フロントエンドBlog | ミツエーリンクス

    Request.destinationはRequestインターフェイスのプロパティで、リクエストしているコンテンツの種類を文字列で返します。これをService Workerのfetchイベント時に用いると、リソースの種類別にキャッシュ戦略を切り替えることができます。 Request.destinationの使い方 Request.destinationでは一体どんな文字列が返されるのでしょうか。Fetch StandardのRequest.destinationの仕様の一部を抜粋します。 A request has an associated destination, which is the empty string, "audio", "audioworklet", "document", "embed", "font", "image", "manifest", "object",

    Request.destinationでリソースの種類別にキャッシュ戦略 | フロントエンドBlog | ミツエーリンクス
  • Webアプリケーションにおける正しいキャッシュ戦略 - Sansan Tech Blog


    SansanAPI Cache  Web  使 使 💰   
    Webアプリケーションにおける正しいキャッシュ戦略 - Sansan Tech Blog
  • Improving HTML Time to First Byte

    The Time to First Byte (TTFB) of a site is the time from when the user starts navigating until the HTML for the page they requested starts to arrive. A slow TTFB has been the bane of my existence for more than the ten years I have been running WebPageTest. Looking at a recent test data set (~100k pages): 20% TTFB > 3s 80% start render > 5s (10% > 10s) 500 pages were > 15MB So much slow to fix — Pa

    Improving HTML Time to First Byte
    kiririmode
    kiririmode 2019/01/03
    http headerを使ってedgeにキャッシュやパージを指示できる仕組み。変にapiを呼び出すよりは確かに便利な面はあるけど、運用上すべてこれにするのは柔軟性に欠けるかも(そしてそれを狙ってはいないような気がする)
  • Goで多層キャッシュを実装するときに役立つtips - Gunosy Tech Blog


    @ij_spitzGunosy Advent Calendar 20184@timakinGo@aibouInfrastructure as Code @timakinGoGotips  使 
    Goで多層キャッシュを実装するときに役立つtips - Gunosy Tech Blog
    kiririmode
    kiririmode 2018/12/06
    goでの多段キャッシュ。singleflight良さそう
  • Spring MVC(+Spring Boot)上での静的リソースへのアクセスを理解する - Qiita


    Spring MVCHTMLJavaScriptCSSJakarta EE(JavaEE)使Spring MVC使Spring Boot  Spring Framework 5.3.6 (4.2.5.RELEASE) Spring Boot 2.4.5 (1.3.3.RELEASE) Tomcat 9.0.45 Note: [2021/5/5] 稿5ViewSpring(Spring Boot)web.xm
    Spring MVC(+Spring Boot)上での静的リソースへのアクセスを理解する - Qiita
  • CSSファイルやJavaScriptファイルを読み込むときの末尾にあるクエリー文字列は何のためにあるか


    HTMLCSSJSlinkscript?xxx=123 WordPressjquery <script src="http://user-domian/wp-includes/js/jquery/jquery.js?ver=1.6.1"></script> jQueryCSSJavaScriptCGI使 ?ver=1.6.11 
    CSSファイルやJavaScriptファイルを読み込むときの末尾にあるクエリー文字列は何のためにあるか
  • Best practices for using the Vary header

    As shown above, the browser sends a lot of information along with the URL. The Accept header tells you what sort of content the browser prefers, User-Agent specifies which version of what browser it is, Accept-Language contains a list of languages (and dialects) that the user has configured, and Accept-Encoding shows which compression schemes the browser supports. For practical purposes, we only c

    Best practices for using the Vary header
  • HTTP caching - HTTP | MDN

    HTTP Guides Resources and URIs Identifying resources on the Web Data URLs Introduction to MIME types Common MIME types Choosing between www and non-www URLs HTTP guide Basics of HTTP Overview of HTTP Evolution of HTTP HTTP Messages A typical HTTP session Connection management in HTTP/1.x Protocol upgrade mechanism HTTP security Content Security Policy (CSP) HTTP Strict Transport Security (HSTS) X-

    HTTP caching - HTTP | MDN
  • Apache 2.2でWebサイトをパフォーマンスアップ!(2/3) - @IT

    Apache 2.2でWebサイトをパフォーマンスアップ! - 最新Apacheの機能と設定方法教えます - 鶴長 鎮一(book@tsurunaga.jp) 2006/3/14 強化されたドキュメントキャッシュ機能を使う ドキュメントキャッシュ機能を導入すると、Apacheの応答性を向上させることができます。 従来のApache 2.0でも、mod_file_cacheモジュールを使用することで通常コンテンツのレスポンスを向上させることができました。ただし、mod_file_cacheの仕組みはApacheの起動時にファイルをメモリに読み込ませるというもので、コンテンツに変更があった場合は再起動が必要になるなど、動的なキャッシングには対応していませんでした。 Apache 2.2では、RFC 2616に準拠したHTTPコンテンツキャッシュが可能になりました。Cache-Controlヘッ

  • Facebookが大規模スケーラビリティへの挑戦で学んだこと(前編)~800億枚の写真データとPHPのスケーラビリティ問題


    Facebook800PHP 3SNSFacebook33PHPC++MemcacheMySQL3Facebook100Gb   Jeff RothschildFacebook108High Performance at Mas
    Facebookが大規模スケーラビリティへの挑戦で学んだこと(前編)~800億枚の写真データとPHPのスケーラビリティ問題
  • HTML5のapplication cacheがつかえない件 - (ひ)メモ


     HTML5application cache HTML5 Rocks - A Beginner'sGuide to Using the Application Cache 6.6 Offline Web applications  HTML Standard Web application cacheHTML <!DOCTYPE html> <html manifest="/cache.manifest"> <head> ... cache.manifest 
    HTML5のapplication cacheがつかえない件 - (ひ)メモ
  • mincore(2)でファイルがページキャッシュに乗っているか調べる - syuu1228's blog

    シェルから調べたい人 Google Code Archive - Long-term storage for Google Code Project Hosting.をインストールして、 fincore ファイル名 って打つ。 自分のプログラムから調べたい人 要するにさっきのfincoreコマンドから必要な所を抜き出してくれば良い。 以下はtest.datのキャッシュ中サイズを表示するプログラム。 #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <sys/mman.h> #include <errno.h> long fincore(int fd, size_t length)

    mincore(2)でファイルがページキャッシュに乗っているか調べる - syuu1228's blog
  • memcachedにおけるキャッシュシステムの Thundering Herd 問題への対策案 - blog.nomadscafe.jp


     Thundering Herd   memcached Expires2memcached
  • Cache::LRU が速い理由 - Articles Advent Calendar 2010 Hacker


     Cache::LRU Kazuho's Weblog: Cache::LRU (a handy and fast in-memory cache module in pure-perl) Cache::LRU  Cache::LRU  LRU (Least Recently Used)    2Perl 
    Cache::LRU が速い理由 - Articles Advent Calendar 2010 Hacker
  • Polipo ― a caching web proxy

    Polipo is no longer maintained When it was first written, Polipo was probably the best HTTP proxy available. Since then, the web has changed, and HTTP proxies are no longer useful: most traffic is encrypted, and a web proxy merely acts as a dumb intermediary for encrypted traffic. Polipo will no longer be maintained. Here are some alternatives: if you need your HTTP traffic to originate from a rem

  • 1