
the case study, the authors opted to develop an Alert
View, which allowed the study to be carried out with-
out compromising the coherence of the data.
The Esfinge VirtualLab facilitated the fast gener-
ation of visualizations for front-end development. It
internally incorporates the Esfinge Query Builder, and
the utilization of the @ServiceDAO and @Polyglot-
Config annotations facilitates fast setting of database
access.
In general, the case study may be developed with
minimal source code, which is advantageous for the
framework given its significant internal complexity.
The advantages of this design can enhance the devel-
oper experience due to minimal integration between
frameworks, a unified API, enhanced maintainability,
and autonomy.
7.2 Limitations
The case study has limitations, including the testing
of only two types of databases and the absence of
performance analysis. A study involving two distinct
database types is adequate to validate the framework’s
operation, as the particular implementations do not di-
rectly influence the Esfinge Query Builder CORE; in-
stead, they serve as extensions. However, the frame-
work was designed to allow polyglot operation with
a maximum of two, independent of their type, simul-
taneously. Nevertheless, instances involving three or
more databases within the same topic are infrequent
in the literature, prompting the authors to use this ap-
proach.
8 CONCLUSIONS
The research work delineated the definition of the
TPPFM, establishing a conceptual framework as a
foundation for the transparent implementation of
polyglot persistence for developers. Using the Esfinge
Query Builder as a reference framework, it was feasi-
ble to evolve it for polyglot functionality alongside its
existing capabilities that correspond to the requested
work.
A case study was created using real databases that
illustrated the operation of the framework. The in-
corporation of Esfinge VirtualLab facilitated the fast
acquisition of data visualization that connected infor-
mation across PostgreSQL and MongoDB databases
within a unified domain model, enabling seamless
polyglot operations through various ORM mappings.
The framework features a cohesive declarative API
that abstracts the utilization of diverse APIs from sev-
eral databases.
The results indicated that the framework promotes
development with minimal coding and substantial
modularity. Future endeavors will focus on creat-
ing performance assessments and, crucially, execut-
ing experiments to evaluate the developer’s experi-
ence, yielding suggestions for enhancing the frame-
work and broadening its capabilities.
REFERENCES
de Ara
´
ujo, A. M. C., Times, V. C., and da Silva, M. U.
(2016). Polyehr: A framework for polyglot persis-
tence of the electronic health record. In Proceed-
ings on the International Conference on Internet Com-
puting (ICOMP), page 71. The Steering Committee
of The World Congress in Computer Science, Com-
puter . . . .
De Souza, W. S., Pereira, F. O., Albuquerque, V. G., Mel-
egati, J., and Guerra, E. (2022). A framework model
to support a/b tests at the class and component level.
In 2022 IEEE 46th Annual Computers, Software, and
Applications Conference (COMPSAC), pages 860–
865, Los Alamitos, CA, USA. IEEE.
Eisenhuth, P. and Jablonski, S. (2022). Knowledge-based
recommendation for polyglot persistence. In CDMS@
VLDB.
El Ahdab, L., Megdiche, I., P
´
eninou, A., and Teste, O.
(2024). Unified models and framework for querying
distributed data across polystores. In International
Conference on Research Challenges in Information
Science, pages 3–18. Springer.
Eppinger, S. (2012). Design Structure Matrix Methods and
Applications. MIT Press.
Givre, C. and Rogers, P. (2018). Learning Apache Drill:
Query and Analyze Distributed Data Sources with
SQL. ” O’Reilly Media, Inc.”.
Guerra, E. (2014). Designing a framework with test-driven
development: A journey. IEEE software, 31(1):9–14.
GUERRA, E. M., BATISTA, J. A., and NASCIMENTO,
L. W. T. (2017). Esfinge query builder - frame-
work de acesso a dados para diferentes paradigmas
de banco. In CBSoft VIII Congresso de Software
Brasileiro, pages 65–72, Porto Alegre, RS, Brazil. So-
ciedade Brasileira de Computac¸
˜
ao (SBC).
Holubov
´
a, I., Contos, P., and Svoboda, M. (2021). Multi-
model data modeling and representation: State of the
art and research challenges. In Proceedings of the 25th
International Database Engineering & Applications
Symposium, pages 242–251.
Instituto Brasileiro de Geografia e Estat
´
ıstica (IBGE)
(2018). Populac¸
˜
ao em
´
Areas de Risco no Brasil.
IBGE, Rio de Janeiro.
Jim
´
enez-Peris, R., Patino-Martinez, M., Brondino, I., and
Vianello, V. (2016). Transactional processing for
polyglot persistence. In 2016 30th International Con-
ference on Advanced Information Networking and Ap-
plications Workshops (WAINA), pages 150–152, Pis-
cataway, NJ, USA. IEEE, IEEE.
A Framework Model for Supporting Transparent Polyglot Persistence with a Unified API and Extensible for Different Database Types
119