tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Who wants my Cassandra session manager for Tomcat?
Date Tue, 03 Apr 2012 20:08:53 GMT
Pid,

On 4/3/12 12:52 PM, Pid wrote:
> I can't speak for the committers/project, but one option would be to
> file an enhancement request and attach a patch in diff format.

+1

To get such a thing into Tomcat, it would probably have to have the
following features:

1. Be relatively self-contained -- i.e. not require much in the way of
changes to existing classes

2. Not have any external dependencies (new JAR files, etc.). This might
be a problem, depending on whether your code uses the REST API for
Cassandra or a direct Java binding.

3. Include good documentation for how to set it up. See the existing
session-persistence documentation for a guide, and aim to do a better job ;)

4. Include test cases and potentially instructions for setting-up a test
environment (i.e. you're gonna need a working Cassandra instance).

If the above are not met, you'll likely get a lot of push-back,
including mine. I know there's a lurker on this list who maintains a
memcached-oriented session manager and we've never really considered
including that in Tomcat because of (I'd imagine) dependency issues.

In any case, even if it doesn't get included in Tomcat, you could always
post it to the Wiki as contributed code. Just make sure you include
great documentation otherwise nobody will ever use it.

Thanks,
-chris


Mime
View raw message