Title: Questions and Contributions! from a newbie

Hi all,
      I'm new to the project and am excited to contribute. I've got a couple of questions (this is my first open-source participation):

Questions:

  1. How do you co-ordinate checking in new stuff? Do people develop locally and email it to pre-approved/authorized folks?
  2. How does Apache decide whether or not to endorse new project ideas? If I have an idea, how can I see if Apache would like to develop it?

Contributions:
(The classes that I've developed are under the package root org.k2d2.framework. I'll change them if approved for inclusion. Also I'll need to do a little tweaking in terms of coding standards)

Threading utilities:

      • I've written classes for Mutex, Critical Sections, Djikstra Semaphores (also called counting semaphores) and Thread barriers. Avalon already has Mutexes and Locks, but you may find Djikstra semaphores and thread barriers useful
      • Blocking queues: The most valuable threading utilities: I've got two versions: Bounded and boundless. A blocking queue blocks threads when trying to dequeue() from an empty queue. A bounded blocking queue blocks threads trying to enqueue() to a full queue.

    Dispatch servers:

      • I've got a dispatch and multi-dispatch (pipelined dispatch) server implementation. The basic idea is that you define a component (I call it a ServerCommand) that the dispatch server manages. Each component gets an in-queue and an out-queue and as jobs are put in its in-queue, the server hands it the job for processing and when done puts it in the outqueue. Multi-dispatch server extends this by creating a pipeline of commands by chaining in-queue and out-queues. You guys have Pipelines and kernels, not sure if they are different or not. I've not yet had a chance to dig deep

    Note: The Exception class in the code has a reference to an base exception class not included in the tar file. Simply substitute your own to get it to compile. Also the Test.java class has a simple example usage

    Planned development:

      • I'm planning to write code to implement distributed locks (across VMs). This will enable me to implement a rudimentary distributed shared memory utility. I'll submit that too

I'm also planning to write articles on the above for Java world. I hope there will be no copyright issues if you guys add the code to the Avalon project.


Thanks for your time!
Karthik

<<k2d2.tar>>

k2d2.tar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to