Monday, February 24, 2014

JAVA JNI transfer efficiency is better to use 127.0.0.1 communication?


I feel that is the case, an ordinary socket. localSocket not used, some of it should be higher efficiency<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Personal feeling is not so comparison, JNI is generally deal with more complex underlying problems, video, images, complex encryption and decryption,
If you can solve it unnecessary for them to use JNI JAVA to solve it.
JAVA JNI and interact with things that are JVM.

Reply:
This idea is not ah landlord
Reply:
Upstairs misunderstood what I meant it, I do not take the socket and jni ratio, which is to take the call vm in jni java and compared the data to pass through socket java program.

No comments:

Post a Comment