ai21.net
語言

可縮放的應用架構可視化畫布

示範影片

可縮放的應用架構可視化畫布 — 1

提示詞

I have a weird task for you. I want you to look at the app and create, for lack of a better word, a canvas that I can zoom in and zoom out and move around to see how our architecture actually works. A lot has changed, and I'm starting to lose an overview of everything that we're doing, especially with Model and Convex.

I want you to map out in a visual way what happens when a user signs up, pays, or gets a guest pass, and then they upload a file. What happens? We create, for example, right now. That's one of the things that I really want to understand. Right now, we're still creating a chat and a project, but the chats are actually independent, I believe, and the projects, I don't even know how the fuck that works. That's already where it starts.

A file is being uploaded, and then that file is being put somewhere into R2 storage, and then some modal workers are doing some things. There's a modal app, or one modal worker, but that has multiple apps. I don't really understand how that works either. I really want you to have a visualization of how this actually all works.

中文翻譯

我有個奇怪的任務給你。我想讓你看看這個應用,然後創建一塊——找不到更好的說法——畫布,讓我可以放大、縮小、四處移動,看看我們的架構實際上是怎麼運作的。很多東西都變了,我開始逐漸失去對我們所做一切的全局認識,尤其是涉及 Model 和 Convex 的部分。

我想讓你用可視化的方式梳理出:當用戶註冊、付費或拿到訪客通行證,然後上傳文件時,會發生什麼?比如,就拿現在來說,我們會創建什麼。目前,我們仍在創建聊天和項目,但我認爲聊天實際上是獨立的,而項目——我甚至不知道那玩意兒到底是怎麼運作的。問題就從這裏開始。

一個文件被上傳,然後那個文件被放到 R2 存儲的某個地方,接着一些 modal worker 在做一些事情。有一個 modal 應用,或者一個 modal worker,但它有多個應用。這部分我也不太明白是怎麼運作的。我真的很希望你能把這一切實際如何運作可視化出來。

溯源

原作者
robinebers
發佈日期
2026-09-30(由推文 ID 反解)
原始出處
查看原帖 ↗
收錄來源
zhuyansen/awesome-opus-5.5-video · 2105309987983745060 · 未聲明授權