thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Regarding Thrift and Ajax
Date Mon, 27 Apr 2009 19:24:06 GMT
Swaroop,

Thrift is generally best for internal consumption.  If you expose an API to
the wild world, you need more than just a JSON translator.  You also need
anti-spoofing measures, transaction rate limits, authentication and input
verification.  Raw thrift is really pretty raw and not so long ago, it was
pretty easy to get an Exception by just sending random bytes to a Thrift
server.

That said, if *all* you care about is the JSON/Thrift translation,
jabsorb+thrift looks pretty sweet.

On Mon, Apr 27, 2009 at 10:57 AM, Dave Engberg <dengberg@evernote.com>wrote:

>
> ... a JavaScript ORB bridge.
>
>
>
> Swaroop C H wrote:
>
>> ... how do people deal with the issue
>> of interaction between Ajax and Thrift-based APIs?
>> ...
>> If the Ajax cannot access the API directly, then a wrapper (that works
>> with Ajax) would have to be written for every single service call.
>>
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message