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
Erlang and the TDS protocol
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
  5 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 was successful
 
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
 
Marcel Meyer  
View profile  
 More options Jun 3 2012, 5:38 pm
From: Marcel Meyer <marcel.me...@gmail.com>
Date: Sun, 3 Jun 2012 17:38:43 -0400
Local: Sun, Jun 3 2012 5:38 pm
Subject: [erlang-questions] Erlang and the TDS protocol

Dear list,

I am curious why there isn't a native Erlang TDS protocol implementation.
Even /otp/lib wraps a C ODBC implementation using a port.
Would this not be simpler and more concise using bit syntax, since the TCP
datagram unpacks in 1 line of code (more for readability, of course)?
It just seems like extra work: C wraps the msg, port wraps C, ODBC app
wraps port etc. There is a lot of 'wrapping' going on.

Any input would be much appreciated.

Kind regards,
Marcel

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
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.
David Mercer  
View profile  
 More options Jun 6 2012, 1:07 pm
From: "David Mercer" <dmer...@gmail.com>
Date: Wed, 6 Jun 2012 12:07:06 -0500
Local: Wed, Jun 6 2012 1:07 pm
Subject: Re: [erlang-questions] Erlang and the TDS protocol

Just checking to see if anyone replied to you on this and did not reply-all
the list.  I would be interested in hearing the answer, too, if one is
available.

Cheers,

DBM

From: erlang-questions-boun...@erlang.org
[mailto:erlang-questions-boun...@erlang.org] On Behalf Of Marcel Meyer
Sent: Sunday, June 03, 2012 4:39 PM
To: erlang-questions
Subject: [erlang-questions] Erlang and the TDS protocol

Dear list,

I am curious why there isn't a native Erlang TDS protocol implementation.
Even /otp/lib wraps a C ODBC implementation using a port.

Would this not be simpler and more concise using bit syntax, since the TCP
datagram unpacks in 1 line of code (more for readability, of course)?

It just seems like extra work: C wraps the msg, port wraps C, ODBC app wraps
port etc. There is a lot of 'wrapping' going on.

Any input would be much appreciated.

Kind regards,

Marcel

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
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.
Marcel Meyer  
View profile  
 More options Jun 6 2012, 2:22 pm
From: Marcel Meyer <marcel.me...@gmail.com>
Date: Wed, 6 Jun 2012 14:22:59 -0400
Local: Wed, Jun 6 2012 2:22 pm
Subject: Re: [erlang-questions] Erlang and the TDS protocol

Hi David,
No replies yet. I was wanted to see how other db wire protocols were
implemented, and saw that 'dizzyd' did the mysql driver natively. I spoke
to a colleague of mine and we wondered if there might be performance issues
with bit syntax and that the ODBC app wanted to go straight to the metal.
The reason I was asking this is that we're talking about how you would
build a proxy to a cluster of Sql Servers (not a Sql Server Cluster).
Jan Kneschke of lighttpd fame is working on a MySql proxy, with
failover/load balancing properties. Could be interesting for Sql Server...

Regards,
M

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
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.
CGS  
View profile  
 More options Jun 7 2012, 9:31 am
From: CGS <cgsmcml...@gmail.com>
Date: Thu, 7 Jun 2012 15:31:46 +0200
Local: Thurs, Jun 7 2012 9:31 am
Subject: Re: [erlang-questions] Erlang and the TDS protocol

Hi Marcel,

I suppose the reason for using C wrappers is coming from the compatibility
with the native language in which that particular SQL application is
developed.

I do agree that a solution based on TCP server would be at least more
readable and maybe more suitable for clustering SQL servers. Nevertheless,
that's the choice of developers. Speaking for myself only, I would go with
your option because I see no downfall to that and it would provide a less
dependable interface.

This is my 2c opinion. If someone has a better explanation/suggestion,
please, by all means, correct me.

CGS

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
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.
Tim Watson  
View profile  
 More options Jun 7 2012, 9:57 am
From: Tim Watson <watson.timo...@gmail.com>
Date: Thu, 7 Jun 2012 14:57:09 +0100
Local: Thurs, Jun 7 2012 9:57 am
Subject: Re: [erlang-questions] Erlang and the TDS protocol

On 7 Jun 2012, at 14:31, CGS wrote:

> Hi Marcel,

> I suppose the reason for using C wrappers is coming from the compatibility with the native language in which that particular SQL application is developed.

> I do agree that a solution based on TCP server would be at least more readable and maybe more suitable for clustering SQL servers. Nevertheless, that's the choice of developers. Speaking for myself only, I would go with your option because I see no downfall to that and it would provide a less dependable interface.

I prefer a wire protocol implementation on the whole. The existing FreeTDS library, for example, doesn't support MARS which is pretty useful for connecting to MSSQL. If you decide to go native and open source, let me know as I'll be interested in participating, even if only it's to do some testing.

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
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 « Newer topic     Older topic »