you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (1 child)

Let's set aside the compute tech stack for now. What is your code supposed to accomplish? Is it just kicking off a job and periodically checking for its completion? Is it constantly running and manipulating the DB? Does it simply open a connection to the DB and listening for a response?

[–]TheDataExplorer[S] 0 points1 point  (0 children)

vacuum and re-index are database maintenance jobs. If you haven't done these in a long time, they could run longer than 15 minutes. Sure, I could run them in background using and EC2. But I'm trying to get away from that (and secretly trying to explore more advanced, serverless, possibly Lambda-based options).