MolSSI / QCFractal

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

Write records to cache immediately #843

Closed bennybp closed 5 months ago

bennybp commented 5 months 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