
\subsection{Requirements}
Wait, what did I want to do again?
\begin{itemize}
	\item Per-game importer (Web client, File loader, …)
	\item Analyzer modules (number crunching)
	\item Output \& Visualization (CSV, [Geo]JSON, KML, Graphs, …)
	\item Interface (Configuration)
		\begin{itemize}
		\item Expert users/researchers
		\item Staging/designing staff
		\end{itemize}
	\item Cross-game comparisons
	\item Integration of external data (questionnaire results)
\end{itemize}


\subsection{Experiment: Kibana}
… taugt nich
\begin{itemize}
	\item powerful timeseries database
	\item complex setup
	\item fast paced environment
	\item low spatial resolution => privacy optimized
\end{itemize}
\image{.85\textwidth}{../../PresTeX/images/kibana}{Game trace in Kibana}{img:kibana}
\image{.85\textwidth}{../../PresTeX/images/kibana2}{Game trace in Kibana}{img:kibana2}


\subsection{Architecture}
Game independance: 
\begin{itemize}
	\item log importer/transformer necessary
\end{itemize}
\begin{itemize}
	\item Based on map-reduce
	\item Map: Analysis
	\begin{itemize}
		\item Iterate Log entries
		\item Feed log entry through analyzer queue
		\begin{itemize}
			\item Augment entries
			\item Filter entries
			\item Sequential order
		\end{itemize}
	\end{itemize}
	\item Reduce: Collect summaries from analyzers
	\begin{itemize}
		\item Rendering
		\item Post-processing, Comparison, …
	\end{itemize}
	
	\item standalone (indep. of any game)
	\item own client for game server (due to CORS/XSS prevention prohibiting shared use of game server assets in other host)
	\item API for integration
	\item allow load distribution
\end{itemize}
\image{\textwidth}{map-reduce.pdf}{Data flows}{img:flow}
