Question regarding connection pool in Activate

24 views
Skip to first unread message

Chan Nguyen

unread,
Nov 19, 2014, 7:11:50 PM11/19/14
to activate-p...@googlegroups.com

Hello Flavio,

I'd to ask if you could help me understand how Activate handles connection pool.
Does each transactional block use 1 connection until it finish?
For example:

def get(ids: List[String]) : List[FeatureEntity] = transactional {
select[FeatureEntity].where(_.id in ids)
}


On the other hand, looking at the implementation in net.fwbrasil.activate.storage.relational.SimpleJdbcRelationalStorage. I saw the `poolSize` = 20, so if there is 20 connections hanging, how
will the 21 connection be handled?

Thanks in advance,
Reply all
Reply to author
Forward
0 new messages