Please note that in my case, the streamers are running on the server side
(as part of different services).

On Wed, Apr 15, 2020 at 6:46 AM narges saleh <[email protected]> wrote:

> So, in effect, I'll be having a pool of streamers, right?
> Would this still be the case if I am using BinaryObjectBuilder to build
> objects to stream the data to a few caches? Should I create a pool of data
> streamers (a few for each cache)?
> I don't want to have to create a new object builder and data streamer if I
> am inserting to the same cache over and over.
>
> On Tue, Apr 14, 2020 at 11:56 AM Evgenii Zhuravlev <
> [email protected]> wrote:
>
>> For each connection, on node side will be created its own datastreamer. I
>> think it makes sense to try pooling for data load, but you will need to
>> measure everything, since the pool size depends on the lot of things
>>
>> вт, 14 апр. 2020 г. в 07:31, narges saleh <[email protected]>:
>>
>>> Yes, Evgenii.
>>>
>>> On Mon, Apr 13, 2020 at 10:06 PM Evgenii Zhuravlev <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Do you use STREAMING MODE for thin JDBC driver?
>>>>
>>>> Evgenii
>>>>
>>>> пн, 13 апр. 2020 г. в 19:33, narges saleh <[email protected]>:
>>>>
>>>>> Thanks Alex. I will study the links you provided.
>>>>>
>>>>> I read somewhere that jdbc datasource is available via Ignite JDBC,
>>>>> (which should provide connection pooling).
>>>>>
>>>>> On Mon, Apr 13, 2020 at 12:31 PM akorensh <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>   At this point you need to implement connection pooling yourself.
>>>>>>   Use
>>>>>>
>>>>>> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ClientConnectorConfiguration.html#setThreadPoolSize-int-
>>>>>>   to specify number of threads Ignite creates to service connection
>>>>>> requests.
>>>>>>
>>>>>>   Each new connection will be handled by a separate thread inside
>>>>>> Ignite(maxed out a threadPoolSize - as described above)
>>>>>>
>>>>>>   ClientConnectorConfiguration is set inside IgniteConfiguration:
>>>>>>
>>>>>> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setClientConnectorConfiguration-org.apache.ignite.configuration.ClientConnectorConfiguration-
>>>>>>
>>>>>>   More info:
>>>>>>
>>>>>> https://www.gridgain.com/docs/latest/developers-guide/SQL/JDBC/jdbc-driver#cluster-configuration
>>>>>>
>>>>>> Thanks, Alex
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>>>>>
>>>>>

Reply via email to