| 講演抄録/キーワード |
| 講演名 |
2024-03-07 11:25
Rustを用いてOTPアプリケーションを構築するためのフレームワークの開発 ○岡本怜士・高田喜朗(高知工科大) SS2023-51 |
| 抄録 |
(和) |
プログラミング言語Rustがサポートする非同期プログラミングは,
エラーハンドリングに失敗すると他のプロセスを道連れにする可能性があるなどの理由からコストが高い.
そこで,本研究ではアクターモデルによる並行プログラミングをサポートするErlang/OTPを応用することで,
Rustのみを用いて耐障害性の高いアプリケーションを容易に開発できるフレームワークを開発した.
また,提案フレームワーク,Actix,OSスレッドを用いる手法の性能を比較するために4つのベンチマークプログラムを作成した.
その結果,提案フレームワークはActixと比べるとパフォーマンスは低く,OSスレッドよりは高速に動作する傾向にあったが,一部のベンチマークはこの限りではなかった.
提案フレームワークを用いるとOTPが提供する多機能なスーパバイザプロセスを実装できるため,耐障害性の高いシステムを低コストで開発できることが期待される. |
| (英) |
Concurrent programming with the green threads in the programming language Rust is very costly for reasons such as the possibility of killing other processes with a crashing process when error handling fails. In this study, we have developed a framework whereby a programmer can easily develop highly fault-tolerant applications using only Rust by applying Erlang/OTP, which supports concurrent programming with the actor model.
We created four benchmark programs to compare the performance of the proposed framework, Actix, and a method using OS threads. As a result, the performance of the proposed framework was lower than Actix and tended to operate faster than OS threads, but this was not the case for some benchmarks.
The use of the proposed framework is expected to be able to develop a highly fault-tolerant system at low cost because it can implement the multifunctional supervisor process provided by OTP. |
| キーワード |
(和) |
Rust / Erlang/OTP / 性能評価 / 耐障害性 / / / / |
| (英) |
Rust / Erlang/OTP / Performance Evaluation / Fault Tolerance / / / / |
| 文献情報 |
信学技報, vol. 123, no. 414, SS2023-51, pp. 13-18, 2024年3月. |
| 資料番号 |
SS2023-51 |
| 発行日 |
2024-02-29 (SS) |
| ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
| PDFダウンロード |
SS2023-51 |