📃
AutoMan
  • Introduction
  • Getting Started
    • Installing Prerequisites
    • Tutorial: Obtain Mechanical Turk Credentials
    • Tutorial: Create an AutoMan Project
    • Tutorial: Write and Run Your First App
    • Pro Tip: Use the MTurk Sandbox
    • AutoMan Memoizer
    • Cleaning Up
  • Technical Documentation
    • What is AutoMan?
    • Getting AutoMan
    • Quick Start Guide
    • AutoMan API Reference
    • Papers
  • Press
  • Bugs / Source / Building
  • License
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

AutoMan Memoizer

AutoMan comes with a unique feature: it can store the results of crowdsourcing jobs in a database. Remembering computed results, referred to as memoization in computer science, can speed up programs that perform repeated computation at the expense of space. The memoization database can also be used to recover from a program crash if you make a programming mistake. We refer to this feature as AutoMan's "memo DB."

Enabling the memo DB is easy. Just add it to your mturk initializer:

implicit val a = mturk (
  /* .. whatever ... */
  database_path = "path/to/your/database/file"
)

Don't forget that your memo DB is enabled. Although it can save your program some work and it often helps for programs in production, forgetting that you've enabled it in development can sometimes cause some baffling results during development.

PreviousPro Tip: Use the MTurk SandboxNextCleaning Up

Last updated 4 years ago

Was this helpful?