Skip to content

Commit

Permalink
Added in Tyler's flow diagrams
Browse files Browse the repository at this point in the history
Closes #43
  • Loading branch information
dchenbecker committed Jul 13, 2011
1 parent 856a398 commit 78870d6
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 17 deletions.
162 changes: 146 additions & 16 deletions chap-advanced.lyx
@@ -1,4 +1,4 @@
#LyX 1.6.7 created this file. For more info see http://www.lyx.org/ #LyX 1.6.10 created this file. For more info see http://www.lyx.org/
\lyxformat 345 \lyxformat 345
\begin_document \begin_document
\begin_header \begin_header
Expand Down Expand Up @@ -991,6 +991,113 @@ We realize that this is a lot of information to digest in one pass, so as
the new information in the greater context of how Lift is working. the new information in the greater context of how Lift is working.
\end_layout \end_layout


\begin_layout Standard
Tyler Weir has created a set of diagrams on the following two pages that
outline Lift's processing at the global level and also for HTTP requests
in particular.
For the visually-oriented these may explain things a bit better.
\begin_inset Newpage clearpage
\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float figure
placement H
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
filename images/lift_request_processing_global.png
width 7in

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Lift Global Request Processing
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
The
\begin_inset Quotes eld
\end_inset

Process HTTP request
\begin_inset Quotes erd
\end_inset

step is expanded on the following page.
\end_layout

\begin_layout Standard
\begin_inset Newpage pagebreak
\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float figure
placement H
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
filename images/lift_request_processing_http.png
height 9in

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Lift HTTP Request Processing
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Newpage pagebreak
\end_inset


\end_layout

\begin_layout Section \begin_layout Section
Lift Function Mapping Lift Function Mapping
\begin_inset CommandInset label \begin_inset CommandInset label
Expand Down Expand Up @@ -1497,7 +1604,6 @@ must


\begin_layout Standard \begin_layout Standard
\begin_inset listings \begin_inset listings
lstparams "basicstyle={\scriptsize},frame=single"
inline false inline false
status open status open


Expand Down Expand Up @@ -2267,14 +2373,22 @@ LiftRules gabage collection variables


\begin_layout Plain Layout \begin_layout Plain Layout


* By default lift uses a garbage-collection mechanism of removing unused * By default lift uses a garbage-collection mechanism of removing
bound functions from LiftSesssion \end_layout

\begin_layout Plain Layout

* unused bound functions from LiftSesssion
\end_layout \end_layout


\begin_layout Plain Layout \begin_layout Plain Layout


* Setting this to false will disable this mechanims and there will be no * Setting this to false will disable this mechanims and there will
Ajax polling request attempted. \end_layout

\begin_layout Plain Layout

* be no Ajax polling request attempted.


\end_layout \end_layout


Expand All @@ -2299,20 +2413,23 @@ var enableLiftGC = true;


\begin_layout Plain Layout \begin_layout Plain Layout


* If Lift garbage collection is enabled, functions that are not seen in * If Lift garbage collection is enabled, functions that are not seen
the page for this period of time
\end_layout \end_layout


\begin_layout Plain Layout \begin_layout Plain Layout


* (given in milliseonds) will be discarded, hence eligible for garbage * in the page for this period of time (given in milliseonds) will be
collection.

\end_layout \end_layout


\begin_layout Plain Layout \begin_layout Plain Layout


* The default value is 10 minutes. * discarded, hence eligible for garbage collection.
The default value
\end_layout

\begin_layout Plain Layout

* is 10 minutes.


\end_layout \end_layout


Expand All @@ -2337,8 +2454,12 @@ var unusedFunctionsLifeTime: Long = 10 minutes


\begin_layout Plain Layout \begin_layout Plain Layout


* The polling interval for background Ajax requests to prevent functions * The polling interval for background Ajax requests to prevent
of being garbage collected. \end_layout

\begin_layout Plain Layout

* functions of being garbage collected.


\end_layout \end_layout


Expand Down Expand Up @@ -2369,14 +2490,23 @@ var liftGCPollingInterval: Long = 75 seconds
\begin_layout Plain Layout \begin_layout Plain Layout


* The polling interval for background Ajax requests to prevent functions * The polling interval for background Ajax requests to prevent functions
of being garbage collected. \end_layout

\begin_layout Plain Layout

* of being garbage collected.


\end_layout \end_layout


\begin_layout Plain Layout \begin_layout Plain Layout


* This will be applied if the Ajax request will fail. * This will be applied if the Ajax request will fail.
Default value is set to 15 seconds. Default value is
\end_layout

\begin_layout Plain Layout

* set to 15 seconds.


\end_layout \end_layout


Expand Down
Binary file added images/lift_request_processing_global.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lift_request_processing_http.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion master.lyx
@@ -1,4 +1,4 @@
#LyX 1.6.7 created this file. For more info see http://www.lyx.org/ #LyX 1.6.10 created this file. For more info see http://www.lyx.org/
\lyxformat 345 \lyxformat 345
\begin_document \begin_document
\begin_header \begin_header
Expand Down

0 comments on commit 78870d6

Please sign in to comment.