You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/article/lawn.tex
+4-4
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ \section{The Lawn Data Structure}
134
134
135
135
\subsection{Intended Use Cases}
136
136
137
-
This algorithm was first developed during the writing of a large scale, Stream Processing geographic intersection product using a FastData\cite{GP} model. The data structure was to receive inputs from one or more systems that make use of a very limited range of TTLs.
137
+
This algorithm was first developed during the writing of a large scale, Stream Processing geographic intersection product using a FastData\cite{GP} model. The data structure was to receive inputs from one or more systems that make use of a very limited range of TTLs in proportion to the number of concurrent timers they use.
138
138
139
139
\paragraph{Assumptions and Constraints :}
140
140
As this algorithm was designed to operate as the core of a dehydration utility for a single FastData application, where TTLs are usually discrete and variance is low it is intended for use under the assumptions that:
@@ -152,7 +152,7 @@ \subsection{Algorithm}
152
152
\begin{algorithm}
153
153
\caption{The Lawn Data Store \label{alg:lawn}}
154
154
\begin{algorithmic}[1]
155
-
\Require{$id$ - a unique identifier of the Timer.\newline$ttl$ - a whole product of $Tick Resolution$ representing the amount of time to wait before triggering the given timer $Payload$ action.\newline$closest\ expiration$ - the minimal (closest) stored trigger expiration time, defaults to -1.}
155
+
\Require{$id$ - a unique identifier of the Timer.\newline$ttl$ - a whole product of $Tick Resolution$ representing the amount of time to wait before triggering the given timer $Payload$ action.\newline$closest\ expiration$ - the minimal (closest) stored trigger expiration time, defaults to 0.}
156
156
\Statex
157
157
\Function{StartTimer}{$id$, $ttl$, $payload$}
158
158
\Let{$endtime$}{current time + $ttl$} %\Comment{current time: the local time of the system as a whole product of $Tick Resolution$}
0 commit comments