Apache Directory Project - [mina] Traffic control

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > October 2005 > [mina] Traffic control





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [mina] Traffic control
Niklas Therning

2005-10-19, 5:46 pm

Hi,

We're considering using MINA to replace our custom NIO abstraction
layer. MINA seems to be a great piece of software. The only feature
we're missing before we would be able to make the switch is support for
traffic control. I would like to help out implementing this.

I've checked out the code and had a look and I think I understand most
of it (so far I've only had a look through the NIO transport classes and
the common interfaces). Do you have any thoughts at all (except for
issue DIRMINA-2) how this should be implemented? Should
suspend/resume/Read/Write be filtered just like SocketSession.write() or
could they be implemented simply by calling SocketIoProcessor directly
just like IoSession.close() does? If the latter is enough we could add
new queues for suspend/resume and follow the same pattern used in
removeSession and addSession. WDYT?

I would also like to help out with Spring integration. I have had a lot
of experience using Spring and I already have a few ideas.

Regards,
Niklas Therning


Trustin Lee

2005-10-25, 7:45 am

Hi Niklas,

I'm sorry for my late reply. I'll get back to you on this topic as soon as I
review your patch.

2005/10/18, Niklas Therning <niklas-8FIgwK2HfyIwFerOooGFRg@public.gmane.org>:
>
> I would also like to help out with Spring integration. I have had a lot
> of experience using Spring and I already have a few ideas.



Sounds great. You'll be a great force for us if you're willing to
contribute. First, we need to find out the best way to embed (?) MINA as
a POJO which is optimized to be easily configured. Do you have any idea on
this? For now, you'll have to create an instance of SimpleServiceRegistry
and use MethodInvocationBean (or something similar. I don't remember its
name correctly) to call bind() method.

Thanks,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com