cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-754) Pluggable API with a simple HTTP+JSON daemon
Date Wed, 03 Feb 2010 18:59:27 GMT


Stu Hood commented on CASSANDRA-754:

As the third remote API to make it into Cassandra, this patch has the unfortunate burden of
making the lifecycle for Avro, Thrift and HTTP consistent. I would suggest:
 1. Adding an 'o.a.c.api' package, containing avro, thrift, http.
 2. Moving generic logic out of the CassandraServer classes and into StorageProxy, so that
it isn't necessary to call from HTTP->Thrift
 3. Applying IPluggableAPI to the CassandraServer classes for avro and thrift
 4. A single CassandraDaemon class in the service package should give life(cycle) to a configurable
set of IPluggableAPIs

 * HTTPPluggableAPI.doQuery() is huge: break it up into the stages that you mention in the
 * HTTPPluggableAPI should implement HTTPHandler directly
 * Inconsistent Http vs HTTP in class names

This is a good start, but there is a long road ahead. Thanks Ted!

> Pluggable API with a simple HTTP+JSON daemon
> --------------------------------------------
>                 Key: CASSANDRA-754
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Ted Zlatanov
>            Priority: Minor
>         Attachments: 001-CASSANDRA-754-http.patch
> Proposal of a simple pluggable API interface with a HTTP daemon implementation

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message