Amit,

You’re better off processing the data in place. Can you write your processing 
as a function that can execute on each node and process only the local data and 
returning only the results of that processing to your client?

If your going to continue with queries then yes, faster serialization can be 
achieved through implementing DataSetializable.

-Jake


> On Jan 11, 2018, at 11:28 PM, Amit Pandey <[email protected]> wrote:
> 
> Hi Guys,
> 
> I have a query which fetches some 30,000 rows in a single machine.
> I want to get under a second if possible or much lesser and do some 
> processing on it.
> I have some indexes is it possible to give me some tips on Optimizing 
> performance?
> 
> Does implementing DataSerializable in domain class help ? I am using 
> ReflectionbasedSerializer.
> 
> Regards

Reply via email to