Skip to content

Commit

Permalink
Deployed f57eb00 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 21, 2024
0 parents commit 34df502
Show file tree
Hide file tree
Showing 82 changed files with 23,539 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
833 changes: 833 additions & 0 deletions 404.html

Large diffs are not rendered by default.

Binary file added architecture/imgs/DBTunnel Arch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
914 changes: 914 additions & 0 deletions architecture/index.html

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions architecture/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
hide:
- navigation
---


# Architecture

Here is a high level architecture diagram of a user's request going through the
process of retrieving data. This is not the situation with all apps but this is very feasible.

Keep in mind that the code of DBTunnel is the yellow bit of the diagram. The rest is the user's code.
The proxy intercepts the requests and rewrites the html and js files to allow for the app to be hosted behind a proxy
as needed. The reason for doing this is a lot of these apps are not designed to run/sit behind proxies. They expect
to be served at the root of the domain. And they send pre-rendered HTML that does not take into the location of the browser
window location. DBTunnel proxy rewrites are a stop gap.

Traffic flows through in the following order:

1. The user's browser
2. The Databricks Driver Proxy URL
3. The Driver Proxy
4. The DBTunnel Proxy (for most frameworks)
1. The DBTunnel ASGI proxy handles http requests and websocket requests separately
5. The User's App (gradio, chainlit, etc.)
6. [Optional] DBSQL connector/mlflow deployment client/requests library
7. [Optional] DBSQL Warehouse / Model serving endpoint / Jobs / etc.
8. [Optional] Unity Catalog / Databricks Clusters / etc.

<br>

![Image title](./imgs/DBTunnel%20Arch.png)

Binary file added assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions assets/javascripts/bundle.8fd75fb4.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/javascripts/bundle.8fd75fb4.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/javascripts/lunr/min/lunr.ar.min.js

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.da.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.de.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.du.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 34df502

Please sign in to comment.