Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
Showing results for 
Search instead for 
Did you mean: 

How to speed up `dbx launch --from-assets`

New Contributor III


I'm trying to follow the testing workflow of


$ dbx deploy test --assets-only

$ dbx launch test --from-assets --trace --include-output stdout


But I find the turnaround time is quite long, even with an instance pool.

The `deployment.yaml` looks like





   - name: "test"


     - task_key: "main"


       spark_version: "11.3.x-scala2.12"

       num_workers: 1

       instance_pool_id: "instance-pool://****"


        - dbfs:

          destination: dbfs://****/


       package_name: "foo"

       entry_point: "bar"

       parameters: [

        "--conf-file", "file:fuse://conf/tasks/bar.yaml",



The `` simply does a `pip install`.

Some excerpts from the logs, to show how long things take


[dbx][2023-02-09 10:41:57.487] Launching workflow

[dbx][2023-02-09 10:42:01.389] Run URL: https://dbc-.

[dbx][2023-02-09 10:47:37.229] Finished tracing run with id ....


So it takes about 5 minutes setting up a new environment!

Anyone has ideas of how to speed up things?


New Contributor III

Oh no, do we get chat bots in here now?

lol. maybe. But yes, if you're unclear about the many essay kinds, you might look at website to consider the several essay formats that may assist you in completing your essay writing work.

New Contributor II

Hi, I have no solution, actually I've just registered to open a very similar ticket, when saw yours.

According to my experiments getting an already running VM from the pool (times between events: CREATING - INIT_SCRIPTS_STARTED) can take anything between 5seconds and 5minutes. It's unclear why.

It's actually faster not to use the instance pools according to my experiments.

Additionally it would be great if at least the global ini scripts would be applied on the VMs when they are started in the pool (via that one could do some time consuming init steps independently of the job start).

Since you received no answer in a reltively long time, I guess one has to accept that it's just simply slow..... :'(

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!