You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reduce overload of main thread we have created 2 separate shared workers, where all the stuff is hosted. Bi-interraction between all layers occurs using proxy(comlink abstraction) or directly using broadcast channels.
19
15
20
-
## Db
16
+
## Db layer
21
17
22
-
Db worker is pretty simple it it's host only local relational-graph-vector database - [[cozo]].
18
+
Db worker is pretty simple it it's host only local relational-graph-vector database - [[cozo]]. It's represented with DbApi in frontend and backend layers.
23
19
Cozo provide bazing fast access to brain and ipfs data in relational form and also in vector format, processing by [ml]embedder.
24
20
25
21
```mermaid
26
22
graph TD;
23
+
dbApi["dbApi"]--odb_meta_orm;
27
24
subgraph rune["cozo db"]
28
25
db_meta_orm[["meta orm"]]-.->db;
29
26
end
30
27
```
31
28
32
-
### Entities
29
+
### Db entities
33
30
34
31
- brain:
35
32
- particles
@@ -45,7 +42,7 @@ graph TD;
45
42
- config
46
43
- queue messages
47
44
48
-
## Backend
45
+
## Backend layer
49
46
50
47
Backend worker is more complicated it contains significant elements of cyb architecture:
0 commit comments