7 CONSIDERATIONS & FUTURE
WORK
The solution proposed was successful in collect and
store the events generated and, with minor adjust-
ments, can be implemented in environments that use
other orchestrators, like Kubernetes. The storage of
events on a blockchain made it possible to identify
the event collector through the private key used in
the transaction generation. Also, the distributed stor-
age and cryptographic chaining characteristics ensure
data availability and integrity.
It is important to note that the number of events
generated in container virtualization environments
can be high. Some blockchain configurations have a
direct impact on its performance (e.g., channel com-
position, endorsement policy, block size, and block
timeout) and must be adjusted according to the envi-
ronment to be monitored. Benchmark tools like Hy-
perledger Caliper can be useful to verify the ideal
blockchain configuration in terms of performance
through transaction latency and throughput.
The Raft consensus mechanism allows an ad-
equate security level combined with good perfor-
mance, fitting most of the use cases where the partici-
pants are reliable. However, some environments may
require a Byzantine fault-tolerant consensus mecha-
nism. The Hyperledger Fabric has a modular architec-
ture that allows replacement and customization of the
consensus mechanism but does not yet have a Byzan-
tine fault-tolerant consensus mechanism available.
As future works, we intend to develop a compo-
nent that will allow fast log conflict identification be-
tween the actors regarding the collected events. To
verify the throughput of the proposed solution we
plan to execute a blockchain benchmark with Caliper,
that can be useful to optimize the blockchain config-
uration. We also intend to implement some of the
Byzantine fault-tolerant consensus mechanisms un-
der development, such as SMaRt-BFT (Bessani et al.,
2014), to verify the viability of the proposed solution
in environments where actors are not reliable.
ACKNOWLEDGMENTS
The authors thank the support of FAPESC, and
LabP2D / UDESC.
This work was supported by Ripple’s University
Blockchain Research Initiative (UBRI) and in part
by the Brazilian National Council for Scientific
and Technological Development (CNPq - grant
304643/2020-3).
REFERENCES
Bessani, A., Sousa, J., and Alchieri, E. (2014). State ma-
chine replication for the masses with BFT-SMART.
In 44th Annual IEEE/IFIP Int. Conf. on Dependable
Systems and Networks, pages 355–362.
cAdvisor (2020). cadvisor docs.
https://github.com/google/cadvisor/.
Ciuffoletti, A. (2015). Automated deployment of a
microservice-based monitoring infrastructure. Proce-
dia Computer Science, 68:163–172. 1st Int. Conf. on
Cloud Forward: From Distributed to Complete Com-
puting.
Collectd (2020). Collectd docs.
https://collectd.org/documentation.shtml.
Dawadi, B., Shakya, S., and Paudyal, R. (2017). Common:
The real-time container and migration monitoring as a
service in the cloud. Journal of the Institute of Engi-
neering, 12:51.
Hykes, S. (2013). The future of Linux containers. Pycon
US 2013. https://youtu.be/wW9CAH9nSLs.
Hyperledger.Docs (2021). Hyperledger fabric of-
ficial documentation. https://hyperledger-
fabric.readthedocs.io/en/release-2.2/prereqs.html.
Jamshidi, P., Pahl, C., Mendonc¸a, N., Lewis, J., and Tilkov,
S. (2018). Microservices: The journey so far and chal-
lenges ahead. IEEE Software, 35(3):24–35.
Jim
´
enez, L., Sim
´
on, M., Schel
´
en, O., Kristiansson, J.,
Synnes, K., and
˚
Ahlund, C. (2015). Coma: Resource
monitoring of docker containers. In CLOSER, pages
145–154.
Jo, H., Ha, J., and Jeong, M. (2018). Light-weight ser-
vice lifecycle management for edge devices in I-IoT
domain. In Int. Conf. on Information and Communi-
cation Technology Convergence (ICTC), pages 1380–
1382.
Laurie, B. (2014). Certificate transparency: Public, verifi-
able, append-only logs. Queue, 12(8):10—-19.
Newman, S. (2015). Building Microservices. OReilly, 1
edition.
Oliveira, F., Suneja, S., Nadgowda, S., Nagpurkar, P., and
Isci, C. (2017). A cloud-native monitoring and ana-
lytics framework. Technical report, Technical Report
RC25669, IBM Research.
Pourmajidi, W. and Miranskyy, A. (2018). Logchain:
Blockchain-assisted log storage. In IEEE 11th Int.
Conf. on Cloud Computing (CLOUD), pages 978–
982.
Rodriguez, M. A. and Buyya, R. (2019). Container-based
cluster orchestration systems: A taxonomy and fu-
ture directions. Software: Practice and Experience,
49(5):698–719.
Container Allocation and Deallocation Traceability using Docker Swarm with Consortium Hyperledger Blockchain
295