jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1533) RdbDocumentStore should use a connection pool
Date Fri, 14 Mar 2014 04:24:46 GMT

    [ https://issues.apache.org/jira/browse/OAK-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934569#comment-13934569
] 

Chetan Mehrotra commented on OAK-1533:
--------------------------------------

There are couple of options

* If using H2 then directly create an instance of [JdbcDataSource|http://www.h2database.com/javadoc/org/h2/jdbcx/JdbcDataSource.html]
* Spring has a class [SingleConnectionDataSource|https://github.com/spring-projects/spring-framework/blob/master/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/SingleConnectionDataSource.java]
which also comes handy in test env

> RdbDocumentStore should use a connection pool
> ---------------------------------------------
>
>                 Key: OAK-1533
>                 URL: https://issues.apache.org/jira/browse/OAK-1533
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: mongomk
>            Reporter: Julian Reschke
>
> The RDB stores should use a connection pool for maximum concurrency.
> In production scenarios, we can probably just use the DataSource API, but we'll need
to figure out what to do in absence of a DataSource (i.e., a test environment).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message