diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-12-14 15:12:40 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-12-14 15:12:40 -0800 |
commit | 34e0933ff5560d7e6e9992efd498852418bf580d (patch) | |
tree | 3f3715d99e219171d881fbeddfb8e03ae05eb07d /cpp | |
parent | edits to INSTALL files (diff) | |
download | ice-34e0933ff5560d7e6e9992efd498852418bf580d.tar.bz2 ice-34e0933ff5560d7e6e9992efd498852418bf580d.tar.xz ice-34e0933ff5560d7e6e9992efd498852418bf580d.zip |
edits to README files
Diffstat (limited to 'cpp')
-rwxr-xr-x | cpp/demo/Ice/interleaved/README | 20 | ||||
-rw-r--r-- | cpp/demo/Ice/plugin/README | 18 |
2 files changed, 19 insertions, 19 deletions
diff --git a/cpp/demo/Ice/interleaved/README b/cpp/demo/Ice/interleaved/README index 2c15f555be5..51d02cebdbf 100755 --- a/cpp/demo/Ice/interleaved/README +++ b/cpp/demo/Ice/interleaved/README @@ -1,6 +1,7 @@ A more advanced throughput demo that allows you to send sequences of various types between client and server and to measure the maximum -bandwidth that can be achieved using asynchronous requests & replies. +bandwidth that can be achieved using asynchronous requests and +replies. To run the demo, first start the server: @@ -10,13 +11,12 @@ In a separate window, start the client: $ client -For the bytes sequence operations in this demo we provide some -optimizations. For in paramaters we use the "cpp:array" metadata -which on the server side means that the operation implementation is -passed pointers into the marshalling buffer which eliminates a copy -of the sequence data. - -For return paramaters we also use the "cpp:array" metadata, but this -time in conjuction with AMD. Doing this also reduces the number of -times the returned sequence is copied during marshalling. +We utilize some optimizations for the byte sequence operations in this +demo. First, we use the "cpp:array" metadata for in parameters, which +means the servant implementation in the server receives the sequence +as a pair of pointers into the marshaling buffer, thereby eliminating +an extra copy of the sequence data. +We also use the "cpp:array" metadata for return values, along with +AMD. This also reduces the amount of copying that occurs while +marshaling the reply message. diff --git a/cpp/demo/Ice/plugin/README b/cpp/demo/Ice/plugin/README index 9943295c71b..2f4207da5d7 100644 --- a/cpp/demo/Ice/plugin/README +++ b/cpp/demo/Ice/plugin/README @@ -1,5 +1,5 @@ -This demo illustrates how to write and configure a simple Ice plugin -as well as a Ice Logger plugin. +This demo illustrates how to write and configure a simple Ice plug-in +as well as an Ice Logger plug-in. To run the demo, first start the server: @@ -9,15 +9,15 @@ In a separate window, start the client: $ client -Both the client and server use a custom logger which is loaded as -a logger plugin. The server also uses a plugin to implement the +Both the client and server use a custom logger that is loaded as +a logger plug-in. The server also uses a plug-in to implement the servant for this demo. -Please look in the client and sever configuration files to see the -plugin configuration. +Please review the client and sever configuration files to see the +plug-in configuration. For the server or client to be able to find the library containing the -plugin, you must add the current directory to your shared library +plug-in, you must add the current directory to your shared library search path (e.g., LD_LIBRARY_PATH on Linux, DYLD_LIBRARY_PATH on Mac -OS X, etc.). Alternatively, you can copy the library to a directory -that is already in the search path. +OS X, etc.). Alternatively, you can copy the library to a directory +that is already in your search path. |