Kubernetesã§ã¢ããªã®å®å®ç¨¼åã¨é«é »åº¦ã®ã¢ãããã¼ãã両ç«ããããã®ãã©ã¯ãã£ã¹ / Best Practices for Applications on Kubernetes to Achieve Both Frequent Updates and Stability
Kubernetesã§ã¢ããªã®å®å®ç¨¼åã¨é«é »åº¦ã®ã¢ãããã¼ãã両ç«ããããã®ãã©ã¯ãã£ã¹ / Best Practices for Applications on Kubernetes to Achieve Both Frequent Updates and Stability
JJUG CCC 2023 Fallã«åå ãã¾ããï¼ ååãããåå è ãå¤§å¹ ã«å¢ãã¦ãã¯ã¤ã¯ã¤ã¨çãä¸ãã£ãä¸ã§ããããªè©±ãèãã¦æ¥½ããã£ãã§ãï¼ ç¹ã«ãä¸è¶³å ã«æ¬¡åã® Java 22 ã§ãªãªã¼ã¹äºå®ã® Foreign Function & Memory API 㨠String Template ã®è©±ããã£ã¦ã使ããããã«ãªãã®ã楽ãã¿ã«ãªãã¾ããã ãã¨ãä»åããã¤ããªãã¥ã¼ã¢ã使ã£ã¦ã¯ã©ã¹ãã¡ã¤ã«ãèªãã§ã¿ããï¼ãã¨ãããã¼ãã§ç»å£ãã¾ããã æã£ããããããããã®äººã«èãã¦ãããã¦ãããã¦æ¥½ããã§ããã ããããã§ãå¬ããã£ãã§ããåæ¥ã¾ã§ãããåããã«ãããã©ã©ããããâ¦ã¨æ©ã¿ãªããå 容ãç·´ã£ãç²æãããã¾ããã æºåã¯å¤§å¤ã§ããããã¾ãæ©ä¼ãããã°é å¼µãã¾ãï¼ ãã¦ãæå¾ã«ãã¤ãã®ãã ä»åãæ®å¿µãªããæéããã¶ã£ã¦ãã¾ã£ã¦åå ã§ããªãã£ãã»ãã·ã§ã³ããã£ã±ããã£ãã®ã§ããã¨ã§èª
ã¯ããã« æ¦è¦ ç®æ¨ éç®æ¨ åæ© 1ãªã¯ã¨ã¹ã-1ã¹ã¬ããæ¹å¼ éåææ¹å¼ ä»®æ³ã¹ã¬ããã«ãã1ãªã¯ã¨ã¹ã-1ã¹ã¬ããæ¹å¼ 説æ ä»®æ³ã¹ã¬ããã¨ãã©ãããã©ã¼ã ã¹ã¬ããã®ä½¿ãåã ä»®æ³ã¹ã¬ããã®æå¹å ä»®æ³ã¹ã¬ããã«ã¹ã¬ãããã¼ã«ã¯ä¸è¦ ä»®æ³ã¹ã¬ããã®ç£è¦ ä»®æ³ã¹ã¬ããã®ã¹ã±ã¸ã¥ã¼ãªã³ã° ä»®æ³ã¹ã¬ããã®å®è¡ ã¡ã¢ãªã®ä½¿ç¨ã¨ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã¨ã®ç¸äºä½ç¨ å¤æ´ç¹ã®è©³ç´° java.lang.Thread Thread-local variables java.util.concurrent Networking java.io Java Native Interface (JNI) Debugging (JVM TI, JDWP, and JDI) JDK Flight Recorder (JFR) Java Management Extensions (JMX) java.lang.Th
ç®æ¬¡ã¯ããã«1ç« ãJDK Flight Recoderã¨ã¯ï¼1.1 JDK Flight Recorder 1.2 Javaã«ãããããã©ã¼ãã³ã¹åæã¨é害診æ 1.3 JFRã®æ´å² - JRockitããOpenJDKã¾ã§ 1.4 JFRã®åä½ç°å¢ã¨JMCã®ã¤ã³ã¹ãã¼ã« 2ç« ãJDK Flight Recorderã®ã¢ã¼ããã¯ãã£2.1 JFRã®ã¢ã¼ããã¯ãã£æ¦è¦ 2.2 JFRã¨ãªã¼ãã¼ããã 3ç« ãJDK Flight Recorderã®è¨é²3.1 JDK Flight Recorderã®è¨é² 4ç« ãJDK Mission Controlã«ããé害åæ4.1 JFR/JMCã§åæå¯è½ãªã¡ããªã¯ã¹ 4.2 Weblogic(WLDF)ã¨JFR 4.3 ECIDã¨åæ£ãã¬ã¼ã¹ 4.x ã¦ã¼ã¹ã±ã¼ã¹ 4.x.1 ã¦ã¼ã¹ã±ã¼ã¹1 - ãããã®ããã«ããã¯åæ 4.x.2 ã¦ã¼ã¹ã±ã¼ã¹2 -
åæã¯ãã¡ãã This article was written by Brian Goetz (Java Architect, Oracle). http://cr.openjdk.java.net/~briangoetz/valhalla/erasure.html ã¸ã§ããªã¯ã¹ã®æ¹åæ§ãèªãåã«ãã¾ããã¸ã§ããªã¯ã¹ã®ç¾å¨ã®ç¶æ³ã¨ããã¾ã§ã®çµç·¯ãèªãå¿ è¦ãããã¾ãããã®ææ¸ã§ã¯ãç¾å¨ã®ã¸ã§ããªã¯ã¹ãããã¾ä½ããã¨ãã¦ãããããè¯ããã¸ã§ããªã¯ã¹ã¸ã©ã®ããã«å½±é¿ãä¸ãããã®ç¤ã¨ãã¦ã主ã¨ãã¦ç¾å¨ã®ã¸ã§ããªã¯ã¹ãã©ã®ããã«ãã¦ã§ãããã£ãã®ããããã¦ãã®çç±ã«ã¤ãã¦ãã©ã¼ã«ã¹ãã¾ãã ç¹ã«ã2004å¹´ã«Javaã«ã¸ã§ããªã¯ã¹ã追å ããéã«ã¯ãå®éã«ã¯erasureï¼æ¶å»ãããã§ã¯type erasureãã¤ã¾ãåæ¶å»ãæå³ãã¦ããï¼ãè³¢æã§å®ç¨çãªé¸æã§ãã£ããã¨ãããã¦ãerasureã«ã
OOMKillerã®æ®ºæ 顧客EC2ã®Tomcatãã¢ã¯ã»ã¹ã®ç¡ãæ©æã«ããããããOOMKillerã«çªç¶æ®ºããã¦ãã¾ã£ãã®ã§ã調æ»ããé¡æ«ããã¶ãåããããªåé¡ã«ç´é¢ããã¦ããæ¹ããããããã¨æãã¾ãã®ã§åå¿é²ã¨ãã¦è¨è¼ãã¾ãã Javaãã¼ãã®ãã¥ã¼ãã³ã°ã«ãå¤å°å½¹ç«ã¤ãã¨æãã¾ãã ï¼ãã®è¨äºã¯Java8ã対象ã¨ãªãã¾ããï¼ OOMKillerã¨ã¯Out of Memoryæã«ããµã¼ãå ¨ä½ãå®ãããã«ã¡ã¢ãªã¼ãæ¶è²»ãã¦ããããã»ã¹ãåæ¢ããLinuxã®æ¨æºæ©è½ã§ãã ãã®OOMKillerã«ãªãã¨Tomcatãçªç¶æ®ºå®³ããã¦ãã¾ãã¾ããã åçç¡ç¨ã®è¾»æ¬ãç¶æ ã§ãã æ©æã§ãã®ã§ã¢ã¯ã»ã¹ãã°ã«ã¯ä½ãè¨é²ããã¦ããããcatalina.outã«ã¯ OpenJDK 64-Bit Server VM warning: Setting LargePageSizeInBytes has no
æ¦è¦ åè¨èªãC10Kåé¡ãã©ã解決ãã¦ãããã調ã¹ã¦ã¿ãã¨ãããNon-Blocking I/O, I/O Multiplexing, Asynchronous I/Oã®åºå¥ãããåãããªãã£ãã®ã§èª¿ã¹ã¦ã¿ã¾ããã æ£ç´ãªã¨ãã人ã«ãã£ã¦ã¡ããã¡ããå®ç¾©ãç°ãªãã®ã§ã¯ã£ããã¨ããçãã¯ãªãããã§ãããèªåã§èª¿ã¹ã¦ãã£ããããå½¢ãã¾ã¨ãã¾ãã åæ åæã¨éåæã®éã ç¨èª 説æ åæ OSã«ã¿ã¹ã¯ãæãã¦ãå ¥åºåã®æºåãã§ããã ã¢ããªã±ã¼ã·ã§ã³ã«å¦çãè¿ã£ã¦ãã éåæ OSã«ã¿ã¹ã¯ãæãã¦ãå ¥åºåãå®äºãããéç¥ãããã ããããã³ã°ã¨ãã³ããããã³ã°ã®éã ç¨èª 説æ ããããã³ã° OSã¸ä¾é ¼ããã¿ã¹ã¯ãå®äºããã¾ã§å¾ 㤠ãã³ããããã³ã° OSã¸ä¾é ¼ããã¿ã¹ã¯ã®å®äºãå¾ ããªã Blocking I/O ref: java Selector is asynchronous or no
2019å¹´7æ17æ¥ãkafka.apache.jpã主å¬ããã¤ãã³ããApache Kafka Meetup Japan #7ããLINEæ ªå¼ä¼ç¤¾ã«ã¦éå¬ããã¾ãããåæ£ã¹ããªã¼ãã³ã°ãã©ãããã©ã¼ã ãApache Kafkaãã«é¢ãããã¬ãã¸ãææ°æ å ±ãå ±æããæ¬ã¤ãã³ããä»åã¯4人ã®ã¨ã³ã¸ãã¢ããèªèº«ãèªç¤¾ã«ãããç¥è¦ãèªãã¾ããããã¬ã¼ã³ãã¼ã·ã§ã³ãKafka Broker performance degradation by mysterious JVM pauseãã«ç»å£ããã®ã¯ãLINEæ ªå¼ä¼ç¤¾ã®æ²³æå人æ°ãããæ¥Kafkaã«èµ·ãã£ãçªç¶ã®ããã©ã¼ãã³ã¹ä½ä¸ã¨ãã®åå ã«ã¤ãã¦ã解決ã¾ã§ã®è»è·¡ãèªãã¾ãããè¬æ¼è³æã¯ãã¡ã Apache Kafkaã®ããã©ã¼ãã³ã¹ä½ä¸ã¨ãã®åå æ²³æå人æ°ï¼ãããããé¡ããã¾ããæåã«èªå·±ç´¹ä»ããã¾ããæ²³æå人ã¨ããã¾ãã LINEã§å ¨ç¤¾åãã®
GraalVMæµè¡ã£ã¦ã¾ããã ããã¦ãå¤ãã®äººã¯GraalãAOTã¨ãã¦ä½¿ãnative-imageã®ãã¨ã ããGraalVMã¨è¨ã£ã¦ãããã¾ãã ãå®å¿ãããã®ã¨ã³ããªã§ã¯GraalãJITã¨ãã¦ä½¿ãHotSpotã¢ã¼ãã¨GraalãAOTã¨ãã¦ä½¿ãnative-imageã®ä¸¡æ¹ãé ãã¨ãã話ã§ãã GraalVMã¯éããã¨è¨ããã¦ã¾ãããæ®å¿µãªããHotSpotã¢ã¼ãã§C2ããéãçµæãæå ã§ã¯åºãã¦ãã¾ããã å ¬å¼ããã°ã§ã¯1.7åãã5åéããªãã¨æ¸ãã¦ã¾ããã©ãæå ã§ã¯åç¾ã§ãã¦ã¾ããã Under the hood of GraalVM JIT optimizations - graalvm - Medium native-imageã¯éããã¨ããã®ã¯ããããã¾ãããããã¯ãã¤ãã£ãåã«ããJVMã®èµ·åæéãæé©åã®æéãæé©åãããã«åãæéãçç¥ãããã®ã§èµ·åãéããã¨ã
ãã¬ã¬ããããã£ããã®ãæåã§ããããã JVMãOSãã¨ã«ã©ã®è¨æé¢æ°ãå¼ã³åºãã®ããããèªåã¯ããã«ç¥ããªãã®ã§ãâ¦ç¡å¿µã ã ã§ããããã¿ãæ¯ããããå ¨åã§æã¡è¿ããã£ã¦ãã£ã¡ããè¨ã£ã¦ãã ã¨ããããã§ãæé©åããããã£ã¨æåã®è©±é¡ãJVMã®æéåå¾ã¾ããã®ã³ã¼ããçºãã¦ã¿ããã¨æãã¾ãã Systemã¯ã©ã¹ã®ã½ã¼ã¹ã³ã¼ããè¦ã㨠public static native long currentTimeMillis(); ã¨ãnative宣è¨ããã¦ãããããããå ã¯ãã¤ãã£ãã®ä¸çãVMã®å®è£ ä¾åã®ä¸çã§ãããã Javaããã©ã¼ãã³ã¹è¨æ¸¬ ãããªã¿ã¤ãã¼ã§å¤§ä¸å¤«ãï¼ - ããã°ã©ãã¼ã®è³ã¿ã ãã§ãããã§ã¯ããã®ä¸çã確èªãã¦ã¿ã¾ãããã ã´ã¼ã« Javaã§æéè¨æ¸¬ãè¡ã£ãæã«åOSã§æçµçã«å¼ã°ããAPIã¨ãã®ç²¾åº¦ã«ã¤ãã¦ãJDKã®ã½ã¼ã¹ã³ã¼ãããã³ããã¥ã¡ã³ããå ã«ææ¡ããã
Cloud Foundryã®Java Buildpackã§ã¯Java Memory Calculatorã«ãã£ã¦èªåã§JVMã«å²ãå½ã¦ãã¡ã¢ãªãµã¤ãºãè¨ç®ããã¾ãã ããã©ã«ãã§ã¯æ¬¡ã®å¼ã§è¨ç®ããã¾ãã Heap Size = Container's memory Size - Native Size Native Size = -XX:MaxMetaSpaceSize + -XX:ReservedCodeCacheSize + -XX:MaxDirectMemorySize + (-Xss * Number of threads) å種JVMãã©ã¡ã¼ã¿ã¼ã¯ããã©ã«ãã§æ¬¡ã®å¤ãè¨å®ããã¾ãã -XX:MaxMetaSpaceSize ... ã¯ã©ã¹ãã¡ã¤ã«æ°ããèªåã§ç®åº -XX:CompressedClassSpaceSize ... ã¯ã©ã¹ãã¡ã¤ã«æ°ããèªåã§ç®åº <- Compres
èªåã使ãã³ãã³ãããã£ããå¿ããã¨ããããã®ã§ãã®åå¿é²ã®ããã«ãéçºã®æµãã¨ããã§ä½¿ã£ã¦ãå 容ãã¡ã¢ã å ¬å¼ã®ã¬ã¤ãã¯ãã¡ããåèã«ãã¦ãã ãããThe OpenJDK Developers' Guide â Index OpenJDK ã®éçºã¯ä»¥ä¸ã®ãããªæµãã§è¡ãã¾ãã ãã°ãä¸ãã éçºã®æºå OpenJDKã®ã½ã¼ã¹ããã¦ã³ãã¼ã jtregããã¦ã³ãã¼ã webrevããã¦ã³ãã¼ã ããããæ¸ã ãã«ã jtreg ã®ãã«ã OpenJDKã®ãã«ã ãã¹ã èªåãæ¸ãããã¹ããå®è¡ ã¬ã°ã¬ãã·ã§ã³ãã¹ã ã¬ãã¥ã¼ã®ä½æ webã¬ãã¥ã¼ã®ã¢ãããã¼ã ã¬ãã¥ã¼ä¾é ¼ ã³ãããã»ããã·ã¥ ã¦ã¼ã¶æ å ±ã追å ã³ããã ãã§ã³ã¸ã»ããä½æã¨ã¢ãããã¼ã é£çµ¡ ã³ããã¿ã¼ã«ãªã£ãã Submitãªãã¸ããªããã½ã¼ã¹ãåå¾ Submitãªãã¸ããªã®è¨å®ãå¤æ´ SSH ã¯ã©ã¤ã¢ã³ãã«éµãç»é²
AWS Open Source Blog Introducing Amazon Corretto, a No-Cost Distribution of OpenJDK with Long-Term Support Update! Amazon Corretto became Generally Available on January 31st, 2019. Java is one of the most popular languages in use by AWS customers, and we are committed to supporting Java and keeping it free. Many of our customers have become concerned that they would have to pay for a long-term sup
8u191ã§Docker対å¿ãããã¯ãã¼ããããã®ã§ãé ã®æ´çã¨ç¢ºèªããã¦ãããã ## ã¾ã¨ã Java 11使ã£ã¦ããã°ããããå®å¿ãªãã ãã©ãJava 8ã§ã8u191以éã使ãã°å®å¿ã ## 課é¡ã ã£ãã㨠Dockerã§Javaãåããã¨ãJavaãããã®ã³ã³ããã«å²ãå½ã¦ãããCPUã»ã¡ã¢ãªããããªãã¦ãDockerãåãã¦ãHostã®CPUã»ã¡ã¢ãªããè¦ã¦ãã¾ããã¨ã課é¡ã ã£ãã ## Java 10以é Java 10以éãªãããã®ã³ã³ããã«å²ãå½ã¦ãããCPUã»ã¡ã¢ãªããè¦ã対å¿ãå ¥ã£ã¦ãããå®å¿ã«ãªã£ãã https://www.oracle.com/technetwork/java/javase/10-relnote-issues-4108729.html#JDK-8146115 ## Java 8ã¯ï¼ Java 8ã§å ¥ã£ã¦ã対å¿ã¯8u131ã®ããï¼ Bug ID:
Duke jumping to Java 11TL;DR;Describes the benefits of upgrading the application to Java 11.Migration can be done incrementally: run, compile, modularize.Full source code and related posts are available at the bottom. MotivationOracle JDK 8 will end its life in January, 2019 (153 days from now), stopping the release of public updates, so better start moving and stay up-to-date with latest JDK vers
Menu Top JavaEEåå¼·ä¼ åå ããã«ã¯ FAQ MakingSenseofStreamProcessing MicroservicesVsSOA ModernJavaEEDesignPatterns BSA EIP DSL DDD è°äºé² ææ°ã®20件2023-11-24 MicroservicesVsSOA/The World of Service-Based Architectures 2020-11-14 DDD/Knowledge-Rich Design MakingSenseofStreamProcessing/Example Implementing Twitter 2020-10-28 EIP/Aggregator 2019-12-18 EIP/Publish-Subscribe Channel 2018-06-10 FrontPage 2017-07-08 Ma
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}