)]}'
{"security-guide/source/dashboard/front-end-caching-session-back-end.rst":[{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"a0536f3d867bf66e5f66aeb1c07992baac18c7d7","unresolved":false,"context_lines":[{"line_number":28,"context_line":"integrity of session data, even though the transmitted data"},{"line_number":29,"context_line":"is only encrypted by HTTPS."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"If your architecture allows for shared storage and and if you have configured your cache correctly, we recommend setting your SESSION_ENGINE to django.contrib.sessions.backends.cache and using it as cache-based session backend with memcached as the cache. "},{"line_number":32,"context_line":"Memcached is an efficient in-memory key-value store for chunks of data that can be used in a HA and distributed environment and is easy to configure, however, you need to ensure that there is no data leakage. It makes use of spare RAM to store frequently accessed data blocks, acting like memory cache for repeatedly accesses information. Since memcached utilizes local memory there is no overhead of database and file system usage leading to direct access of data from RAM rather than from disk."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"The reason for using memcached as opposed to local-memory cache is because it is fast, retains data for a longer duration, is multi-process safe and has the ability to share cache over multiple servers and still treat it as a single cache."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a1ff146_6e1d2066","line":31,"range":{"start_line":31,"start_character":90,"end_line":31,"end_character":105},"updated":"2017-03-14 16:47:04.000000000","message":"please wrap to 79 characters :) that\u0027s why Jenkins is failing","commit_id":"bf23072652fbb73e9a8f357d1d3523e5ccb41c86"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"a0536f3d867bf66e5f66aeb1c07992baac18c7d7","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This is how you can enable memcached:"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":".. code:: ini"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    SESSION_ENGINE \u003d \u0027django.contrib.sessions.backends.cache\u0027"},{"line_number":41,"context_line":"    CACHES \u003d {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a1ff146_2e3a48ce","line":38,"range":{"start_line":38,"start_character":3,"end_line":38,"end_character":13},"updated":"2017-03-14 16:47:04.000000000","message":".. code-block::","commit_id":"bf23072652fbb73e9a8f357d1d3523e5ccb41c86"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"a0536f3d867bf66e5f66aeb1c07992baac18c7d7","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    SESSION_ENGINE \u003d \u0027django.contrib.sessions.backends.cache\u0027"},{"line_number":41,"context_line":"    CACHES \u003d {"},{"line_number":42,"context_line":"\t\t\u0027BACKEND\u0027: \u0027django.core.cache.backends.memcached.MemcachedCache\u0027"},{"line_number":43,"context_line":"    }"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"For further details, see the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a1ff146_ce2a947e","line":42,"range":{"start_line":42,"start_character":0,"end_line":42,"end_character":1},"updated":"2017-03-14 16:47:04.000000000","message":"also because it doesn\u0027t accept the use of tabs :) use spaces, please","commit_id":"bf23072652fbb73e9a8f357d1d3523e5ccb41c86"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"If your architecture allows for shared storage and and if you"},{"line_number":32,"context_line":"have configured your cache correctly, we recommend setting your"},{"line_number":33,"context_line":"SESSION_ENGINE to (``django.contrib.sessions.backends.cache``) and"},{"line_number":34,"context_line":"using it as cache-based session backend with memcached as the"},{"line_number":35,"context_line":"cache. Memcached is an efficient in-memory key-value store for"},{"line_number":36,"context_line":"chunks of data that can be used in a HA and distributed"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_4ecea45b","line":33,"range":{"start_line":33,"start_character":18,"end_line":33,"end_character":19},"updated":"2017-03-14 16:59:53.000000000","message":"remove the brackets :)","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"If your architecture allows for shared storage and and if you"},{"line_number":32,"context_line":"have configured your cache correctly, we recommend setting your"},{"line_number":33,"context_line":"SESSION_ENGINE to (``django.contrib.sessions.backends.cache``) and"},{"line_number":34,"context_line":"using it as cache-based session backend with memcached as the"},{"line_number":35,"context_line":"cache. Memcached is an efficient in-memory key-value store for"},{"line_number":36,"context_line":"chunks of data that can be used in a HA and distributed"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_e16813bd","line":33,"range":{"start_line":33,"start_character":18,"end_line":33,"end_character":19},"in_reply_to":"3a1ff146_4ecea45b","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":33,"context_line":"SESSION_ENGINE to (``django.contrib.sessions.backends.cache``) and"},{"line_number":34,"context_line":"using it as cache-based session backend with memcached as the"},{"line_number":35,"context_line":"cache. Memcached is an efficient in-memory key-value store for"},{"line_number":36,"context_line":"chunks of data that can be used in a HA and distributed"},{"line_number":37,"context_line":"environment and is easy to configure, however, you need to"},{"line_number":38,"context_line":"ensure that there is no data leakage. It makes use of spare RAM"},{"line_number":39,"context_line":"to store frequently accessed data blocks, acting like memory"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_0e03cc74","line":36,"range":{"start_line":36,"start_character":37,"end_line":36,"end_character":39},"updated":"2017-03-14 16:59:53.000000000","message":"a highly available environment? Suggestion, just so it makes more sense :)","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":33,"context_line":"SESSION_ENGINE to (``django.contrib.sessions.backends.cache``) and"},{"line_number":34,"context_line":"using it as cache-based session backend with memcached as the"},{"line_number":35,"context_line":"cache. Memcached is an efficient in-memory key-value store for"},{"line_number":36,"context_line":"chunks of data that can be used in a HA and distributed"},{"line_number":37,"context_line":"environment and is easy to configure, however, you need to"},{"line_number":38,"context_line":"ensure that there is no data leakage. It makes use of spare RAM"},{"line_number":39,"context_line":"to store frequently accessed data blocks, acting like memory"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_81791f96","line":36,"range":{"start_line":36,"start_character":37,"end_line":36,"end_character":39},"in_reply_to":"3a1ff146_0e03cc74","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":34,"context_line":"using it as cache-based session backend with memcached as the"},{"line_number":35,"context_line":"cache. Memcached is an efficient in-memory key-value store for"},{"line_number":36,"context_line":"chunks of data that can be used in a HA and distributed"},{"line_number":37,"context_line":"environment and is easy to configure, however, you need to"},{"line_number":38,"context_line":"ensure that there is no data leakage. It makes use of spare RAM"},{"line_number":39,"context_line":"to store frequently accessed data blocks, acting like memory"},{"line_number":40,"context_line":"cache for repeatedly accesses information. Since memcached"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_2ef8887c","line":37,"range":{"start_line":37,"start_character":36,"end_line":37,"end_character":37},"updated":"2017-03-14 16:59:53.000000000","message":"configure. However, you need *","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":34,"context_line":"using it as cache-based session backend with memcached as the"},{"line_number":35,"context_line":"cache. Memcached is an efficient in-memory key-value store for"},{"line_number":36,"context_line":"chunks of data that can be used in a HA and distributed"},{"line_number":37,"context_line":"environment and is easy to configure, however, you need to"},{"line_number":38,"context_line":"ensure that there is no data leakage. It makes use of spare RAM"},{"line_number":39,"context_line":"to store frequently accessed data blocks, acting like memory"},{"line_number":40,"context_line":"cache for repeatedly accesses information. Since memcached"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_4149e75e","line":37,"range":{"start_line":37,"start_character":36,"end_line":37,"end_character":37},"in_reply_to":"3a1ff146_2ef8887c","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":38,"context_line":"ensure that there is no data leakage. It makes use of spare RAM"},{"line_number":39,"context_line":"to store frequently accessed data blocks, acting like memory"},{"line_number":40,"context_line":"cache for repeatedly accesses information. Since memcached"},{"line_number":41,"context_line":"utilizes local memory there is no overhead of database and"},{"line_number":42,"context_line":"file system usage leading to direct access of data from RAM"},{"line_number":43,"context_line":"rather than from disk."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_6ef2809c","line":41,"range":{"start_line":41,"start_character":15,"end_line":41,"end_character":21},"updated":"2017-03-14 16:59:53.000000000","message":"memory, there is no overhead*","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":38,"context_line":"ensure that there is no data leakage. It makes use of spare RAM"},{"line_number":39,"context_line":"to store frequently accessed data blocks, acting like memory"},{"line_number":40,"context_line":"cache for repeatedly accesses information. Since memcached"},{"line_number":41,"context_line":"utilizes local memory there is no overhead of database and"},{"line_number":42,"context_line":"file system usage leading to direct access of data from RAM"},{"line_number":43,"context_line":"rather than from disk."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_614d0372","line":41,"range":{"start_line":41,"start_character":15,"end_line":41,"end_character":21},"in_reply_to":"3a1ff146_6ef2809c","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":42,"context_line":"file system usage leading to direct access of data from RAM"},{"line_number":43,"context_line":"rather than from disk."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"The reason for using memcached as opposed to local-memory cache"},{"line_number":46,"context_line":"is because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers and still treat it as a single cache."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_ee34b04b","line":46,"range":{"start_line":45,"start_character":0,"end_line":46,"end_character":21},"updated":"2017-03-14 16:59:53.000000000","message":"We recommend the use of memcached instead of local-memory cache because it is fast, retains...","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":42,"context_line":"file system usage leading to direct access of data from RAM"},{"line_number":43,"context_line":"rather than from disk."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"The reason for using memcached as opposed to local-memory cache"},{"line_number":46,"context_line":"is because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers and still treat it as a single cache."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_211eab63","line":46,"range":{"start_line":45,"start_character":0,"end_line":46,"end_character":21},"in_reply_to":"3a1ff146_ee34b04b","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":45,"context_line":"The reason for using memcached as opposed to local-memory cache"},{"line_number":46,"context_line":"is because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers and still treat it as a single cache."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_4e3ce42f","line":48,"range":{"start_line":48,"start_character":9,"end_line":48,"end_character":16},"updated":"2017-03-14 16:59:53.000000000","message":"servers, *","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":45,"context_line":"The reason for using memcached as opposed to local-memory cache"},{"line_number":46,"context_line":"is because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers and still treat it as a single cache."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_e113b35a","line":48,"range":{"start_line":48,"start_character":9,"end_line":48,"end_character":16},"in_reply_to":"3a1ff146_4e3ce42f","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers and still treat it as a single cache."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":".. code-block:: ini"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_ce1614a7","line":50,"range":{"start_line":50,"start_character":0,"end_line":50,"end_character":37},"updated":"2017-03-14 16:59:53.000000000","message":"To enable memcached, execute the following:","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers and still treat it as a single cache."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":".. code-block:: ini"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_4f04b316","line":50,"range":{"start_line":50,"start_character":0,"end_line":50,"end_character":37},"in_reply_to":"3a1ff146_ce1614a7","updated":"2017-03-15 15:23:45.000000000","message":"Done","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"0ebec4b51e254da4e0842547c6448c95166e6215","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":".. code-block:: ini"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    SESSION_ENGINE \u003d \u0027django.contrib.sessions.backends.cache\u0027"},{"line_number":55,"context_line":"    CACHES \u003d {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_ee0bd07b","line":52,"range":{"start_line":52,"start_character":1,"end_line":52,"end_character":18},"updated":"2017-03-14 16:59:53.000000000","message":"Context - where is this from? :)","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"c50b3c8f78f277ae81ab7f23546e788c6b18d9f5","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":".. code-block:: ini"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    SESSION_ENGINE \u003d \u0027django.contrib.sessions.backends.cache\u0027"},{"line_number":55,"context_line":"    CACHES \u003d {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_4f9113f0","line":52,"range":{"start_line":52,"start_character":1,"end_line":52,"end_character":18},"in_reply_to":"3a1ff146_a8c1ac82","updated":"2017-03-15 15:23:45.000000000","message":"No problem Alexandra. Thanks :)","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"1b524f01864442d15f4f7d19e374f3eef096ab09","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":".. code-block:: ini"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    SESSION_ENGINE \u003d \u0027django.contrib.sessions.backends.cache\u0027"},{"line_number":55,"context_line":"    CACHES \u003d {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_a8c1ac82","line":52,"range":{"start_line":52,"start_character":1,"end_line":52,"end_character":18},"in_reply_to":"3a1ff146_dfc07ce3","updated":"2017-03-15 11:00:10.000000000","message":"I missed that, that is my fault entirely :) sorry Aastha! This is fine as it is :)","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"b7b4edf6c35f60fa239d2fa4bf6ea728e5f255d1","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"This is how you can enable memcached:"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":".. code-block:: ini"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    SESSION_ENGINE \u003d \u0027django.contrib.sessions.backends.cache\u0027"},{"line_number":55,"context_line":"    CACHES \u003d {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a1ff146_dfc07ce3","line":52,"range":{"start_line":52,"start_character":1,"end_line":52,"end_character":18},"in_reply_to":"3a1ff146_ee0bd07b","updated":"2017-03-14 18:04:27.000000000","message":"The link below from django documentation shows how it can be enabled:\nhttps://docs.djangoproject.com/en/1.10/topics/cache/\n\nAlso, horizon page gives a similar example:\nhttps://docs.openstack.org/developer/horizon/topics/deployment.html\n\nShould it be updated / changed?","commit_id":"e3ef9421fc4001450dcd82b7c21c1415cf66842e"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"b05cd3a376fc46574823bcf10e873985c497deca","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"If your architecture allows for shared storage and and if you"},{"line_number":32,"context_line":"have configured your cache correctly, we recommend setting your"},{"line_number":33,"context_line":"SESSION_ENGINE to ``django.contrib.sessions.backends.cache``"},{"line_number":34,"context_line":"and using it as cache-based session backend with memcached as"},{"line_number":35,"context_line":"the cache. Memcached is an efficient in-memory key-value store"},{"line_number":36,"context_line":"for chunks of data that can be used in a high availability and"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a1ff146_849a0d13","line":33,"range":{"start_line":33,"start_character":0,"end_line":33,"end_character":14},"updated":"2017-03-15 16:00:55.000000000","message":"``SESSION_ENGINE``","commit_id":"fb9431f32dec465f02432ef5361cfc4b2ef31d04"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"b05cd3a376fc46574823bcf10e873985c497deca","unresolved":false,"context_lines":[{"line_number":35,"context_line":"the cache. Memcached is an efficient in-memory key-value store"},{"line_number":36,"context_line":"for chunks of data that can be used in a high availability and"},{"line_number":37,"context_line":"distributed environment and is easy to configure. However, you"},{"line_number":38,"context_line":"need to ensure that there is no data leakage. It makes use of"},{"line_number":39,"context_line":"spare RAM to store frequently accessed data blocks, acting like"},{"line_number":40,"context_line":"memory cache for repeatedly accesses information. Since memcached"},{"line_number":41,"context_line":"utilizes local memory, there is no overhead of database and"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a1ff146_171e4d63","line":38,"range":{"start_line":38,"start_character":46,"end_line":38,"end_character":54},"updated":"2017-03-15 16:00:55.000000000","message":"maybe make it clear that this is memcached. So, \"Memcached makes used of...\"","commit_id":"fb9431f32dec465f02432ef5361cfc4b2ef31d04"},{"author":{"_account_id":6804,"name":"bruce-benjamin","email":"bruce.benjamin@jhuapl.edu","username":"bruce-benjamin"},"change_message_id":"2c1855b7bce37f680b186daa63d786b74dadcd55","unresolved":false,"context_lines":[{"line_number":37,"context_line":"distributed environment and is easy to configure. However, you"},{"line_number":38,"context_line":"need to ensure that there is no data leakage. Memcached makes use"},{"line_number":39,"context_line":"of spare RAM to store frequently accessed data blocks, acting"},{"line_number":40,"context_line":"like memory cache for repeatedly accesses information. Since"},{"line_number":41,"context_line":"memcached utilizes local memory, there is no overhead of"},{"line_number":42,"context_line":"database and file system usage leading to direct access of data"},{"line_number":43,"context_line":"from RAM rather than from disk."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a1ff146_c1f8684c","line":40,"range":{"start_line":40,"start_character":33,"end_line":40,"end_character":41},"updated":"2017-03-15 21:17:55.000000000","message":"s/accesses/accessed/","commit_id":"676225e365733a9b3058f12376faa38cb512d659"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"cfa5eb67112e156eec264e2526f42c2192ea23dd","unresolved":false,"context_lines":[{"line_number":37,"context_line":"distributed environment and is easy to configure. However, you"},{"line_number":38,"context_line":"need to ensure that there is no data leakage. Memcached makes use"},{"line_number":39,"context_line":"of spare RAM to store frequently accessed data blocks, acting"},{"line_number":40,"context_line":"like memory cache for repeatedly accesses information. Since"},{"line_number":41,"context_line":"memcached utilizes local memory, there is no overhead of"},{"line_number":42,"context_line":"database and file system usage leading to direct access of data"},{"line_number":43,"context_line":"from RAM rather than from disk."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a1ff146_b6e80d12","line":40,"range":{"start_line":40,"start_character":33,"end_line":40,"end_character":41},"in_reply_to":"3a1ff146_c1f8684c","updated":"2017-03-15 21:57:14.000000000","message":"Done","commit_id":"676225e365733a9b3058f12376faa38cb512d659"},{"author":{"_account_id":6804,"name":"bruce-benjamin","email":"bruce.benjamin@jhuapl.edu","username":"bruce-benjamin"},"change_message_id":"2c1855b7bce37f680b186daa63d786b74dadcd55","unresolved":false,"context_lines":[{"line_number":42,"context_line":"database and file system usage leading to direct access of data"},{"line_number":43,"context_line":"from RAM rather than from disk."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"We recommend the use of memcached instead of local-memory cache"},{"line_number":46,"context_line":"because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers, but still treat it as a single cache."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a1ff146_c18f88ca","line":45,"range":{"start_line":45,"start_character":24,"end_line":45,"end_character":33},"updated":"2017-03-15 21:17:55.000000000","message":"s/memcached/memcache/","commit_id":"676225e365733a9b3058f12376faa38cb512d659"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"cfa5eb67112e156eec264e2526f42c2192ea23dd","unresolved":false,"context_lines":[{"line_number":42,"context_line":"database and file system usage leading to direct access of data"},{"line_number":43,"context_line":"from RAM rather than from disk."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"We recommend the use of memcached instead of local-memory cache"},{"line_number":46,"context_line":"because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers, but still treat it as a single cache."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a1ff146_963dd1bd","line":45,"range":{"start_line":45,"start_character":24,"end_line":45,"end_character":33},"in_reply_to":"3a1ff146_c18f88ca","updated":"2017-03-15 21:57:14.000000000","message":"It is termed as \"memcached\", that being the standard name for the cache in context.","commit_id":"676225e365733a9b3058f12376faa38cb512d659"},{"author":{"_account_id":6804,"name":"bruce-benjamin","email":"bruce.benjamin@jhuapl.edu","username":"bruce-benjamin"},"change_message_id":"2c1855b7bce37f680b186daa63d786b74dadcd55","unresolved":false,"context_lines":[{"line_number":45,"context_line":"We recommend the use of memcached instead of local-memory cache"},{"line_number":46,"context_line":"because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers, but still treat it as a single cache."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"To enable memcached, execute the following:"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a1ff146_a1ab6c1c","line":48,"range":{"start_line":48,"start_character":28,"end_line":48,"end_character":33},"updated":"2017-03-15 21:17:55.000000000","message":"s/treat/treats/","commit_id":"676225e365733a9b3058f12376faa38cb512d659"},{"author":{"_account_id":22221,"name":"Aastha Dixit","email":"a.dixit2989@gmail.com","username":"adixit"},"change_message_id":"cfa5eb67112e156eec264e2526f42c2192ea23dd","unresolved":false,"context_lines":[{"line_number":45,"context_line":"We recommend the use of memcached instead of local-memory cache"},{"line_number":46,"context_line":"because it is fast, retains data for a longer duration, is"},{"line_number":47,"context_line":"multi-process safe and has the ability to share cache over"},{"line_number":48,"context_line":"multiple servers, but still treat it as a single cache."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"To enable memcached, execute the following:"},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a1ff146_96d95186","line":48,"range":{"start_line":48,"start_character":28,"end_line":48,"end_character":33},"in_reply_to":"3a1ff146_a1ab6c1c","updated":"2017-03-15 21:57:14.000000000","message":"Done","commit_id":"676225e365733a9b3058f12376faa38cb512d659"}]}
