Analytics Background Tasks
Summary
Background tasks run independant of each other at individual regular intervals. Background tasks run independant of the current state of the database. They can run in any order
Near real-time analytics functionality hinges on three different background tasks running inside the fastapi service:
- data import from elastic to postgres and subsequent analytics run in the
analytics
service, - aggregate search stats from elastic and store in postgres,
- read from
spellcheck_queue
table in postgres, submit items to spellcheck service and store spellcheck errors in postgres.