ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. * B_fd joined #java
  2. * skum joined #java
  3. * chris64 joined #java
  4. * rvalue- joined #java
  5. * julemand101 joined #java
  6. * johnjay joined #java
  7. * johnjay joined #java
  8. * johnjay joined #java
  9. * raj joined #java
  10. * johnjay joined #java
  11. * Aedil joined #java
  12. * rvalue joined #java
  13. * stewi joined #java
  14. deebo for some reason assumed yourkit snapshots would include jmx data, but no
  15. deebo any good options for recording and graphing micrometer data locally?, hopefully without running an open/elasticsearch cluster + grafana etc
  16. * Ragnor joined #java
  17. Para I run Jaeger tracing through container :D
  18. Para I'd wager depends on what you want out from the system.
  19. Para I also always print trace/span id:s to each log row, general ideology being that as I have these systems, I've made them always available and linked across everything to let myself be lazy.
  20. Para Even the REST API endpoints return those id:s so I can use browser dev tools to spy on what's going on.
  21. Para What else...IDEA has actuator based live stats for service, that works as well.
  22. Para https://www.jetbrains.com/help/idea/spring-support-tutorial.html#actuator
  23. javabot Para's title: "Tutorial: Explore Spring support features | IntelliJ IDEA Documentation"
  24. Para What I'm trying to say - it depends :)
  25. deebo i'm starting yourkit agent on startup in a docker swarm environment, doing a rolling upgrade to simulate a deployment and then after a few minutes i bring the system down and the agent writes snapshots to disk
  26. deebo but yourkit snapshots can't be filtered by time, and i can't correlate e.g. jdbc onnection acquisition times
  27. deebo at this point i'd need more of an apm than cpu profiling
  28. deebo maybe i'll jhust have to deploy to our real env to get a real apm agents stats, just slows the roundtrips for testing by 10x, really annoying
  29. deebo or i have to programmatically start the yourkit profiling so i get exactly what i want in the snapshot
  30. * tmm88 joined #java
  31. deebo didn't notice until now but yourkit agent has a periodic snapshot feature, so could capture 1 minute slices to find a good set of data, but i added a hook on startup (when ready for traffic) to profile for 90 seconds, save snapshot and stop profiling
  32. deebo hope this gives me something useful
  33. * kathadris joined #java
  34. * MikeBux joined #java
  35. * agnivn joined #java
  36. * onu joined #java
  37. * polarian joined #java
  38. * polarian_ joined #java
  39. * metalmaniac joined #java
  40. dmlloyd maybe you want JFR, or maybe look into async profiler
  41. dreamreal SDL has decided to disallow AI use in the project, which I find interesting
  42. dreamreal I understand it, but I think that's a bad response to a real problem
  43. * leppard joined #java
  44. * metalmaniac joined #java
  45. deebo yeah have to check jfr at some point
  46. deebo but i think i finally found the issue, hikaricp creates new connections sequentally blocking, so if you have a buttload of traffic suddenly coming in, everything takes ages, but there's a switch to have it block init until minimum-idle connections are created
  47. dreamreal How long is it taking to open a new connection?
  48. deebo have to measure at some point, but on a 1cpu 2gb node that does 99.95% io bound work, all that traffic and initializations seem to be slowing it down, and is the onyl consistent blip in profiling
  49. deebo 99% response times go from 20ms to 1000ms for ~15sec
  50. deebo during a rolling node-by-node deploy
  51. dreamreal to *connect to a database*? Yikes.
  52. deebo yourkits tracing has way too much overhead, and in sampling mode it gets really confused by virtual threads
  53. dreamreal https://bytecode.news/posts/2026/04/performance-whack-a-mole
  54. javabot dreamreal's title: "Performance Whack-a-Mole | bytecode.news"
  55. * stewi joined #java
  56. dreamreal The guy that's about used JFR and JMC for virtual threads
  57. * Square3 joined #java
  58. deebo yeah have to test jfr, and complain to yourkit
  59. * waznot joined #java
  60. * GreenResponse joined #java
  61. * waz_ joined #java
  62. * jamezp joined #java
  63. * jreicher joined #java
  64. * Betal joined #java
  65. * hwpplayer1 joined #java
  66. * waznot joined #java
  67. * stfstfm_ joined #java
  68. * polarian joined #java
  69. * Candle joined #java
  70. * B_fd joined #java
  71. * zChris joined #java
  72. * leppard joined #java
  73. * agnivn joined #java
  74. * Aedil joined #java
  75. * agnivn joined #java
  76. * tmm88 joined #java
  77. * hwpplaye` joined #java
  78. * ferdna joined #java
  79. deebo jfr is hella confusing compared to yourkit, but have to look deeper into the method timing/profiling stuff, but execution sampling is useless in an io bound app, most cpu used was a ConcurrentHashMap at 0.8% that something uses for caching
  80. dreamreal https://bytecode.news/posts/2026/04/pilot-0-1-0-maven-gets-an-interactive-console
  81. javabot dreamreal's title: "Pilot 0.1.0: Maven Gets an Interactive Console | bytecode.news"
  82. Para The link's broken, missing .com and scheme
  83. Para to github
  84. dreamreal dadgummit
  85. dreamreal obsidian's drafting process mangles urls and I copied them poorly
  86. dreamreal fixed, thank you
  87. dreamreal Para: ++
  88. nevet Para now has karma of 2.
  89. * Tenchi joined #java
  90. * leppard joined #java
  91. * ernimril joined #java
  92. * m joined #java
  93. * Tenchi joined #java
  94. * stfstfm joined #java
  95. * Tenchi joined #java
  96. * braxas joined #java
  97. * r0bby joined #java
  98. * Tenchi joined #java
  99. * domicron joined #java
  100. * Tenchi joined #java
  101. * waznot joined #java
  102. * skum joined #java
  103. * Gaz7051122720067 joined #java
  104. * domicron joined #java
  105. * B_fd joined #java
  106. * graves joined #java
  107. * kathadris joined #java
  108. * kathadris joined #java
  109. * jamezp joined #java
  110. * domicron joined #java
  111. * Betal joined #java
  112. * x1bncwn joined #java
  113. * stfstfm_ joined #java
  114. * pun joined #java
  115. * B_fd joined #java
  116. * Tenchi joined #java
  117. * SoF6 joined #java
  118. * marcel joined #java
  119. * Square joined #java
  120. * metalmaniac joined #java