06 September 2010

The Ruby Reflector

Topic

RPC

  Source Favicon
By guilhermesilveira of CaelumObject Developers' Blog 3 months ago.
Email

Let's imagine that EJBs, CORBA, or any RPC protocol was implemented in a library in a way that the user is responsible for i.e. marshalling its content:

result = MyLibrary.send("header content", 1287361278361278365674)

if result==200

order_price = result.body[95..100]

else

raise "unable to retrieve order information"

end

What hapenned? Is it really an EJB/Corba/RPC implementation if you have to marshal/unmarshal on your own? Or is it just a socket …

guilhermesilveira.wordpress.com Read
  Source Favicon
By guilhermesilveira of CaelumObject Developers' Blog 3 months ago.
Email

…Tradicional web services decouple a little bit more than traditional RPC, but still provide this amount of coupling that cost our companies more than they were expecting to pay .

The following presentation 6 minutes presentation shows how to avoid some of this coupling from your server .

The entire video cast on the 3rd part from Rest from scratch is here:

This code achieves its results using Restfulie 0.8.0, with many thanks to everyone who contributed …

guilhermesilveira.wordpress.com Read
  Source Favicon
By Jonathan Ellis of Spyced 5 months ago.
Email

Avro RPC support : currently Cassandra's client layer is the Thrift RPC framework, which sucks for reasons outside our scope here. We're moving to Avro, the new hotness from Doug Cutting (creator of Lucene and Hadoop, you may have heard of those). Basically this means porting org.apache.cassandra.thrift.CassandraServer to org.apache.cassandra.avro.CassandraServer; some examples are already done by Eric Evans.

Session-level consistency : In one and …

spyced.blogspot.com Read
  Source Favicon
By Ilya Grigorik of igvita.com 7 months ago.
Email

RPC with Ruby and Avro

The RPC piece of Avro is also pretty straight forward: the protocol is defined as an Avro schema, where both the inputs and the methods (along side with the request / response input and output parameters) are provided inline. In principle, this also means that given the right framework, different clients could easily negotiate different data-formatting on the fly, without having to worry about versioning or conditional code paths. A simple Mail protocol with …

igvita.com Read
  Source Favicon
By ceefour of AdaRuby 8 months ago.
Email

…in JavaScript and all Object-oriented programming languages. It's RPC and object-oriented.

REST Model. The "Web programming model" as Google calls it. This is less of an API and more of a protocol(s). It's resource-oriented or document-oriented.

Comet model. Asynchronous programming model. Data is passed through several message channels. Everybody are clients, they can publish and subscribe to the channels.

I have been somewhat obsessed by this quest since …

adaruby.com Read
  Source Favicon
Email

Team spoke about BERT (for Binary ERlang Term) and the RPC protocol and server he built with it. The talk had great information about the specification for BERT and the protocol but, it also had a message of experimentation, with some of Tom's guidelines, tacked on. I'm not sure if this approach was effective. His message encouraging rubyists to experiment came across as pontification, in many ways. I hope attendees were generally able to move past this to absorb the quality …

viget.com Read
  Source Favicon
On Graceless Failures 10 months ago.
Email

…only that, but you're using Thrift for cross-language, high-performance RPC support. Nothing but the latest and greatest for you, eh?

Out of the box, though, sbt knows nothing about Thrift. Fortunately, it's easy to wire that up. You just want to throw something like this in your build file (you know, the one in project/build that you created while following along with the superb documentation that sbt offers?):

1 2 3 4 5 6 7 8 9 10 11 12

lazy val thrift = task …

gracelessfailures.com Read
  Source Favicon
By Alex Payne of Graceless Failures 10 months ago.
Email

Building Thrift Dependencies In Scala with sbt

So you're using the fantastic simple-build-tool (sbt) to build your Scala project. Not only that, but you're using Thrift for cross-language, high-performance RPC support. Nothing but the latest and greatest for you, eh?

Out of the box, though, sbt knows nothing about Thrift. Fortunately, it's easy to wire that up. You just want to throw something like this in your build file (you know, the one in project/build …

gracelessfailures.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 11 months ago.
Email

It's interesting working with clients who are passionate about URL structure.

Introducing BERT and BERT-RPC - GitHub's new binary data serialization and RPC protocol. They may have invented the ruby of RPC.

Devise: flexible authentication solution for Rails - Built on top of Warden. I'm not personally sold on pushing authentication down into Rack, but if you are this engine is probably worth a look.

Pimping out git log - An alias to get nicer command line displays.

afreshcup.com Read
  Source Favicon
By Travis of Travis Dunn 11 months ago.
Email

Positive: eBay is firmly in the RPC design camp, and frankly, aside from desirable auction data, there's not much to recommend the API. If the documentation seems exhaustive - and it most certainly is, see the guide to REST , for example - then it's an honest emmisary of the beast of a system which sits behind an ostensibly friendly API frontend. Although there are detailed code samples and a development sandbox , these are more necessary complications …

travisdunn.com Read