Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  couchdb

ketralnis
Posted: Mon Oct 22, 2007 4:00 am Reply with quote
User Joined: 20 Jul 2007 Posts: 151 Location: San Francisco, CA
Has anybody considered writing an erlydb driver for couchdb?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
View user's profile Send private message AIM Address
Guest
Posted: Mon Oct 22, 2007 2:18 pm Reply with quote
Guest
It is a REST API, right? What is all the fuss about Couchdb about, anyway?

Mike Pence


On 10/21/07, David King <dking@ketralnis.com> wrote:
>
> Has anybody considered writing an erlydb driver for couchdb?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
ketralnis
Posted: Mon Oct 22, 2007 3:47 pm Reply with quote
User Joined: 20 Jul 2007 Posts: 151 Location: San Francisco, CA
>> Has anybody considered writing an erlydb driver for couchdb?
> It is a REST API, right? What is all the fuss about Couchdb about,
> anyway?

Yes, it's a REST API. I don't know what all of the fuss is about. My
guess would be that some newer webapp writers (read: RoR developers)
are less concerned about some of the features that RDBMSs offer, like
data-integrity:

"I
View user's profile Send private message AIM Address
Guest
Posted: Mon Oct 22, 2007 3:50 pm Reply with quote
Guest
I wasn't aware that it is written in Erlang. That makes it much more
interesting. Agreed that Rails code slingers generally would not know
relational theory if it bit them in the ass...

On 10/22/07, David King <dking@ketralnis.com> wrote:
>
> >> Has anybody considered writing an erlydb driver for couchdb?
> > It is a REST API, right? What is all the fuss about Couchdb about,
> > anyway?
>
> Yes, it's a REST API. I don't know what all of the fuss is about. My
> guess would be that some newer webapp writers (read: RoR developers)
> are less concerned about some of the features that RDBMSs offer, like
> data-integrity:
>
> "I'm personally convinced that write consistency is the reason
> RDBMS are imploding under their own weight." <http://www.
> 25hoursaday.com/weblog/2007/09/12/
> SomeThoughtsOnCouchDBAndRelationalDatabases.aspx>
> "Relational database pioneer says technology is obsolete" <http://
> www.computerworld.com/action/article.do?
> command=printArticleBasic&articleId=9034619>
>
> and get all hot-and-bothered over REST APIs.
>
> "And all this happens using Real REST (you know, the one with PUT,
> DELETE and no envelopes to hide stuff)" <http://blog.labnotes.org/
> 2007/09/02/couchdb-thinking-beyond-the-rdbms/>
>
> But in my case I just want the benefits of Erlang's clustering in a
> database (it's written in Erlang), without hitting Mnesia's 4GB per-
> node limit on storage, and to reduce some of the app-server load by
> letting some of the AJAX calls go right out to the database for their
> data (it returns its data in JSON)
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
rsaccon
Posted: Mon Oct 22, 2007 7:28 pm Reply with quote
User Joined: 09 Aug 2006 Posts: 144
I don't know about the current state of couchDB, but I was an alpha
tester before it even was initially released sometimes last year and
only exposed a REST API via HTTP, I played with it and I really liked
it because of its simplicity. But then Amazon S3 came, and the
creator of couchDB went to Mysql (and it got quiet around couchdb) and
I saw no reason to further follow that project. And it has a
proprietary query API. I think it is cheaper, more scalable and faster
implemented, just to use a mix made out of mnesia, AmazonS3 (or any
other such service as Nirvanix) and if necessary a SQL DB with
erlydb.

On Oct 22, 12:50 pm, "Mike Pence" <mike.pe...@gmail.com> wrote:
> I wasn't aware that it is written in Erlang. That makes it much more
> interesting. Agreed that Rails code slingers generally would not know
> relational theory if it bit them in the ass...
>
> On 10/22/07, David King <dk...@ketralnis.com> wrote:
>
>
>
> > >> Has anybody considered writing an erlydb driver for couchdb?
> > > It is a REST API, right? What is all the fuss about Couchdb about,
> > > anyway?
>
> > Yes, it's a REST API. I don't know what all of the fuss is about. My
> > guess would be that some newer webapp writers (read: RoR developers)
> > are less concerned about some of the features that RDBMSs offer, like
> > data-integrity:
>
> > "I'm personally convinced that write consistency is the reason
> > RDBMS are imploding under their own weight." <http://www.
> > 25hoursaday.com/weblog/2007/09/12/
> > SomeThoughtsOnCouchDBAndRelationalDatabases.aspx>
> > "Relational database pioneer says technology is obsolete" <http://
> >www.computerworld.com/action/article.do?
> > command=printArticleBasic&articleId=9034619>
>
> > and get all hot-and-bothered over REST APIs.
>
> > "And all this happens using Real REST (you know, the one with PUT,
> > DELETE and no envelopes to hide stuff)" <http://blog.labnotes.org/
> > 2007/09/02/couchdb-thinking-beyond-the-rdbms/>
>
> > But in my case I just want the benefits of Erlang's clustering in a
> > database (it's written in Erlang), without hitting Mnesia's 4GB per-
> > node limit on storage, and to reduce some of the app-server load by
> > letting some of the AJAX calls go right out to the database for their
> > data (it returns its data in JSON)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Tue Oct 23, 2007 4:30 am Reply with quote
Guest
I had a similar impression. CouchDB looks cool and interesting, but
I'm not sure how useful it is, at least for me. Database adapters
already exist for MySQL and Postgres and ErlyDB makes them very easy
to use, so I don't have much to benefit from CouchDB's REST API.
Mnesia already gives me a great distributed storage solution that's
simple to use. I prefer to avoid Javascript on the backend if I can
(Erlang is fine for me Smile ). And finally, I'm not convinced that
relational capabilities (e.g. joins) aren't useful for web
applications.

It's cool that CouchDB is written in Erlang, though Smile

Yariv

On 10/22/07, Roberto Saccon <rsaccon@gmail.com> wrote:
>
> I don't know about the current state of couchDB, but I was an alpha
> tester before it even was initially released sometimes last year and
> only exposed a REST API via HTTP, I played with it and I really liked
> it because of its simplicity. But then Amazon S3 came, and the
> creator of couchDB went to Mysql (and it got quiet around couchdb) and
> I saw no reason to further follow that project. And it has a
> proprietary query API. I think it is cheaper, more scalable and faster
> implemented, just to use a mix made out of mnesia, AmazonS3 (or any
> other such service as Nirvanix) and if necessary a SQL DB with
> erlydb.
> i
> On Oct 22, 12:50 pm, "Mike Pence" <mike.pe...@gmail.com> wrote:
> > I wasn't aware that it is written in Erlang. That makes it much more
> > interesting. Agreed that Rails code slingers generally would not know
> > relational theory if it bit them in the ass...
> >
> > On 10/22/07, David King <dk...@ketralnis.com> wrote:
> >
> >
> >
> > > >> Has anybody considered writing an erlydb driver for couchdb?
> > > > It is a REST API, right? What is all the fuss about Couchdb about,
> > > > anyway?
> >
> > > Yes, it's a REST API. I don't know what all of the fuss is about. My
> > > guess would be that some newer webapp writers (read: RoR developers)
> > > are less concerned about some of the features that RDBMSs offer, like
> > > data-integrity:
> >
> > > "I'm personally convinced that write consistency is the reason
> > > RDBMS are imploding under their own weight." <http://www.
> > > 25hoursaday.com/weblog/2007/09/12/
> > > SomeThoughtsOnCouchDBAndRelationalDatabases.aspx>
> > > "Relational database pioneer says technology is obsolete" <http://
> > >www.computerworld.com/action/article.do?
> > > command=printArticleBasic&articleId=9034619>
> >
> > > and get all hot-and-bothered over REST APIs.
> >
> > > "And all this happens using Real REST (you know, the one with PUT,
> > > DELETE and no envelopes to hide stuff)" <http://blog.labnotes.org/
> > > 2007/09/02/couchdb-thinking-beyond-the-rdbms/>
> >
> > > But in my case I just want the benefits of Erlang's clustering in a
> > > database (it's written in Erlang), without hitting Mnesia's 4GB per-
> > > node limit on storage, and to reduce some of the app-server load by
> > > letting some of the AJAX calls go right out to the database for their
> > > data (it returns its data in JSON)
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
Guest
Posted: Sat Oct 27, 2007 9:34 am Reply with quote
Guest
I am definitely interested in helping with a CouchDB driver for
ErlyWeb.

CouchDB is interesting beyond the fact that it was recently re-written
from C to Erlang.

I am planning to use CouchDB to augment a relational database (read
distributed page cache).

As a Rails code slinger, I view CouchDB and Erlang for that matter,
not as an all or nothing proposition but as tools with unique
strengths.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
Guest
Posted: Sun Oct 28, 2007 5:42 am Reply with quote
Guest
Great idea.

On 10/27/07, Robin <robi123@gmail.com> wrote:
>
> I am definitely interested in helping with a CouchDB driver for
> ErlyWeb.
>
> CouchDB is interesting beyond the fact that it was recently re-written
> from C to Erlang.
>
> I am planning to use CouchDB to augment a relational database (read
> distributed page cache).
>
> As a Rails code slinger, I view CouchDB and Erlang for that matter,
> not as an all or nothing proposition but as tools with unique
> strengths.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
Guest
Posted: Sun Oct 28, 2007 5:36 pm Reply with quote
Guest
If you want to contribute this driver, I'll be happy to let you add it
to the framework. Although I haven't found CouchDB useful for my
current project (it's possible I'm missing something, btw), other
people may find it useful and I'll be happy to help make their lives
easier Smile

Yariv

On 10/27/07, Mike Pence <mike.pence@gmail.com> wrote:
>
> Great idea.
>
> On 10/27/07, Robin <robi123@gmail.com> wrote:
> >
> > I am definitely interested in helping with a CouchDB driver for
> > ErlyWeb.
> >
> > CouchDB is interesting beyond the fact that it was recently re-written
> > from C to Erlang.
> >
> > I am planning to use CouchDB to augment a relational database (read
> > distributed page cache).
> >
> > As a Rails code slinger, I view CouchDB and Erlang for that matter,
> > not as an all or nothing proposition but as tools with unique
> > strengths.
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
Guest
Posted: Fri Nov 02, 2007 3:06 am Reply with quote
Guest
I started a thread on the CouchDB discussions asking if an Erlang
interface fits into their plans:

http://groups.google.com/group/couchdb/browse_thread/thread/4eb02e17712a09f7

Using ErlyWeb (Erlang) to talk to CouchDB (Erlang) in the same Erlang
Cluster,
would be best implemented by exposing an Erlang API for CouchDB.

The Erlang API could even use REST semantics:
{put,"/some/key",{some,value}}

The CouchDB views could also be done in Erlang:
fun(DOC)->map(null,DOC) end.

Talk about massively concurrent map-reduce!


On Oct 28, 10:35 am, "Yariv Sadan" <yarivsa...@gmail.com> wrote:
> If you want to contribute this driver, I'll be happy to let you add it
> to the framework. Although I haven't found CouchDB useful for my
> current project (it's possible I'm missing something, btw), other
> people may find it useful and I'll be happy to help make their lives
> easier Smile
>
> Yariv
>
> On 10/27/07, Mike Pence <mike.pe...@gmail.com> wrote:
>
>
>
> > Great idea.
>
> > On 10/27/07, Robin <robi...@gmail.com> wrote:
>
> > > I am definitely interested in helping with a CouchDB driver for
> > > ErlyWeb.
>
> > > CouchDB is interesting beyond the fact that it was recently re-written
> > > from C to Erlang.
>
> > > I am planning to use CouchDB to augment a relational database (read
> > > distributed page cache).
>
> > > As a Rails code slinger, I view CouchDB and Erlang for that matter,
> > > not as an all or nothing proposition but as tools with unique
> > > strengths.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum