首页 文章
  • 8 votes
     answers
     views

    将Scala Future转换为Twitter Future

    我使用Finagle作为Web服务器,我想从我的应用程序逻辑返回Scala-Futures . 如何将scala.concurrent.Future转换为com.twitter.util.Future,当然是以非阻塞的方式?
  • 0 votes
     answers
     views

    使用Finagle直接ByteBuffers in Thrift

    我们目前使用thrift服务器为我们的RPC . 我们希望支持的其中一个调用想要将读取文件的结果返回到直接的ByteBuffer . THRIFT-883表示不支持(因为不支持ByteBuffer.array()),所以如果我们切换到finagle,我们是否想支持直接的ByteBuffers? finagle是否克服了这个限制,还是面临着这个限制? 示例代码: 节约 struct BlockRe...

热门问题