초록 열기/닫기 버튼

다양한 블록체인 시스템들의 보안 및 성능 검증에 사용하기 위한 범용 블록체인 검증 플랫폼을 제시하는 연구들이 존재하지만, 이들 검증 플랫폼들에서 대규모 블록체인 네트워크를 시뮬레이션하기위해서는 해결해야 할 몇 가지 문제점이 존재한다. 본 논문에서는 그중 하나인 과도한 메모리 사용을 개선하기 위하여 블록체인 데이터에 불변성에 맞추어 대규모 블록체인 시뮬레이션 플랫폼에서 가상 블록체인 네트워크 노드 개수의 증가에 따라 추가로 발생하는 메모리 사용을 효과적으로 감소시키는 방법을 제안한다. 제안한 방법을 블록체인 네트워크 시뮬레이션 플랫폼 중 하나인 BLEEP의 추상화 된 PoW 시뮬레이션 테스트에 적용한 결과, 1,000개의 PoW 노드를 이용한 실험에서 1초의 시뮬레이션 당 증가하는 평균 메모리 사용량이 95% 이상 감소하였으며 시뮬레이션 처리 속도는 평균 22%가량 증가하였다.


Blockchain evaluation platforms are used to check the security and performance of blockchain systems. Such evaluation platforms need to scale in simulation time and along the number of nodes for large blockchain networks. One particular issue in blockchain network simulation is the growth in memory usage as the number of virtual nodes grows in the simulation. In this paper, we propose memory-saving techniques by sharing permanent blockchain data among virtual nodes. By sharing the memory footprint on permanent blockchain data in the BLEEP blockchain simulation platform, we showed that our sharing mechanism effectively reduced memory usage and cut the simulation time by an average of 22% compared to the run on the original BLEEP simulation.