[
https://issues.apache.org/jira/browse/THRIFT-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726500#action_12726500
]
Rush Manbert commented on THRIFT-311:
-------------------------------------
I've got what I believe is a complete port to Asio and Boost::Thread running on
my Mac and PC. I developed the code by making standalone projects for the two
stress tests and the concurrency test that just included all the library source
along with the test code. That made it easy to work on and debug, but meant
that I would need to bring it all back into the distribution tree eventually. I
am working on that now for the *nix distro. I think I've got autoconf figured
out, but the new config parameters allow for 8 build variations (excluding
debug/release), so it's a lot to test.
Once that is done, I need to check out the head rev from the repository and
merge my changes into it on my Mac, then move the merged tree to my Windows
machine, create the library and test Visual Studio projects (Again, on the
Windows machine I have a single VS solution that builds the two stress tests
and the concurrency test, using sources that I would occasionally bring over
from the Mac.), and write the configuration script for Windows. Then test it.
Sigh. But there are only 2 variants on Windows, so there's not so much to test.
When all of that's finished and tested I'm going to talk to David and Mark
about how to 1) Make it available for others to test, and 2) Get it accepted
back into the Thrift distribution.
> ASIO client & server
> --------------------
>
> Key: THRIFT-311
> URL: https://issues.apache.org/jira/browse/THRIFT-311
> Project: Thrift
> Issue Type: Sub-task
> Components: Library (C++)
> Reporter: Esteve Fernandez
> Attachments: thrift_connection.cpp, thrift_connection.hpp,
> thrift_connection_v2.cpp, thrift_handler.cpp, thrift_handler.hpp,
> thrift_main.cpp, thrift_server.cpp, thrift_server.hpp,
> ThriftCalculatorASIOServer.cpp
>
>
> Given the recent discussion on a Windows port and moving to ASIO
> (http://mail-archives.apache.org/mod_mbox/incubator-thrift-dev/200901.mbox/%[email protected]%3e),
> I decided to hack a little Thrift asynchronous prototype server using ASIO
> and here's the result. It implements the Calculator service that can be found
> in the tutorial and, just like TNonblockingServer, it uses a FramedTransport.
> It's just a quick prototype, but I think it's enough for building a more
> generic server/protocol. I've only tested it in Linux, but I think there's
> nothing platform-dependent and can be compiled "as is" in Windows.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.