java - How to create a shared or static library from redis source code? -
i trying invoke redis functions java using jni. due performance reasons, can't use redis java client. have interact directly redis server side source code. first step seems difficult me. in jni, must load native library while redis doesn't have such library "libredis.so" or "libredis.a".
i tried create static library using ar command. can't work properly, because has other dependency directories.
any suggestions?
thanks
you can hiredis
here, if that's mean. build shared object, pay attention required memory architecture.
"interact directly redis server side source code"
this line confuses me bit, think i'm steering in right direction.
Comments
Post a Comment