[
https://issues.apache.org/jira/browse/CASSANDRA-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130942#comment-13130942
]
Brian ONeill commented on CASSANDRA-3380:
-----------------------------------------
Thanks for the comments guys.
The reason REST/JSON support is important is articulated well here:
http://nosql.mypopescu.com/post/411195754/nosql-protocols-are-important
That article boils down to three points: ease of use, standardization across
interfaces, and decreased number of application dependencies.
Enterprises typically have technology eco-systems that have many
services/capabilities. (e.g. ours includes Neo4j and SOLR) That ecosystem
includes third-party services as well as internal. It helps if you can
standardize on interfaces across the entire ecosystem. May people are
standardizing on JSON/HTTP (as evidenced by support in CouchDB, MongoDO, Neo4j,
SOLR, Elastic Search, etc.)
That standardization decreases the integration/adoption cost. Since many
languages have native support for REST calls, typically an application can
consume the capability without adding any additional application dependencies.
(e.g. drivers)
Also, JSON/HTTP is especially nice if the data is making it out to the web.
Many javascript frameworks can natively consume the data. Even if the
browser/javascript isn't hitting the database directly (via HTTP), there
services layer in between often can just become a proxy of sorts. (this has
happened with us with SOLR)
> REST Layer
> -----------
>
> Key: CASSANDRA-3380
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3380
> Project: Cassandra
> Issue Type: New Feature
> Environment: Unix / Max OS X
> Reporter: Brian ONeill
> Attachments: trunk-3380.txt
>
>
> This is a native rest layer for Cassandra implementing
> AbstractCassandraDaemon.
> It uses JAX-RS fueled by Apache CXF.
> Presently it supports the following operations JSON over HTTP:
> - Create keyspace
> - Drop keyspace
> - Create column family
> - Drop column family
> - Insert row
> - Fetch row
> - Delete row
> - Insert column
> - Delete column
> - Fetch column
> The patch creates a new project in contrib/rest. You can compile the project
> using "ant", which uses ivy to pull in dependencies. To get setup, you can
> also use the pom.xml file and m2eclipse to get it into Eclipse.
> Once compiled, simpy run "bin/rest_cassandra" and follow along in the
> README.txt
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira