Notes on optimizing a OSX server, and ingesting the data into a database at amazon