Almost everything in Tinybird takes less than 400ms. Since the very beginning we’ve focused on speed. But some things take a bit longer, so we do them in the background.
Ingesting data from an URL, populating a materialized view or specific background queries are things that normally can happen asynchronously and that sometimes take a few seconds to finish. This kind of asynchronous operations in Tinybird are called jobs.
Jobs are executed one after the other and, from the moment they are launched, they get into a jobs queue (which is FIFO). Depending on your account type, your jobs queue will be isolated or shared with other users (like is the case with Free accounts).
We’ve recently released a few improvements to help you gain visibility over your jobs queue and job status. Did my import finish correctly? Why is this materialized view not populated yet? What happened with my latest conditional replacement?. Those are questions that now are quite easy to answer with the latest API, CLI and UI changes.
Our jobs API now supports listing all jobs that happened during the last 7 days (or the last 100 jobs), including those that are running, are still in the queue or already finished, as well as seeing the job details for any given job_id. These new changes enabled us to increase jobs visibility in the UI as well, so you can easily check out the status of your job queue at any time from your account dashboard.
For those using our CLI tool, we’ve also added a couple of useful commands to better handle your jobs queue. Be sure you run the latest CLI version and check them out by executing
tb job --help
1 2 3 4 5 6 7 8 9 10 11 tb job --help Usage: tb job [OPTIONS] COMMAND [ARGS]... Jobs commands Options: --help Show this message and exit. Commands: details Get details for a job ls List jobs
As always, we would love you to try this out and let us know what you think!