possible to notice that the throughput gets proportion-
ally smaller with increased users. It starts at about 11
times bigger than the number of users, counting down
to a little below one time.
Still, in Table 1, it is not shown that the error per-
centage is 0% in the first three entries. While in the
fourth, it reaches 12.39%. This fact shows that be-
tween 100 and 500 simultaneous users, there is a mo-
ment (probably close to the 250) when the server can-
not keep up with the requests. It is also perceptible
that the throughput has reached a threshold.
On the upside, that auditing system was developed
in a factory with few employees. Besides that, the PCs
would not all be used simultaneously through most of
the expedient. From these circumstances, it is possi-
ble to conclude that this microservice will be able to
show its best performance most of the time.
7 CONCLUSIONS
This paper presented a pharmaceutical audit trail
blockchain-based microservice intending to store all
pharmaceutical system operations with integrity, se-
curity, and traceability besides facilitating the au-
dit process. Using this proposed microservice, any
pharmaceutical system can automatically register and
share its operations within a blockchain. This in-
formation sharing can facilitate the audit process
by the competent bodies and prevent possible fraud
by ensuring the immutability of data stored on the
blockchain.
Moreover, we presented a case study involving
two systems related to medicine production (SigNu-
plam and OPDigital) and two supervision systems
(ANVISA and the Ministry of Health). This scenario
was used to evaluate the proposed solution through
load testing. In this test, an increasing number of si-
multaneous users was simulated, making requests in
the system that should be registered in the blockchain
through the proposed solution.
From the results, it is perceptible that the audit
trail microservice can handle at least 100 to 200 si-
multaneous users without any data loss and with good
throughput. Therefore, it can be used in small or
medium-sized companies with around that amount of
simultaneous users.
In future works, the search for specific informa-
tion within the blockchain must be analyzed, consid-
ering the performance (time required), since the infor-
mation is stored in a chained and chronological way
and tends to increase over time. Another factor to
consider is the readability of the audit trail during the
audit process.
ACKNOWLEDGEMENTS
This work is supported by the Nuplam
11
and Smart
Metropolis Lab
12
.
REFERENCES
Abreu, P. W., Aparicio, M., and Costa, C. J. (2018).
Blockchain technology in the auditing environment.
In 2018 13th Iberian Conference on Information Sys-
tems and Technologies (CISTI), pages 1–6. IEEE.
Ahmad, A., Saad, M., Njilla, L., Kamhoua, C., Bassiouni,
M., and Mohaisen, A. (2019). Blocktrail: A scalable
multichain solution for blockchain-based audit trails.
In ICC 2019-2019 IEEE International Conference on
Communications (ICC), pages 1–6. IEEE.
Allinson, C. (2001). Information systems audit trails in le-
gal proceedings as evidence. Computers & Security,
20(5):409–421.
Berdik, D., Otoum, S., Schmidt, N., Porter, D., and Jarar-
weh, Y. (2021). A survey on blockchain for informa-
tion systems management and security. Information
Processing & Management, 58(1):102397.
Cruz-Correia, R., Boldt, I., Lap
˜
ao, L., Santos-Pereira, C.,
Rodrigues, P. P., Ferreira, A. M., and Freitas, A.
(2013). Analysis of the quality of hospital informa-
tion systems audit trails. BMC medical informatics
and decision making, 13(1):1–10.
Daemmrich, A. and Bowden, M. E. (2005). Emergence
of pharmaceutical science and industry: 1870–1930.
Chem Eng News, 83.
Dailey, J. W. (2018). Pharmaceutical industry. Encyclope-
dia Britannica.
Lamport, L., Shostak, R., and Pease, M. (2019). The byzan-
tine generals problem. In Concurrency: the works of
leslie lamport, pages 203–226.
Loss, S., Cacho, N., Lopes, F., and Valle, J. M. (2019). Or-
thus: A blockchain platform for smart cities. In Pro-
ceedings of IEEE International Smart Cities Confer-
ence ISC2 2019. IEEE.
Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic
cash system. Decentralized Business Review, page
21260.
Puthal, D., Malik, N., Mohanty, S. P., Kougianos, E., and
Das, G. (2018). Everything you wanted to know about
the blockchain: Its promise, components, processes,
and problems. IEEE Consumer Electronics Magazine,
7(4):6–14.
RANA, K. (2021). How audit trail can lead to increased
compliance and transparency. The Economic Times.
Regueiro, C., Seco, I., Guti
´
errez-Ag
¨
uero, I., Urquizu, B.,
and Mansell, J. (2021). A blockchain-based audit trail
mechanism: Design and implementation. Algorithms,
14(12):341.
Rostad, L. and Edsberg, O. (2006). A study of access con-
trol requirements for healthcare systems based on au-
dit trails from access logs. In 2006 22nd Annual Com-
puter Security Applications Conference (ACSAC’06),
pages 175–186. IEEE.
11
https://nuplam.ufrn.br/
12
https://smartmetropolis.imd.ufrn.br
Pharmaceutical Audit Trail Blockchain-Based Microservice
375