-
1. Re: How to acquire from Infinispan by the small number of times of communication
sannegrinovero Nov 2, 2012 5:32 AM (in response to pacificocean0511)Hi, I'm sorry I didn't understand your question.
This might be useful? https://docs.jboss.org/author/display/ISPN/Per-Invocation+Flags
-
2. Re: How to acquire from Infinispan by the small number of times of communication
pacificocean0511 Nov 5, 2012 7:12 AM (in response to sannegrinovero)Since I am a foreigner, please allow that he is poor at English.
It is assumed that there is composition of the following data.
Key/Value
-------------------------
10000/Obj#0000
10001/Obj#0001
: / :
19999 / Obj#9999
If 100 times of get(key) calling are simply performed when acquiring 100 cash entries of 10000 to 10099, a performance merit will not come out.
It is the background of a question whether there are some packaging methods which can carry out the package acquisition of the 100 entries applicable by one acquisition.
The example of the form of an ideal which he visualizes is as follows.
List<String> IDCriteriaList = new ArrayList<String>();
IDList.add("10000");
IDList.add("10001");
:
IDList.add("10099");
List<Obj> entryList = cache.getList(IDCriteriaList);//Network communication occurs once.
The case which incidentally is not good is as follows.
Obj entry1 = cache.get("10000");
Obj entry1 = cache.get("10001");
:
Obj entry1 = cache.get("10099");//Network communication will occur 100 times.
If the number of times of network communication increases, I think that that serves as a bottleneck.
Isn't there any method of carrying out as for which network communication becomes empty by clinet-server mode?
-
3. Re: How to acquire from Infinispan by the small number of times of communication
pacificocean0511 Nov 5, 2012 8:07 AM (in response to pacificocean0511)The question similar to the following is carried out.