{"action":"opened","issue":{"url":"https://api.github.com/repos/openresty/srcache-nginx-module/issues/53","repository_url":"https://api.github.com/repos/openresty/srcache-nginx-module","labels_url":"https://api.github.com/repos/openresty/srcache-nginx-module/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/openresty/srcache-nginx-module/issues/53/comments","events_url":"https://api.github.com/repos/openresty/srcache-nginx-module/issues/53/events","html_url":"https://github.com/openresty/srcache-nginx-module/issues/53","id":163664802,"number":53,"title":"A queue for multiple simultaneous request to the same content.","user":{"login":"didaka","id":1809418,"avatar_url":"https://avatars.githubusercontent.com/u/1809418?v=3","gravatar_id":"","url":"https://api.github.com/users/didaka","html_url":"https://github.com/didaka","followers_url":"https://api.github.com/users/didaka/followers","following_url":"https://api.github.com/users/didaka/following{/other_user}","gists_url":"https://api.github.com/users/didaka/gists{/gist_id}","starred_url":"https://api.github.com/users/didaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didaka/subscriptions","organizations_url":"https://api.github.com/users/didaka/orgs","repos_url":"https://api.github.com/users/didaka/repos","events_url":"https://api.github.com/users/didaka/events{/privacy}","received_events_url":"https://api.github.com/users/didaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-04T12:15:19Z","updated_at":"2016-07-04T12:15:19Z","closed_at":null,"body":"I am trying to use srchache + redis as a replacement of varnish as srcache gives the opportunity of having shared cache. However, there is one thing that I am missing. Let me describe a simple scenario.\r\n\r\nWe have 1000 concurrent users on the front page. We need to flush the redis cache for some reason. When the cache is empty each of the concurrent request for same content (same cache key) will be sent to the backend which might result in beckend failure.\r\n\r\nIt would be great is srcache support some queue for multiple requests to the same content just like proxy_cache, so the load to the backed is reduced.\r\n\r\n@see: https://www.nginx.com/resources/admin-guide/content-caching/#slice\r\n“Sometimes, the initial cache fill operation may take some time, especially for large files. When the first request starts downloading a part of a video file, next requests will have to wait for the entire file to be downloaded and put into the cache.”"}}
{"actor":{"display_login":"didaka"}}