Re: Performance and large numbers of servers

2022-06-28 Thread Pavel Tupitsyn
Thank you for tracking this down! An additional map by name is a good idea there. > CONCURRENCY NOTE: these two maps need to update concurrently All updates are triggered by discovery events, which are raised under "synchronized (discoEvtMux)" in GridDiscoveryManager, so it is safe to update two

Re: Performance and large numbers of servers

2022-06-28 Thread Arthur Naseef
The following is taking most of the time: @Nullable private ServiceInfo lookupInRegisteredServices(String name) { for (ServiceInfo desc : registeredServices.values()) { if (desc.name().equals(name)) return desc; } return null; } After changing that to use a Map

Re: Performance and large numbers of servers

2022-06-28 Thread Arthur Naseef
Yes. The "services" in our case will be schedules that periodically perform fast operations. For example a service could be, "ping this device every seconds". Art On Tue, Jun 28, 2022 at 12:20 PM Pavel Tupitsyn wrote: > > we do not plan to make cross-cluster calls into the services > > If

Re: Performance and large numbers of servers

2022-06-28 Thread Pavel Tupitsyn
> we do not plan to make cross-cluster calls into the services If you are making local calls, I think there is no point in using Ignite services. Can you describe the use case - what are you trying to achieve? On Tue, Jun 28, 2022 at 8:55 PM Arthur Naseef wrote: > Hello - I'm getting started

Performance and large numbers of servers

2022-06-28 Thread Arthur Naseef
Hello - I'm getting started with Ignite and looking seriously at using it for a specific use-case. Working on a Proof-Of-Concept (POC), I am finding a question related to performance, and wondering if the solution, using Ignite Services, is a good fit for the use-case. In my testing, I am

Re: Cache directory full path on disk

2022-06-28 Thread Stephen Darlington
What are you trying to achieve? > On 28 Jun 2022, at 13:14, Sumit Deshinge wrote: > > How do I get a full cache directory path? > E.g. ignite_storage_path/host/cache_name > > I want this full directory path from the machine where cache data is > physically being stored. (not only storage

Cache directory full path on disk

2022-06-28 Thread Sumit Deshinge
How do I get a full cache directory path? E.g. ignite_storage_path/host/cache_name I want this full directory path from the machine where cache data is physically being stored. (not only storage directory path, but actual cache data directory) Is there any ignite API for the same? -- Regards,

Re: Re: ignite client can not reconnect to ignite Kubernetes cluster,after pod restart

2022-06-28 Thread Pavel Tupitsyn
The fix has been merged. Thanks for the contribution, wkhapy123! On Fri, Jun 24, 2022 at 8:57 AM Pavel Tupitsyn wrote: > Please request contributor permissions on d...@ignite.apache.org > > On Fri, Jun 24, 2022 at 6:53 AM wkhapy...@gmail.com > wrote: > >> Hi, >> >> I want to contribute to