File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed
source/content/pages/07-performance Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,19 @@ <h2>Caching resources</h2>
7373 impetus for writing the content.</ p >
7474</ li >
7575</ ul >
76+ < h2 > Caching learning checklist</ h2 >
77+ < p > < i class ="fa fa-check-square-o "> </ i >
78+ Analyze your web application for the slowest parts. It's likely there are
79+ complex database queries that can be precomputed and stored in an in-memory
80+ data store.</ p >
81+ < p > < i class ="fa fa-check-square-o "> </ i >
82+ Leverage your existing in-memory data store already used for session data
83+ to cache the results of those complex database queries.
84+ A < a href ="/task-queues.html "> task queue</ a > can often be used to precompute the results
85+ on a regular basis and save them in the data store.</ p >
86+ < p > < i class ="fa fa-check-square-o "> </ i >
87+ Incorporate a cache invalidation scheme so the precomputed results remain
88+ accurate when served up to the user.</ p >
7689< h3 > What do you want to learn now that your app is responding faster?</ h3 >
7790 < div class ="row ">
7891 < div class ="col-md-3 ">
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <feed xmlns =" http://www.w3.org/2005/Atom" ><title >Matt Makai</title ><link href =" http://www.fullstackpython.com/" rel =" alternate" ></link ><link href =" http://www.fullstackpython.com/feeds/all.atom.xml" rel =" self" ></link ><id >http://www.fullstackpython.com/</id ><updated >2014-05-30T13:44:44Z </updated ></feed >
2+ <feed xmlns =" http://www.w3.org/2005/Atom" ><title >Matt Makai</title ><link href =" http://www.fullstackpython.com/" rel =" alternate" ></link ><link href =" http://www.fullstackpython.com/feeds/all.atom.xml" rel =" self" ></link ><id >http://www.fullstackpython.com/</id ><updated >2014-05-31T14:42:00Z </updated ></feed >
Original file line number Diff line number Diff line change @@ -49,4 +49,22 @@ A cache can be created for multiple layers of the stack.
4949 impetus for writing the content.
5050
5151
52+ ## Caching learning checklist
53+ <i class =" fa fa-check-square-o " ></i >
54+ Analyze your web application for the slowest parts. It's likely there are
55+ complex database queries that can be precomputed and stored in an in-memory
56+ data store.
57+
58+ <i class =" fa fa-check-square-o " ></i >
59+ Leverage your existing in-memory data store already used for session data
60+ to cache the results of those complex database queries.
61+ A [ task queue] ( /task-queues.html ) can often be used to precompute the results
62+ on a regular basis and save them in the data store.
63+
64+ <i class =" fa fa-check-square-o " ></i >
65+ Incorporate a cache invalidation scheme so the precomputed results remain
66+ accurate when served up to the user.
67+
68+
69+
5270### What do you want to learn now that your app is responding faster?
You can’t perform that action at this time.
0 commit comments