Use a database to remember results and index them by the call arguments