How to launch a vineyard cluster ? #157
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 9 replies
-
On kubernetes, I think you could launch a distributed vineyard cluster using helm, by following the instructions in README. Without kubernetes, launching a vineyard cluster requires launch a etcd server first, then pass a Prebuilt vineyardd binary is available via Dockerhub libvineyard/vineyardd. For linux users, a daily built standalone binary is available at https://github.com/alibaba/libvineyard/releases/tag/latest. |
Beta Was this translation helpful? Give feedback.
-
Hi, sighingnow |
Beta Was this translation helpful? Give feedback.
-
In vineyard etcd cluster play as a service registration (aka. vineyard instance registartion), as well as global metadata synchronization. Most of the objects in vineyard are "local objects", which means the object may be need to visible for clients on other nodes. But for global objects, e.g., a distributed tensor or a paritioned graph, we sync the metadata to etcd and other vineyard server could see such objects by watching the change stream from etcd. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I did not get it , what's the difference between the global object and the local object? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Okay, i see. |
Beta Was this translation helpful? Give feedback.
-
We choose to leave such stuffs to application itself, or at least drivers. You know, users may have many different options to shuffle their data, e.g., HTTP, tcp, RDMA, MPI, or other customized logic. They all have pros as well as cons in different environments and vineyard cannot fit all. The "aggregation or group operations based on data's hash key" won't be implmented in vineyard since vineyard itself is not a key-value storage. And, you konw, different users may want to hash on different part of the object with different hash functions, and then want to use different migration strategies after hashing. That is too application-specfic or problem-specific. Vineyard chooses to provide a pluggable design for users to implement and select such kind of drivers. |
Beta Was this translation helpful? Give feedback.
-
I think the tab "discussions" is a more suitable place for this thread :) |
Beta Was this translation helpful? Give feedback.
On kubernetes, I think you could launch a distributed vineyard cluster using helm, by following the instructions in README.
Without kubernetes, launching a vineyard cluster requires launch a etcd server first, then pass a
--etcd_endpoint
arguments tovineyardd
. You could find all useful command line arguments byvineyardd --help
.Prebuilt vineyardd binary is available via Dockerhub libvineyard/vineyardd. For linux users, a daily built standalone binary is available at https://github.com/alibaba/libvineyard/releases/tag/latest.