> On Thu, 2011-09-29 at 20:54 -0700, Richard Catlin wrote:
>> Is there a native way to share data between two cppCMS instances on an RPC
> basis?
>>
>> Has anybody integrated Apache Thrift with cppCMS? If so, how?
>
> I use a thrift CLIENT into cppcms application and works as expected.
>
> The example is the same as normal thrift client instantiation.
>
> If you want to create a thrift server instance, I think you should need
> another thread for running that instance.
>
Small note, if the Server can be used asynchronously (i.e. it
can use some foreign even-loop - i.e. polling service) it can be
integrated into CppCMS's event loop using booster::aio::basic_io_device
object or booster::aio::stream_socket object.
Artyom
|