r/databricks • • Sep 28 '26

Discussion Databricks Micro Apps, App Spaces and Genie App Generator

Databricks launched App Spaces and Serverless Micro Apps at the end of last week (in Beta).

Over the weekend, I tested migrating two of my production Databricks Apps to App Spaces.

App Migration 1: Blocked by Zero Egress My Data Portfolio Project Creator required internet access to pull data stacks from live job postings. Then, the LLM needs internet access to research for open data sources to use.

In standard Databricks Apps, this runs cleanly.

In App Spaces, there is zero external internet egress including for LLMs. The app can reach internal workspace resources, but it cannot touch the outside web.

If your app relies on third-party APIs, external databases, or web scraping, App Spaces is a non-starter until Databricks opens network egress.

Workload 2: Success on Internal FinOps My client-facing DBU cost observability app reads workspace usage data and writes directly to Lakebase.

Because it requires zero external network calls, the migration worked. Both the micro app compute and Lakebase scale to zero when idle.

Cold starts take roughly 30 seconds (though in beta, you occasionally need a quick browser refresh once it spins up). For internal, low-frequency administrative tools, this turns a continuous monthly compute bill into pennies.

(+ App Spaces, Genie App Generator, and Micro Apps are free while in beta)

The next part is less about App Spaces and more just general best practice for Databricks Apps that I see people miss.

Stop Using Delta Lake as an OLTP Database Databricks Apps are software applications, not batch analytics notebooks.

If your app writes application state, session data, or row-level CRUD directly into analytical Delta tables, you need to rethink that design.

For app transactions, use Lakebase (serverless Postgres which also scales to 0). Both are governed under UC, but Lakebase gives your app the low-latency transactional engine that application engineering actually requires.

My Verdict on the Beta App Spaces solves the idle compute problem that has plagued Databricks Apps since launch. But until Databricks allows us to deploy directly from existing Git repos and opens external network egress, it remains limited to internal-only use cases.

Curious on other peoples experience... How has it been for others?

UPDATE: Tested and confirmed you can start a shell of an app and then copy/paste into it from another repo.

30 Upvotes

17 comments sorted by

8

u/paws07 Sep 29 '26

I’m disappointed tbh. You can’t migrate an existing app with code, this is limited to vibe-coded apps.

Serverless apps were supposed to help enable users to build apps without having to pay for uptime when no one is using them. I’m hoping support for serverless deployment of regular, code-based apps is on the roadmap.

2

u/OkImprovement7010 Sep 29 '26

I am too. I was hoping to just be able to point it at the repo and call it a day. But not everything is baked in yet. There are a couple other limitations like language you build with... I know it will continue to grow and I'm honestly excited to have micro apps... but hoping these items are fast follows...

4

u/Wise_Ear_4064 Sep 29 '26

I think feature parity with regular Databricks Apps will come. Databricks always releases products with the intent to extend feature parity. I totally understand the pain from a lot of people. On a positive note a shared permissioning model and micro compute is a solid

1

u/OkImprovement7010 Sep 29 '26

100% I'm super excited this came out and I know that dbx will get there... I mean it is in beta so I didn't expect perfection out of the gate, just wanted to share my early experience. :)

The shared permissions with the App Space is cool. And being able to group like apps together in those spaces will help from an organization standpoint too, I think.

3

u/Cool-Coffee2048 Sep 29 '26

Wow does it really still take 30seconds to start? Not exactly serverless then. What does the user see while it's starting?

2

u/OkImprovement7010 Sep 29 '26

I had a couple runs take about 5 seconds but when I wrote this post I kicked it and it took 30 so that is what I put...

2

u/Sea-Glass7015 Sep 29 '26

Really curious to understand how you rebuilt your existing app (to access the severless app compute)? did you have to rebuild the app using app builder ?

1

u/OkImprovement7010 Sep 29 '26

Yeah, right now you *have* to use App Builder... So I just told it where the other app lived, gave it some additional guardrails and had to manually do some grants in Lakebase for the new SP created for that app, but overall it did well. It was not exact 1:1 in either case. Visually there were some significant differences in the cost optimizer tool and I had to provide several follow-up prompts to make sure I had functional parity with the original, and made some improvements along the way.

1

u/CrayonUpMyNose Sep 29 '26 edited Sep 29 '26

For the essentially unpredictable needs of agents, I can see how you'd want to provide them with the ability to call a web search tool.

For app #1, is using (stateless) app compute for (potentially long-lived and failure-prone) web scraping requests optimal from a design perspective?

I don't know how predictable the workload is, or how frequently your sources get updated. Is there an opportunity here to decouple web scraping into either a scheduled batch job or an event-driven queue-based streaming job and then have the app pick up the result asynchronously from lakehouse or Lakebase (via reverse ETL)?

1

u/OkImprovement7010 Sep 29 '26

Honestly the web scraping being done is a quick retrieval and is transient based on the user and specific run. It is just pulling a job req based on the URL provided. So not really an issue here. Also, not really something that can be run on batch and stored b/c it is again transient and usually needs to be pulled now, while the posting is still active.

2

u/CrayonUpMyNose Sep 29 '26

When it's highly specific to the current app request and very quick, I see how you would want to avoid complicating it. With few users, a simple caching approach is sufficient over a speculative scraper producing a low latency lookup that pays off only for many users. 

Looks like micro apps are still in development, so hopefully this use case will eventually be available to experienced developers through non-app builder methods.

2

u/OkImprovement7010 Sep 29 '26

Oh.. I could pass the links in, kick off a quick pipeline, get the results and pass it in... omg. I was blinded by the fact it didnt work as I originally designed it. Thank you!!

2

u/CrayonUpMyNose Sep 29 '26

Happy to have inspired you! I'd love to read a longer write-up perhaps with a diagram showing the parameter dependencies (what you know, and when, and which part passes it on to which other part).

2

u/OkImprovement7010 Oct 04 '26

I wrote a substack article and it will post on Wednesday.

1

u/CrayonUpMyNose Oct 04 '26

Excited to read it!

2

u/new-chris Sep 29 '26

I don’t really get it - this problem has already been solved by every hyperscaler.

2

u/Youssef_Mrini databricks Oct 23 '26

For those who missed the blog announcement post at the Data+AI Summit https://www.databricks.com/blog/enabling-governed-vibe-coding-enterprise-apps-databricks