RE: [DISCUSS] What should the "Connection Pool" be named?

2022-01-21 Thread Christofer Dutz
To: dev@plc4x.apache.org Subject: Re: [DISCUSS] What should the "Connection Pool" be named? Here is how I would create the abstraction; There are "physical connections" from the PLC4X to zero, one or more devices, and a single connection is held to each device. Then we n

Re: [DISCUSS] What should the "Connection Pool" be named?

2022-01-21 Thread Niclas Hedhman
Here is how I would create the abstraction; There are "physical connections" from the PLC4X to zero, one or more devices, and a single connection is held to each device. Then we need a solution where different threads can access each such physical connection in an ordered/shared manner. So,

RE: [DISCUSS] What should the "Connection Pool" be named?

2022-01-21 Thread Christofer Dutz
byte-based access in this case. But that's fine-tuning we would need to add over time, I think. But the same could be done for different transport variants. Chris -Original Message- From: Stephen Snow Sent: Freitag, 21. Januar 2022 13:55 To: dev@plc4x.apache.org Subject: Re: [DISCUSS] W

Re: [DISCUSS] What should the "Connection Pool" be named?

2022-01-21 Thread Stephen Snow
Hello, On Fri, 2022-01-21 at 11:35 +, Christofer Dutz wrote: > Hi all, > > in the past we had a "ConnectionPool" ... but in reality, we don't > have a pool of multiple connection to one target, like in databases, > but usually we have only one connection to each source in the "pool". > But