Skip to main content
QUICK REVIEW

[論文レビュー] Fast Transaction Scheduling in Blockchain Sharding

Ramesh Adhikari, Costas Busch|arXiv (Cornell University)|May 23, 2024
Blockchain Technology Applications and SecurityComputer Science被引用数 3
ひとこと要約

この論文は、ブロックチェーンシャーディングにおけるバッチトランザクション実行時間を最小化するための新規集中型および分散型トランザクションスケジューリングアルゴリズムを提案する。階層的クラスタリングと集中最適化を用いて、証明可能な高速スケジュールを達成し、分散環境では$O(\mathcal{A}_{\mathcal{CS}}\log^2 s)$の競合比を達成する。ここで$\mathcal{A}_{\mathcal{CS}}$は集中スケジューラの近似比である。

ABSTRACT

Sharding is a promising technique for addressing the scalability issues of blockchain, and this technique is especially important for IoT, edge, or mobile computing. It divides the $n$ participating nodes into $s$ disjoint groups called shards, where each shard processes transactions in parallel. We examine batch scheduling problems on the shard graph $G_s$, where we find efficient schedules for a set of transactions. First, we present a centralized scheduler where one of the shards is considered as a leader, who receives the transaction information from all of the other shards and determines the schedule to process the transactions. For general graphs, where a transaction and its accessing objects are arbitrarily far from each other with a maximum distance $d$, the centralized scheduler provides $O(kd)$ approximation to the optimal schedule, where $k$ is the maximum number of shards each transaction accesses. Next, we provide a centralized scheduler with a bucketing approach that offers improved bounds for the case where $G_s$ is a line graph, or the $k$ objects are randomly selected. Finally, we provide a distributed scheduler where shards do not require global transaction information. We achieve this by using a hierarchical clustering of the shards and using the centralized scheduler in each cluster. We show that the distributed scheduler has a competitive ratio of $O(A_{CS} \cdot \log d \cdot \log s)$, where $A_{CS}$ is the approximation ratio of the centralized scheduler. To our knowledge, we are the first to give provably fast transaction scheduling algorithms for blockchain sharding systems. We also present simulation results for our schedulers and compare their performance with a lock-based approach. The results show that our schedulers are generally better with up to 3x lower latency and 2x higher throughput.

研究の動機と目的

  • シャーディングアーキテクチャにおける高速で競合のないバッチトランザクションスケジューリングを可能にすることで、ブロックチェーンシステムのスケーラビリティのボトル neck を解決する。
  • トランザクションスケジューリング問題を、$s$個のシャーディングと最大トランザクションアクセス距離$d$を持つシャーディング通信グラフ$G_s$上のバッチスケジューリングタスクとして形式化する。
  • 一般、クリーク、ハイパーキューブ、バタフライ、グリッドトポロジーに対して、証明可能な近似保証を持つ集中スケジューラを設計する。
  • グローバル知識の要件を排除しつつも強力な性能バインディングを維持するため、階層的クラスタリングを用いた分散スケジューラを開発する。
  • 多様なネットワークトポロジーとトランザクションアクセスパターンにおける近似比の理論的分析を提供する。

提案手法

  • すべてのトランザクションのグローバル知識を用いて、シャーディング間でサブトランザクションをスケジューリングする集中スケジューラを提案し、競合制約下での実行時間を最小化する。
  • 集中スケジューラにおいて、ランダムおよび構造的アクセスパターンの両方の近似バインディングを改善するためのバケツ化技術を適用する。
  • 各クラスタが限定的な調整で動作する局所的集中スケジューラを用いる、シャーディングの階層的クラスタリングに基づく分散スケジューラを設計する。
  • 通信ラウンドを制限するため、$H_2 = O(\log s)$のサブレイヤーと、$d_q = O(2^q \log s)$のクラスタ径を有するレイヤー構造を用いる。
  • 最大次数$kl$($k$はトランザクションあたりの最大オブジェクト数、$l$はオブジェクトあたりの最大負荷)を持つトランザクション依存性グラフの貪欲な彩色を用いて、通信ラウンド数を制限する。
  • クラスタレベルのスケジューリング性能と階層的深さを組み合わせることで、競合比を導出する。その結果、分散アルゴリズムでは$O(\mathcal{A}_{\mathcal{CS}} \log^2 s)$が得られる。

実験結果

リサーチクエスチョン

  • RQ1集中型ブロックチェーンシャーディングシステムにおける高速バッチトランザクションスケジューリングの、達成可能な最良の近似比は何か?
  • RQ2一般グラフ、クリーク、ハイパーキューブ、グリッドなどの異なるシャーディンググラフトポロジーにおいて、集中スケジューラの性能はどのように変化するか?
  • RQ3グローバルトランザクション知識を回避しつつも、最適スケジュールに対する証明可能な近似比を維持できる分散スケジューラを設計できるか?
  • RQ4階層的クラスタリングは、分散シャーディング環境における通信複雑性と競合比にどのような影響を与えるか?
  • RQ5ランダムアクセスパターンとライン構造のシャーディンググラフは、提案されたスケジューリングアルゴリズムの近似バインディングにどのような影響を与えるか?

主な発見

  • 一般グラフでは、集中スケジューラは最適スケジュールに対する$O(kd)$の近似を達成する。ここで$k$はトランザクションがアクセスする最大シャーディング数、$d$はオブジェクトまでの最大距離である。
  • クリークグラフでは、集中スケジューラは$O(k)$の近似を提供し、ハイパーキューブ、バタフライ、$g$次元グリッド($g = O(\log s)$)では$O(k\log s)$の近似を達成する。
  • バケツ化により、一般グラフにおけるランダム$k$オブジェクトアクセスでは$O(k\log D \cdot (k + \log s))$の近似に改善され、ライングラフでは$O(k\sqrt{d}\log D)$の近似が得られる。ここで$D$はシャーディンググラフの直径である。
  • 分散スケジューラは、$O(\mathcal{A}_{\mathcal{CS}} \log^2 s)$の競合比を達成する。ここで$\mathcal{A}_{\mathcal{CS}}$は集中スケジューラの近似比である。
  • 一般グラフにおけるランダムアクセスでは、分散アルゴリズムは$O(kd \log^2 s)$の近似を提供し、ライングラフでは$O(k\sqrt{d}\log D \cdot \log^2 s)$の近似が得られる。
  • 分散スケジューラは、階層的クラスタリングによる$O(\log^2 s)$のペナルティを被るが、トランザクション負荷の下界$\Omega(l)$を考慮すると、定数要因の範囲でタイトである。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。