Apache Ignite Workshop: Developing Applications That Are Easy to Manage

2020-12-03 Thread Alexey Kukushkin
Igniters, 

FYI: next Wednesday, December 9 2020 at 21:00 UTC+3 I am giving an Apache
Ignite Workshop "Developing Applications That Are Easy to Manage". Use this
link to register:
https://www.gridgain.com/resources/webinars/apache-ignite-workshop-developing-applications-are-easy-manage

Abstract

Typically, operations exceed fifty percent of the cost of an IT system’s
life cycle. By developing applications that can be easily managed,
developers can significantly reduce the cost of ownership. Manageability is
especially important for distributed applications because they are
especially complex and often mission-critical.

In this webinar, we discuss the following topics:

- Methods for using Apache Ignite to develop manageable applications
- The monitoring and managing tools that Ignite provides
- Use cases that use popular third-party tools to monitor Ignite





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: ThinClient issues

2020-12-03 Thread akorensh
Hi,
  use:
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setConsistentId-java.io.Serializable-
  to set the consistent id.
Thanks, Alex



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: ThinClient issues

2020-12-03 Thread Wolfgang Meyerle

Finally found the issue.
In the thin client configuration I had only one port provided to connect 
to the server nodes. As soon as I provided the default range 
(10800-10900) the connections seemed to behave better. This resolved the 
issue somehow.


However I tried it out at the cluster on the campus. With 50 nodes as 
thin clients connecting to two server nodes the server nodes seem to be 
completely overwhelmed.


Then I thought why not let every node have it's own Ignite instance.
It seems that a lot of resources are consumed from the Ignite Servers on 
the nodes even why no load at all on requests.


Then I realized that starting up all servers is a nightmare. It takes 
several minutes and just activating all nodes is more than 3 minutes 
without even reliably bringing up all of the nodes


Does anybody know how to define the consistend-id's in the xml file?

Regards,

Wolfgang





Am 02.12.20 um 10:58 PM schrieb akorensh:

Hi,
   The connection parameters are set by the thin client connector.
see:
https://ignite.apache.org/docs/latest/thin-clients/getting-started-with-thin-clients#configuring-thin-client-connector

  all attributes are listed here:

https://ignite.apache.org/releases/2.9.0/javadoc/org/apache/ignite/configuration/ClientConnectorConfiguration.html
see:
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ClientConnectorConfiguration.html#getThreadPoolSize--
(this specifies the number of threads set to process client requests)

Simple C++ put/get example:
https://github.com/apache/ignite/blob/master/modules/platforms/cpp/examples/thin-client-put-get-example/src/thin_client_put_get_example.cpp

connection resources should released when you destroy the IgniteClient
object.

monitor the Server logs to see what is happening.
see if the app is still connected using netstat.

try to connect via other thin clients to see if connection requests are
honored or not.

Thanks, Alex



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/



Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-12-03 Thread adumalagan
Thank you for the clarification!
For this use case where data is being pulled from an underlying RDBMS and
instantiated as an Associate object, is it possible to work the Associate
object as a Binary Object similar to what you've done here? 
Also, I see than in Vladamir's loading example, he uses the Colocation by
Partition, but that API is not available for C#. Is it possible to speed up
loading cache by using Binary Object + Colocating by Key, or Binary Object +
MapReduce API? 
 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: C# CacheStoreAdapter - Customizing Load, LoadCache methods

2020-12-03 Thread Pavel Tupitsyn
> are there C# equivalencies to the Java interfaces BinaryObject and
Affinity

Yes, please see IIgnite.GetAffinity [1] and GetBinary [2].

[1]
https://ignite.apache.org/releases/latest/dotnetdoc/api/Apache.Ignite.Core.IIgnite.html#Apache_Ignite_Core_IIgnite_GetAffinity_System_String_
[2]
https://ignite.apache.org/releases/latest/dotnetdoc/api/Apache.Ignite.Core.IIgnite.html#Apache_Ignite_Core_IIgnite_GetBinary

On Thu, Dec 3, 2020 at 8:55 AM  wrote:

> Hi,
>
> I do not use SQL because my interest is to get max performance, I use
> key-value API instead. The same reason is why I use Java - it is native for
> Ignite. I think there should be wrappers forBinaryObject and Affinity in c#.
>
> Vladimir
>
> 4:39, 3 декабря 2020 г., adumalagan :
>
> I see, thanks for the clarification!
>
> I also have another question - are there C# equivalencies to the Java
> interfaces BinaryObject and Affinity?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
>
>
> --
> Отправлено из мобильного приложения Яндекс.Почты
>