Session

Building Better Apps: Architecture Best Practices and Common Patterns on Databricks Apps

Overview

ExperienceIn Person, Virtual
TrackApplication Development
IndustryCommunications, Media & Entertainment
TechnologiesDatabricks Apps
Skill LevelAdvanced
DOWNLOAD SESSION SLIDES

Building a data-driven application is easy; building one that is secure, performant, and scalable is where most teams struggle. This session provides a definitive field guide to the architectural patterns used by the most successful builders on the Databricks App platform. We will break down the ""how-to"" for the most in-demand app categories: Internal Tools, AI Copilots, Agentic Workflows, and Customer-Facing Products.

 

For each pattern, we will dive into the technical specifics that matter most:

  • Connectivity & State: Best practices for integrating with Databricks SQL and Lakebase.
  • Identity & Auth: Implementing On-Behalf-Of (OBO) tokens and service principal delegation to ensure data privacy.
  • Agentic Design: Orchestrating LLMs and tool-calling within a full-stack environment.
  • Performance: Strategies for caching and low-latency UI responses.

 

Join us to learn how to avoid common pitfalls and leverage standardized blueprints to ship better apps.

Session Speakers

Anant Pingle

/Sr. Specialist Solutions Engineer
Databricks

Naïm Achahboun

/Forward Deployed Engineer
Databricks

Full Summary

Four architectural principles for building fast, safe Databricks Apps

Prototypes on Databricks Apps come together quickly, especially with coding agents. Turning those prototypes into performant, secure, enterprise-ready applications requires a few nonnegotiable architectural choices. The conversation distills four principles that give any Databricks app, whether an agentic workflow, analytical UI, or transactional form, a durable foundation. Teams building agentic workflows in particular will find the landscape of enterprise AI agent trends, top use cases, governance, and evaluations a useful reference for understanding where these architectural choices fit into the broader delivery picture.

FAQ


Use the service principal for operations where user identity does not matter, such as background jobs, maintenance tasks, or updating shared application state. Reserve OBO for any data access where Unity Catalog permissions, row-level security, or column masks must apply to the end user. Both patterns can coexist in the same app.

Yes. The forwarded user access token can be propagated to downstream calls, including Genie queries, foundation model requests, and tool executions. Propagation keeps the agent within the user's permission boundary.

Horizontal scaling is in gated beta. Teams interested in trying it should contact their Databricks account team. Vertical scaling is generally available, and it only helps if your app is configured to use multiple cores.

It is an MLflow component that abstracts common agent-serving boilerplate for Databricks Apps, including streaming responses to the browser. Using it avoids reimplementing patterns in frameworks like FastAPI and provides a cleaner starting point for production agent apps.

Yes. Databricks SQL can reference Lakebase tables through Unity Catalog, which allows joins between operational and analytical data in a single query. The speakers also noted that engine improvements announced at the event are expected to make such cross-engine queries faster.