Re: How to avoid "all partition owners have left the grid" or handle automatically.

2023-02-14 Thread John Smith
Hello, does anyone have insights on this? On Thu., Feb. 9, 2023, 4:28 p.m. John Smith, wrote: > Any thoughts on this? > > On Mon., Feb. 6, 2023, 8:38 p.m. John Smith, > wrote: > >> That Jira doesn't look like the issue at all. That issue seems to suggest >> that there is a "data loss" exception

Re: Performance benchmarks for Thin Client and Thick Client

2023-02-14 Thread Pavel Tupitsyn
Thick and thin clients have similar performance on basic use cases. For example, here is a DataStreamer benchmark, .NET thin vs thick: https://github.com/apache/ignite/blob/master/modules/platforms/dotnet/Apache.Ignite.BenchmarkDotNet/ThinClient/ThinClientDataStreamerBenchmark.cs But you should al

Re: Need whelp with reading a list of binaryobjects from a field

2023-02-14 Thread Николай Ижиков
The simplest place is source code [1] [2]: public static boolean knownMap(Object map) { Class cls = map == null ? null : map.getClass(); return cls == HashMap.class || cls == LinkedHashMap.class || (!wrapTrees() && cls == TreeMap.class) || c

Performance benchmarks for Thin Client and Thick Client

2023-02-14 Thread satyajit.mandal.barclays.com via user
Hi Team, Is there any performance benchmark documented for .NET thin client vs thick client. Can someone share details about performance comparison between thin and thick client. Regards Satyajit Barclays Execution Services Limited registered in England. Registered No. 1

Re: Need whelp with reading a list of binaryobjects from a field

2023-02-14 Thread Dinakar Devineni
Thanks for the answer, it works now, as i changed it to arraylist. Where can i find the supported list implementations? On Tue, Feb 14, 2023 at 3:23 AM Николай Ижиков wrote: > Hello. > > The trick here is the following line > > > car.setInspirations(List.of(new Car(), new Car())); > > Ignite se

Re: Need whelp with reading a list of binaryobjects from a field

2023-02-14 Thread Mikhail Pochatkin
Thank you for the answer! Perhaps maybe we should specify the list of collection implementations and add an example to the documentation? I think it will be helpful. вт, 14 февр. 2023 г. в 11:24, Николай Ижиков : > > Thanks for your question! Could you please provide doc references where > you f

Re: Need whelp with reading a list of binaryobjects from a field

2023-02-14 Thread Dinakar Devineni
https://ignite.apache.org/docs/latest/key-value-api/binary-objects - Maps, collections and arrays of objects (but the objects inside them are reconverted if they are binary) On Tue, Feb 14, 2023 at 1:07 AM Mikhail Pochatkin wrote: > Hi, Dinakar. > > Thanks for your question! Could y

Re: Need whelp with reading a list of binaryobjects from a field

2023-02-14 Thread Николай Ижиков
> Thanks for your question! Could you please provide doc references where you > found that it should be possible? https://ignite.apache.org/docs/latest/key-value-api/binary-objects#enabling-binary-mode-for-caches > The following classes are never converted (e.g., the toBinary(Object) method > r

Re: Need whelp with reading a list of binaryobjects from a field

2023-02-14 Thread Николай Ижиков
Hello. The trick here is the following line > car.setInspirations(List.of(new Car(), new Car())); Ignite serialize as a binary collection only *some* implementation of List interface. Others serialized using standard java serialization. I rewrite your code and now it’s working as expected: ``