Noel J. Bergman ha scritto:
I'm studying how to integrate dnsjnio [1] into jSPF to enable
asynchronous lookup for spf records.
Unless this is required, I am not in favor of adopting dnsjnio due to its
use of the MPL license (http://www.apache.org/legal/3party.html). We
classify that as a Cat B (binary only) license.
What do you mean by "required" ? If you can give me a better alternative
at no cost (no work from me) then it is not required ;-)
dnsjava already uses NIO and already provide some sort of asynchronous
support, but it does not provide a good mean to SEDA usage of the dns
lookups.
dnsjnio is a very simple wrapper on top on dnsjava that adds new
transports for dnsjava and new resolver implementations to provide a
pool of requests/respose using only 2 "executor threads" for any number
of resolution.
In my tests of dnsjnio I succesfully ran 10000 dns resolutions less than
30 seconds using 2 threads.
I found no alternative to dnsjnio and I don't want to waste my time
reimplementing what is already there (i think we can use the MPL license
without big problems).
I don't consider this a blocking issue, but please let me know if you
want to veto the dnsjnio inclusion so that I will use a local branch
instead of using the jspf repository.
Have we asked Brian if dnsjava is going to incorporate NIO support directly,
under his suitable BSD license, or considered offering to help him do so?
--- Noel
I already worked with Alex (creator of dnsjnio) to have him publishing
the work on sourceforge (it was distributed via blog, until yesterday)
and I also wrote a message to Brian Wellington (dnsjava) to let him know
of dnsjnio project.
I don't know if Alex will ever consider to give back his code under a
BSD or ASLv2 license sooner or later (it is not so much code), but as I
said before I don't see good alternatives now, and I don't want to wait.
I've not considerered offering help to dnsjava because I cannot afford
working on dnsjava when what I need is already available.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]