Concurrent Call Level Interfaces based on an embedded thread safe local memory structure

Detalhes bibliográficos
Autor(a) principal: Pereira, Óscar Mortágua
Data de Publicação: 2017
Outros Autores: Aguiar, Rui L.
Idioma: eng
Título da fonte: Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
Texto Completo: http://hdl.handle.net/10773/18234
Resumo: Performance is traditionally considered one of the most significant concerns in intensive database applications. Several architectural tactics may be taken to minimize the possibility of coming across with any performance bottleneck. One of them is the usage of Call Level Interfaces (CLI). CLI are low level API that provide a high performance environment to execute SQL statements on relational and also on some NoSQL database servers. In spite of this, CLI are not thread safe, this way preventing distinct threads from sharing datasets retrieved from databases through Select statements. Thus, in situations where two or more threads need to access datasets retrieved from the same Select statement, there is no other alternative than providing each thread with its own dataset, this way consuming important computational resources. In this paper we propose a new design for CLI to overcome the aforementioned drawback. Unlike current implementations of CLI, now they are natively thread-safe. The implementation herein presented is based on a thread safe updatable local memory structure where data retrieved from databases is kept. A proof of concept based on Java Database Connectivity type 4 (JDBC) for SQL Server 2008 is presented and also a performance assessment.
id RCAP_19f570ca36d8cbfbe7f060b248e03a1a
oai_identifier_str oai:ria.ua.pt:10773/18234
network_acronym_str RCAP
network_name_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository_id_str 7160
spelling Concurrent Call Level Interfaces based on an embedded thread safe local memory structureCall Level InterfacesConcurrencyPerformanceDatabasesMiddlewareSoftware architecturePerformance is traditionally considered one of the most significant concerns in intensive database applications. Several architectural tactics may be taken to minimize the possibility of coming across with any performance bottleneck. One of them is the usage of Call Level Interfaces (CLI). CLI are low level API that provide a high performance environment to execute SQL statements on relational and also on some NoSQL database servers. In spite of this, CLI are not thread safe, this way preventing distinct threads from sharing datasets retrieved from databases through Select statements. Thus, in situations where two or more threads need to access datasets retrieved from the same Select statement, there is no other alternative than providing each thread with its own dataset, this way consuming important computational resources. In this paper we propose a new design for CLI to overcome the aforementioned drawback. Unlike current implementations of CLI, now they are natively thread-safe. The implementation herein presented is based on a thread safe updatable local memory structure where data retrieved from databases is kept. A proof of concept based on Java Database Connectivity type 4 (JDBC) for SQL Server 2008 is presented and also a performance assessment.KSI Research Inc. and Knowledge Systems Institute2017-08-22T09:43:42Z2017-01-01T00:00:00Z2017conference objectinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/10773/18234eng1-891706-41-12325-900010.18293/SEKE2017-120Pereira, Óscar MortáguaAguiar, Rui L.info:eu-repo/semantics/openAccessreponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2024-05-06T04:02:21Zoai:ria.ua.pt:10773/18234Portal AgregadorONGhttps://www.rcaap.pt/oai/openairemluisa.alvim@gmail.comopendoar:71602024-05-06T04:02:21Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse
dc.title.none.fl_str_mv Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
title Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
spellingShingle Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
Pereira, Óscar Mortágua
Call Level Interfaces
Concurrency
Performance
Databases
Middleware
Software architecture
title_short Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
title_full Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
title_fullStr Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
title_full_unstemmed Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
title_sort Concurrent Call Level Interfaces based on an embedded thread safe local memory structure
author Pereira, Óscar Mortágua
author_facet Pereira, Óscar Mortágua
Aguiar, Rui L.
author_role author
author2 Aguiar, Rui L.
author2_role author
dc.contributor.author.fl_str_mv Pereira, Óscar Mortágua
Aguiar, Rui L.
dc.subject.por.fl_str_mv Call Level Interfaces
Concurrency
Performance
Databases
Middleware
Software architecture
topic Call Level Interfaces
Concurrency
Performance
Databases
Middleware
Software architecture
description Performance is traditionally considered one of the most significant concerns in intensive database applications. Several architectural tactics may be taken to minimize the possibility of coming across with any performance bottleneck. One of them is the usage of Call Level Interfaces (CLI). CLI are low level API that provide a high performance environment to execute SQL statements on relational and also on some NoSQL database servers. In spite of this, CLI are not thread safe, this way preventing distinct threads from sharing datasets retrieved from databases through Select statements. Thus, in situations where two or more threads need to access datasets retrieved from the same Select statement, there is no other alternative than providing each thread with its own dataset, this way consuming important computational resources. In this paper we propose a new design for CLI to overcome the aforementioned drawback. Unlike current implementations of CLI, now they are natively thread-safe. The implementation herein presented is based on a thread safe updatable local memory structure where data retrieved from databases is kept. A proof of concept based on Java Database Connectivity type 4 (JDBC) for SQL Server 2008 is presented and also a performance assessment.
publishDate 2017
dc.date.none.fl_str_mv 2017-08-22T09:43:42Z
2017-01-01T00:00:00Z
2017
dc.type.driver.fl_str_mv conference object
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10773/18234
url http://hdl.handle.net/10773/18234
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv 1-891706-41-1
2325-9000
10.18293/SEKE2017-120
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv KSI Research Inc. and Knowledge Systems Institute
publisher.none.fl_str_mv KSI Research Inc. and Knowledge Systems Institute
dc.source.none.fl_str_mv reponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron:RCAAP
instname_str Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron_str RCAAP
institution RCAAP
reponame_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
collection Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository.name.fl_str_mv Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
repository.mail.fl_str_mv mluisa.alvim@gmail.com
_version_ 1817543590556991488