andrea
October 14, 2024, 11:07am
1
Hello,
I want to ask you if it is more efficient to make 3 separate mutateIn calls or a single one like this or it is the same.
mutateIn(“hotel_1368”, List.of(remove(“ty”));
mutateIn(“hotel_1368”, List.of(remove(“tz”));
…
mutateIn(“hotel_1368”, List.of(remove(“ty”), List.of(remove(“tz”), …);
If someone has some links/ books of best practices for performances with java sdk would be appreciated.
Thanks for the support.
Andrea
Each mutateIn operation makes a round-trip to a data node. It’s more efficient to make one call.
1 Like
For general performance - KV operations are much faster than query operations. And using reactive operations can be used to execute operations concurrently which may give your application a performance boost.
1 Like
system
Closed
January 12, 2025, 3:46pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.