PolarDB-for-PostgreSQL icon indicating copy to clipboard operation
PolarDB-for-PostgreSQL copied to clipboard

[Question]Is there support for TCP instead of RDMA?

Open ericjest opened this issue 1 year ago • 3 comments

Describe the problem

Hi, based on the PolarDB papers and documentation, it seems like RDMA is used to send logs and pages between the disaggregated storage and compute layers.

Is there support for using TCP instead? I am curious whether I can deploy PolarDB without access to RDMA hardware. I've looked over the documentation and can't find any clarification on this.

ericjest avatar Jan 31 '24 16:01 ericjest

Hi @ericjest ~ Thanks for opening this issue! 🎉

Please make sure you have provided enough information for subsequent discussion.

We will get back to you as soon as possible. ❤️

polardb-bot[bot] avatar Jan 31 '24 16:01 polardb-bot[bot]

@ericjest Sorry for the late response. Yes, you can deploy PolarDB without RDMA hardware.

  1. If you just want to deploy only a primary computing node as a PostgreSQL plus, then local file system is just enough.
  2. If you want to deploy a cluster with primary node and replica node, you need to deploy a shared storage, which acts as a shared block device on both computing node. The way the shared storage works as a block device depends on the storage itself, it can use RDMA, or something else.

mrdrivingduck avatar Feb 02 '24 10:02 mrdrivingduck

Thank you!

ericjest avatar Feb 02 '24 11:02 ericjest

/close

mrdrivingduck avatar Aug 20 '24 08:08 mrdrivingduck