GEODE-8831: Fix performance degradation after changing to boost::asio (#719)

After replacing ACE_SOCK with boost::asio a
significant performance degradation has been observed
in send and receive operations.

The cause has been some log debug calls added to the
TcpConn::send and TcpConn::receive that took as
input a stringstream previously created.

After changing these logs to not use the
stringstream, the performance of the
native client has returned to the original
1 file changed
tree: a4fb17e30c160d88cc4bb1284a83fc7dd17c838c
  1. .asf.yaml
  2. .clang-format
  3. .clang-tidy
  4. .cpackignore
  5. .gitignore
  6. .lcovrc
  7. .lgtm.yml
  8. .ratignore
  9. .travis.yml
  11. CMakeLists.txt
  13. FindNativeClient.cmake
  14. FindNativeClientCPPCache.cmake
  16. NOTICE
  18. bin/
  19. clicache/
  20. cmake/
  21. cppcache/
  22. defaultSystem/
  23. dependencies/
  24. dist/
  25. docker/
  26. docs/
  27. etc/
  28. examples/
  29. executables/
  30. packer/
  31. sni-test-config/
  32. sqliteimpl/
  33. ssl_keys/
  34. templates/
  35. tests/
  36. tools/
  37. xsds/

Build Status License Total alerts Language grade: C/C++ Language grade: C# Language grade: JavaScript

Building from Source
Application Development


Native Client is a client implementation for Apache Geode that does not require the Java server JARs.

Building from Source

Directions to build Native Client from source can be found in the source distribution in

Application Development

Native Client applications can be written in these client technologies:

Export Control

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included cryptographic software:

  • Apache Geode links to and uses OpenSSL ciphers.