MolSSI / QCFractal

A distributed compute and database platform for quantum chemistry.
https://molssi.github.io/QCFractal/
BSD 3-Clause "New" or "Revised" License
143 stars 47 forks source link

Write records to cache immediately #843

Closed bennybp closed 1 month ago

bennybp commented 1 month ago

Description

When fetching records via the cache, records were not written immediately to the cache. Instead, the cache was hooked up via the writeback mechanism.

This was way too slow, especially for complicated records like torsiondrive. So now we write them immediately. Records currently don't have proper change tracking, so any modifications to the record won't be reflected in the cache, but that should be added someday.

Status