[erlang-questions] facebook chat server

Kevin A. Smith kevin@REDACTED
Mon May 19 12:37:03 CEST 2008


You have it about right. Thrift is supplies just sync RPC which was  
all I needed at the time. It's not a replacement for more  
sophisticated frameworks like ICE or CORBA but it does hit the sweet  
spot, IMHO, for 80% of the cross-language use cases.

--Kevin
On May 19, 2008, at 2:47 AM, Ludovic Coquelle wrote:

> I have been using ICE a little bit, and it is also quite easy to use  
> (compared to CORBA). However there is no Erlang support (there is a  
> user-contrib for Ocaml though). ICE offer any combination of sync/ 
> async request/respond; it also comes with few tools (efficient  
> publish-subscribe server, service location system ...).
>
> Anyone could tell me diff between ICE and Thrift?
> I haven't investigated Thrift enough, but it seems to be mainly a  
> sync RPC IDL ... I would love to be wrong on that :)
>
> On Sun, May 18, 2008 at 11:31 AM, Kevin A. Smith <kevin@REDACTED 
> > wrote:
> I like Thrift because there's no ORB, the client/server model is
> actually pretty sane, and the IDL strikes the right balance between
> completeness and usefulness. I can actually read the source to Thrift
> and understand what the code is doing. The last time I did anything
> with CORBA (around the late 1990's) it was all so complicated and
> difficult to use. It seemed like "Hello, World" required a ton of
> infrastructure and 100 lines of code. IMHO SOAP is just as bad with
> all the WS-* madness and lack of interop between impls.
>
> When I considered Thrift the only real inter-language alternatives
> were SOAP (ugh!), CORBA (double-ugh!), Thrift, or roll-your own.
> Thrift let me write the code I needed to write with minimal fuss. The
> servers have been in production for 7 months without a single crash or
> problem.
>
> --Kevin
> On May 17, 2008, at 10:31 PM, Igor Ribeiro Sucupira wrote:
>
> > I'm too lazy to read about Thrift, so I'll ask my question here  
> (:p):
> > Why is this better than using CORBA?
> >
> > Thanks.
> > Igor.
> >
> > On Thu, May 15, 2008 at 3:18 PM, Kevin A. Smith
> > <kevin@REDACTED> wrote:
> >> Thrift is quite interesting. It's been accepted as an Apache  
> project
> >> and is currently in the project incubator. We're using it at work  
> as
> >> an RPC mechanism across several different langauges (PHP, Python,  
> and
> >> Java). It works quite well.
> >>
> >> --Kevin
> >> On May 15, 2008, at 2:01 PM, Ulf Wiger wrote:
> >>
> >>> Yes, and thrift sounds interesting too. It took me a while to find
> >>> the
> >>> erlang-related stuff
> >>> in trunk/, but there is some - in
> >>> http://svn.facebook.com/svnroot/thrift/trunk/tutorial/erl/,
> >>> for example.
> >>>
> >>> BR,
> >>> Ulf W
> >>>
> >>> 2008/5/15 Torbjorn Tornkvist <tobbe@REDACTED>:
> >>>> I picked up this on the #erlang channel:
> >>>>
> >>>> http://www.facebook.com/notes.php?id=9445547199
> >>>>
> >>>>
> >>>> Pretty cool!
> >>>>
> >>>> --Tobbe
> >>>>
> >>>> _______________________________________________
> >>>> erlang-questions mailing list
> >>>> erlang-questions@REDACTED
> >>>> http://www.erlang.org/mailman/listinfo/erlang-questions
> >>>>
> >>> _______________________________________________
> >>> erlang-questions mailing list
> >>> erlang-questions@REDACTED
> >>> http://www.erlang.org/mailman/listinfo/erlang-questions
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://www.erlang.org/mailman/listinfo/erlang-questions
> >>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>




More information about the erlang-questions mailing list