{"action":"opened","issue":{"url":"https://api.github.com/repos/dadi/web/issues/82","repository_url":"https://api.github.com/repos/dadi/web","labels_url":"https://api.github.com/repos/dadi/web/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/dadi/web/issues/82/comments","events_url":"https://api.github.com/repos/dadi/web/issues/82/events","html_url":"https://github.com/dadi/web/issues/82","id":169093755,"number":82,"title":"File-based cache performance improvements","user":{"login":"fra967","id":8112628,"avatar_url":"https://avatars.githubusercontent.com/u/8112628?v=3","gravatar_id":"","url":"https://api.github.com/users/fra967","html_url":"https://github.com/fra967","followers_url":"https://api.github.com/users/fra967/followers","following_url":"https://api.github.com/users/fra967/following{/other_user}","gists_url":"https://api.github.com/users/fra967/gists{/gist_id}","starred_url":"https://api.github.com/users/fra967/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fra967/subscriptions","organizations_url":"https://api.github.com/users/fra967/orgs","repos_url":"https://api.github.com/users/fra967/repos","events_url":"https://api.github.com/users/fra967/events{/privacy}","received_events_url":"https://api.github.com/users/fra967/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dadi/web/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T10:01:13Z","updated_at":"2016-08-03T10:01:13Z","closed_at":null,"body":"When using the file-based cache, the cache directory fills up with thousands of small files, and then the default file-system (ext4) does not perform very well, slowing down when storing more then 5000 files.#\r\nWe should document this and propose alternative methods, such as\r\n\r\n- periodically clear the cache \r\n- use a dedicated volume for cache storage, mounted with some specific options (noatime, journalling disabled)\r\n\r\nWe could also add an option in Web config to choose whether to breakdown cache keys in directories (\r\n`1234/5678/90ab/cdef.json` instead of `1234567890abcdef.json`). This increases the inodes usage but should offer better performance."}}
{"actor":{"display_login":"fra967"}}