Send kea-dev mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."
Today's Topics:
1. Re: kea apache cassandra/datastax cassandra (Angelo Failla)
2. Re: kea apache cassandra/datastax cassandra (Razvan Becheriu)
----------------------------------------------------------------------
Message: 1
Date: Thu, 19 May 2016 14:21:41 +0000
From: Angelo Failla <[email protected]>
To: Razvan Becheriu <[email protected]>,
"[email protected]" <[email protected]>
Subject: Re: [kea-dev] kea apache cassandra/datastax cassandra
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Nice!
Have you stress tested your patch with perfdhcp with, say, 1500 RPS?
As I wrote in a previous thread [1] KEA is a mono threaded application and your
hook might not perform as expected if your backend is slow (e.g. between 20ms
and 50ms).
Even if your backend takes 8ms to respond you will probably still max out at
125 RPS (best conditions).
This is because when a request is being served all the incoming udp packets
will be buffered in kernel space, and processed sequentially? and if your hook
is not fast enough your network recvq will max out until it hits the kernel
buffer limits, after which you will start dropping packets.
You might need to alternatives solutions to this. For example the solution we
use in Facebook (in our hook) is to drop the first DISCOVERY/SOLICIT request,
spawn a background fetch to our backend, which populate internal data structure
in memory, when the client retries a second or so later the info will be in
memory and therefore it can be served fast. We basically take advantage of the
fact that clients usually have retry/exponential backoff logic.
If you run into performance issues (like we did) you might find my proposal
viable (until and if KEA people will consider redesign the core to be async or
multithread).
[1] https://lists.isc.org/pipermail/kea-dev/2016-March/000628.html
--
Angelo Failla
Cluster Infrastructure - Dublin
[email protected]
From: <[email protected]> on behalf of Razvan Becheriu
<[email protected]>
Date: Thursday, May 19, 2016 at 9:58 AM
To: "[email protected]" <[email protected]>
Subject: [kea-dev] kea apache cassandra/datastax cassandra
Hi,
My name is Razvan Becheriu.
I work for Qualitance in collaboration with Deutsche Telekom.
I have been working on improving the KEA server by adding support for apache
cassandra/datastax cassandra.
>From my understanding, the new source files will be commited with "Apache
>License".
I am ready to commit the changes to a separate branch (for code review). The
source files have been updated to latest (main branch) version.
One thing to mention is that not all unit tests have been written for the
cassandra backend.
Please let me know how to proceed.
Regards,
Razvan
--
[https://www.qualitance.com/Q48x48.gif]
Razvan Becheriu | senior software engineer | QUALITANCE?
RO: +00 (000) 000 000 | office: +40 (372) 944 741
Opera Center bldg. 2, fl. 7-8, 2 Dr. Nicolae D. Staicovici, Bucharest
050556<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.google.ro_maps_place_QUALITANCE_-4044.433653-2C26.079464-2C17z_data-3D-214m6-211m3-213m2-211s0x40b1ff173c5bc0b9-3A0x7226343f810c7ede-212sQUALITANCE-213m1-211s0x40b1ff173c5bc0b9-3A0x7226343f810c7ede-3Fhl-3Dro&d=CwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=XQHjLQh2eTTW8a0c8kaZ9Q&m=4FJSvXdaJAhK6dHo-ycbobR-0O43b8wsYhIS_w3ZsvA&s=Gg2OEEGB_Larq_eTb8TzCz6ZseeMou69mVoauRLWN5M&e=>
[email protected]<mailto:[email protected]> |
www.qualitance.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.qualitance.com_&d=CwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=XQHjLQh2eTTW8a0c8kaZ9Q&m=4FJSvXdaJAhK6dHo-ycbobR-0O43b8wsYhIS_w3ZsvA&s=NgDyDRXU1fCXOCOXNGGfK4tT9pJHog4M4lWDjpw_GPk&e=>
--
The information contained in this email is confidential. It is intended only
for the stated addressee and access to it by any other person is unauthorised.
If you are not an addressee, you must not disclose, copy, circulate or in
another way use or reply to the information contained in this email. Such
unauthorised use may be unlawful. If you have received this email in error,
please notify the sender immediately and delete all copies from your computer
and network.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/kea-dev/attachments/20160519/60ca1ab2/attachment-0001.html>
------------------------------
Message: 2
Date: Thu, 19 May 2016 17:42:12 +0300
From: Razvan Becheriu <[email protected]>
To: Tomek Mrugalski <[email protected]>
Cc: [email protected]
Subject: Re: [kea-dev] kea apache cassandra/datastax cassandra
Message-ID:
<CAPj=nFuLbvEDLpS=61N1i2Dtne0WA_gD8cnf4vwA7PwU8=y...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
I've updated the kea-admin script with the commands needed to initialize
the database and added necessary scripts to call the cqlsh (cassandra
database client).
I've attached to this file the necessary documentation needed to build the
datastax cpp driver and to build KEA with cassandra backend.
On Thu, May 19, 2016 at 2:06 PM, Tomek Mrugalski <[email protected]> wrote:
> On 19.05.2016 10:58, Razvan Becheriu wrote:
> > I work for Qualitance in collaboration with Deutsche Telekom.
> > I have been working on improving the KEA server by adding support for
> > apache cassandra/datastax cassandra.
> I've been hearing about this Cassandra work for a while. It's exciting
> to finally see the code.
> > From my understanding, the new source files will be commited with
> > "Apache License".
> Yes. Please make sure you put the appropriate license note at the top of
> each new file you added. I presume most of the new code comes in new
> files. Also, make sure you update COPYING file. Adding a new section
> there explaining that the Cassandra backend is distributed under Apache
> license should do the trick. Another file to modify is AUTHORS. ISC
> tries to keep track of all contributions that we received, but we're
> flexible with it. We can put that whatever the contributor wants to -
> name and company, just the name, only company, even anonymous is ok.
>
> >
> > I am ready to commit the changes to a separate branch (for code
> > review). The source files have been updated to latest (main branch)
> > version.
> Great! Can you submit a pull request on github? I'm sure you know how to
> do it, but in case you haven't used it before, here's
> https://help.github.com/articles/using-pull-requests/. This seems to be
> the best way forward, as we would be able to tweak the code during the
> review.
>
> Once I get the pull request, I'll start reviewing it.
>
> I was told that this change also has some documentation. It would be
> great if you could include it. I must admit I have never set up
> Cassandra before, but I presume there will be some installation required
> and then some form of database initalization, similar to SQL schema.
> Will this be a part of the patch? If not, can you explain how to set up
> a test environment?
>
> > One thing to mention is that not all unit tests have been written for
> > the cassandra backend.
> That's unfortunate, but we can live with it. We always try to ask for
> unit tests, but I still haven't seen a patch with full unit tests suite
> :) Luckily the unit tests framework for the lease manager are structured
> in a way that it's easy to extend to additional backends.
> Once I see the code and understand it a bit, I'll write missing tests
> for it.
>
> Thanks a lot,
> Tomek
>
>
> _______________________________________________
> kea-dev mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/kea-dev
>
--
*Razvan Becheriu* | senior software engineer | QUALITANCE?
*RO:* +00 (000) 000 000 | *office:* +40 (372) 944 741
Opera Center bldg. 2, fl. 7-8, 2 Dr. Nicolae D. Staicovici, Bucharest 050556
<https://www.google.ro/maps/place/QUALITANCE/@44.433653,26.079464,17z/data=!4m6!1m3!3m2!1s0x40b1ff173c5bc0b9:0x7226343f810c7ede!2sQUALITANCE!3m1!1s0x40b1ff173c5bc0b9:0x7226343f810c7ede?hl=ro>
[email protected] | www.qualitance.com
--
The information contained in this email is confidential. It is intended
only for the stated addressee and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in another way use or reply to the information contained in
this email. Such unauthorised use may be unlawful. If you have received
this email in error, please notify the sender immediately and delete all
copies from your computer and network.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/kea-dev/attachments/20160519/7a5c82c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DT_KEA_deploy
Type: application/octet-stream
Size: 2533 bytes
Desc: not available
URL:
<https://lists.isc.org/pipermail/kea-dev/attachments/20160519/7a5c82c7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DT_KEA_build
Type: application/octet-stream
Size: 1315 bytes
Desc: not available
URL:
<https://lists.isc.org/pipermail/kea-dev/attachments/20160519/7a5c82c7/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datastax_script.tar
Type: application/x-tar
Size: 10240 bytes
Desc: not available
URL:
<https://lists.isc.org/pipermail/kea-dev/attachments/20160519/7a5c82c7/attachment.tar>
------------------------------
_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev
End of kea-dev Digest, Vol 26, Issue 2
**************************************