This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
Replies: 1 comment 10 replies
-
Well, it depends on what you mean "talk to". From the perspective of an engine, it doesn't care about where the journal/storage is. It uses whatever the kernel provides to it. However, inside the kernel, it may simply connect to a journal service and talk to it directly. We can't imagine that every read/write request goes to the kernel first. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@huachaohuang I commented on the original Warehouse docs PR that we've reached a consensus about wrapping the
Storage
andJournal
behind an upper-level interface (I think it'sKernel
now). But currently, an engine still talks to all ofKernel
,Storage
, andJournal
. What's your plan for this abstraction?Reference
In this way, a client should talk to both Storage and Warehouse. So a user should keep in mind these usages. It seems a bit awkward. I'll imagine with the Warehouse facade, a user can talk to the Warehouse only.
Originally posted by @tisonkun in #114 (comment)
Make senses. We can hide Storage from the abstraction.
Originally posted by @huachaohuang in #114 (comment)
With #140 and #143, a client (engine) is still holding all of:
Originally posted by @tisonkun in #114 (comment)
Beta Was this translation helpful? Give feedback.
All reactions