Hello all, I wanted to get a feel for the best approach here when it comes to server operations that take a long time to complete - say hours/days.
What's the best approach here? I've been thinking of starting a python service that takes care of these ops. Frontend sends request to the service, service does its think via celery, service finishes and updates Wasp's DB via an api request.
This means each operation that takes time needs an entity in the DB so we can set its status. This way the web-app is always up to date with operation status, doesn't hang up, and the operation doesn't get interrupted on page refresh or browser exit.
Is there a simpler approach here?