View JDK DNS cache

23 views
Skip to first unread message

Adrian Lewis

unread,
Jan 12, 2017, 6:43:59 AM1/12/17
to Gatling User Group
Hi, 

I am making some comparisons over IPv4 and IPv6 response times over a high load. I am creating an IPv4 baseline and disabled IPv6 in the JDK and in the kernel networking. Is there any way to view the IP addresses in the JDK DNS cache during a simulation run? 

Many Thanks

Aidy

Stéphane LANDELLE

unread,
Feb 1, 2017, 4:56:33 AM2/1/17
to gat...@googlegroups.com
Not I'm aware of.

Stéphane Landelle
GatlingCorp CEO


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Barry Perez

unread,
Feb 1, 2017, 9:23:04 AM2/1/17
to Gatling User Group
This looks similar to what you're trying to do (Java example):


I had to change one line before it would compile and run:

Field af = cacheEntryKlass.getDeclaredField("address");
to:
Field af = cacheEntryKlass.getDeclaredField("addresses");

Does that help at all?

Cheers,
Barry
Reply all
Reply to author
Forward
0 new messages