GithubHelp home page GithubHelp logo

patrickfrey / strusrpc Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 4.08 MB

Calling strus via RPC, implementation with help of the libevent library on server side

License: Mozilla Public License 2.0

CMake 3.21% Shell 0.02% C++ 86.31% C 4.88% Perl 5.57%

strusrpc's People

Contributors

andreasbaumann avatar patrickfrey avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

strusrpc's Issues

OS X build fails due to strus::utils::Crc32 dep

Filing a bug you guys had this working already, and its yet another reference to the strus_private static library. :)

strusRpc] make
[ 53%] Built target uv
[ 59%] Built target strus_private_utils
[ 75%] Built target strusRpcServer
[ 76%] Linking CXX shared library libstrus_rpc_client.dylib
Undefined symbols for architecture x86_64:
  "strus::utils::Crc32::calc(char const*, unsigned long)", referenced from:
      strus::RpcSerializer::packCrc32() in rpcSerializer.cpp.o
      strus::RpcDeserializer::unpackCrc32() in rpcSerializer.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/libstrus_rpc_client.0.7.1.dylib] Error 1
make[1]: *** [src/CMakeFiles/strus_rpc_client.dir/all] Error 2
make: *** [all] Error 2

unused template expansion on 32-bit (I suppose)

/home/abaumann/projects/strus/strusRpc/src/rpcSerializer.cpp:117:6: warning: ‘void {anonymous}::unpack(const char*&, const char*, void*) [with int <anonymous> = 2]’ defined but not used [-Wunused-function]
 void unpack<2>( char const*& itr, const char* end, void* ptr)
      ^~~~~~~~~
/home/abaumann/projects/strus/strusRpc/src/rpcSerializer.cpp:111:6: warning: ‘void {anonymous}::pack(std::__cxx11::string&, const void*) [with int <anonymous> = 2]’ defined but not used [-Wunused-function]
 void pack<2>( std::string& buf, const void* ptr)

server not multithreaded

The RPC server based on libevent uses only one core to implement requests.
A queue is needed instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.