Giter Club home page Giter Club logo

Comments (5)

JoelPM avatar JoelPM commented on August 17, 2024

Very cool! Your Scala implementation is much cleaner. Now I'm tempted to write a version in Erlang to see how it compares to Scala =)

from bidithrift.

MasseGuillaume avatar MasseGuillaume commented on August 17, 2024

Haha programming language war :P.

I think it will be pretty similar, because most of the scala code are actors.

about issues/1 are you using thrift 0.6.0 ? I think it's the only version that work with oneway rpc.

from bidithrift.

JoelPM avatar JoelPM commented on August 17, 2024

Unfortunately, I can't remember which version of thrift I was using. It was
a very old version, as that code sample is from about three years ago,
IIRC. At the time thrift wasn't available in the main maven repo. I should
update the code.

On Fri, Oct 12, 2012 at 10:34 AM, Guillaume Massé
[email protected]:

Haha programming language war :P.

I think it will be pretty similar, because most of the scala code are
actors.

about issues/1 #1 are you
using thrift 0.6.0 ? I think it's the only version that work with oneway
rpc.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9384112.

from bidithrift.

MasseGuillaume avatar MasseGuillaume commented on August 17, 2024

Great 👍 as I mention version 0.6.0 work fine and you can get libthrift from main maven repo.

In the article you say:

The nice thing about this method is that you don't have to establish two connections, so you can get around the >firewall issues others have mentioned.

I dont get this. I think the client still have to have an firewall outbound rule for port XYZ.

from bidithrift.

JoelPM avatar JoelPM commented on August 17, 2024

On Sat, Oct 13, 2012 at 10:42 AM, Guillaume Massé
[email protected]:

Great [image: 👍] as I mention version 0.6.0 work fine and you can get
libthrift from main maven repo.

In the articlehttp://joelpm.com/2009/04/03/thrift-bidirectional-async-rpc.htmlyou say:

The nice thing about this method is that you don't have to establish two
connections, so you can get around the >firewall issues others have
mentioned.

I dont get this. I think the client still have to have an firewall
outbound rule for port XYZ.

The client still has to allow an outbound connection, but you don't have to
punch a hole in the firewall for a port to listen for an inbound
connection. The client establishes the connection and uses it for
bidirectional communication, rather than one port for inbound communication
and another port for outbound communication (as some had suggested at the
time that I wrote the article).


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9406750.

from bidithrift.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.