Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Connection handling (multiple vs single requests per connection)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ciprian Dorin Craciun  
View profile  
 More options Apr 24 2011, 5:49 pm
From: Ciprian Dorin Craciun <ciprian.crac...@gmail.com>
Date: Mon, 25 Apr 2011 00:49:46 +0300
Local: Sun, Apr 24 2011 5:49 pm
Subject: Connection handling (multiple vs single requests per connection)
    Hello all!

    I'm investigating the possibility to use BERT-RPC for controlling
an Erlang application, and after looking at the "reference"
implementation Ernie and at the specification it is unclear to me how
connection handling is done:
    * the specification isn't clear that only one request / reply
should be handled per TCP connection;
    * Ernie always closes the connection after handling one request /
reply pair;

    Isn't this behaviour impacting performance? (I'm asserting the
case in which the same client has a lengthier dialog with the server.)

    Thanks,
    Ciprian.

    P.S.: The BERT library "ecosystem" seems to be a little thin
especially in maintained libraries, and especially for other languages
than Ruby / Python. (For example there is no Java implementation, and
the Node.JS one seems to be broken (at least from the notice on the
repository). Even for Erlang there is only Ernie.) Am I missing some
important implementations?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jared Lucky Kuolt  
View profile  
 More options Apr 27 2011, 11:44 am
From: "Jared \"Lucky\" Kuolt" <luckythetour...@gmail.com>
Date: Wed, 27 Apr 2011 08:44:46 -0700
Local: Wed, Apr 27 2011 11:44 am
Subject: Re: Connection handling (multiple vs single requests per connection)
Ciprian,

The idea that one request/response per connection bothered me as well.
As you have mentioned this would severely impact performance. I wrote
bertlet (a python/eventlet server) and bertclient (a ruby client),
both of which persist connections. Because the protocol is
length-header delimited, I can also see the possibility for pipelining
like HTTP 1.1.

https://github.com/luckythetourist/bertlet
https://github.com/luckythetourist/bertclient

On Sun, Apr 24, 2011 at 2:49 PM, Ciprian Dorin Craciun

--
Lucky ☘ http://luckythetourist.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »