From e4e8404ffa85ebdb8d23785fe7a1ff084f13bf38 Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Wed, 1 Jan 2025 13:39:32 +0300 Subject: [PATCH] m --- db/sql/postgres/performance.txt | 4 +++ pl/java/jvm/internals/bytecode.txt | 4 +++ .../libfws/spring/boot/scheduling/quartz.txt | 2 ++ .../data/jdbc/features/mapping-relations.txt | 4 +++ pl/java/libfws/spring/messaging/kafka.txt | 6 +++++ pl/java/tools/quality/memory/eclipse-mat.txt | 25 +++++++++++++++++++ .../testing/testcontainers/modules/jdbc.txt | 3 +++ 7 files changed, 48 insertions(+) diff --git a/db/sql/postgres/performance.txt b/db/sql/postgres/performance.txt index f0ba692b3..bcfcad92d 100644 --- a/db/sql/postgres/performance.txt +++ b/db/sql/postgres/performance.txt @@ -1,5 +1,9 @@ https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server +2024 +JPoint - Zhilin - PG Can Make a Pain 0:00 of 45:49 + https://www.youtube.com/watch?v=pTWfjyeQ5Ks + https://jokerconf.com/talks/0bd645ad3a0f48c292547db572a1c7eb 2019 https://developer.ibm.com/tutorials/postgresql-experiences-tuning-recomendations-linux-on-ibm-z/ https://habr.com/ru/company/southbridge/blog/714096/ diff --git a/pl/java/jvm/internals/bytecode.txt b/pl/java/jvm/internals/bytecode.txt index 05ed8143e..bc4bacd29 100644 --- a/pl/java/jvm/internals/bytecode.txt +++ b/pl/java/jvm/internals/bytecode.txt @@ -1,5 +1,9 @@ https://en.wikipedia.org/wiki/Java_bytecode_instruction_listings +2024 +JPoint - Barinov - What Lambdas are Compiled into 0:00 of 45:19 + https://www.youtube.com/watch?v=LxyCIu_7k9k + https://jokerconf.com/talks/d88a4af5f75f4ec3a51a1632f3828863 2023 https://habr.com/ru/articles/759990/ https://github.com/konsoletyper/exprbc/tree/9630c3d8fb3bd507b6a6d0201ba84baa9000bff1 diff --git a/pl/java/libfws/spring/boot/scheduling/quartz.txt b/pl/java/libfws/spring/boot/scheduling/quartz.txt index 46233d918..06aca4bfc 100644 --- a/pl/java/libfws/spring/boot/scheduling/quartz.txt +++ b/pl/java/libfws/spring/boot/scheduling/quartz.txt @@ -22,6 +22,8 @@ https://github.com/pavansolapure/opencodez-samples/tree/master/quartz-demo 2024 https://www.baeldung.com/quartz +2023 +https://habr.com/ru/articles/729332/ 2022 https://habr.com/ru/companies/surfstudio/articles/685980/ 2019 diff --git a/pl/java/libfws/spring/data/jdbc/features/mapping-relations.txt b/pl/java/libfws/spring/data/jdbc/features/mapping-relations.txt index 982f85d2c..ed5e71b43 100644 --- a/pl/java/libfws/spring/data/jdbc/features/mapping-relations.txt +++ b/pl/java/libfws/spring/data/jdbc/features/mapping-relations.txt @@ -1,3 +1,4 @@ +https://docs.spring.io/spring-data/relational/reference/jdbc/domain-driven-design.html https://docs.spring.io/spring-data/relational/reference/jdbc/mapping.html 2022 @@ -18,6 +19,9 @@ https://spring.io/blog/2021/09/22/spring-data-jdbc-how-do-i-make-bidirectional-r https://github.com/spring-projects/spring-data-examples/tree/main/jdbc/howto/bidirectionalexternal https://github.com/spring-projects/spring-data-examples/blob/main/jdbc/howto/bidirectionalexternal/src/test/java/example/springdata/jdbc/howto/bidirectionalexternal/BidirectionalApplicationTests.java https://github.com/spring-projects/spring-data-examples/blob/main/jdbc/howto/bidirectionalexternal/src/main/java/example/springdata/jdbc/howto/bidirectionalexternal/Minion.java +2020 +https://habr.com/ru/companies/otus/articles/531332/ + @MappedCollection for one-to-main ???? https://temofeev.ru/info/articles/kak-spring-data-jdbc-soedinyaet-tablitsy/ MappedCollection diff --git a/pl/java/libfws/spring/messaging/kafka.txt b/pl/java/libfws/spring/messaging/kafka.txt index 0527b4707..d409b8bfb 100644 --- a/pl/java/libfws/spring/messaging/kafka.txt +++ b/pl/java/libfws/spring/messaging/kafka.txt @@ -52,6 +52,12 @@ https://habr.com/ru/articles/797049/ testing https://habr.com/ru/articles/781812/ 2023 +https://habr.com/ru/companies/slurm/articles/772818/ + @Bean + public KafkaTemplate kafkaTemplate() { + return new KafkaTemplate<>(producerFactory()); // can have multiple producer factories + } + RoutingKafkaTemplate https://medium.com/simform-engineering/kafka-integration-made-easy-with-spring-boot-b7aaf44d8889 https://nuancesprog.ru/p/19474/ https://blog.devgenius.io/consume-the-same-data-with-different-consumer-groups-in-kafka-spring-boot-e7ba8cce31df diff --git a/pl/java/tools/quality/memory/eclipse-mat.txt b/pl/java/tools/quality/memory/eclipse-mat.txt index 2b94ee795..6ee664ab7 100644 --- a/pl/java/tools/quality/memory/eclipse-mat.txt +++ b/pl/java/tools/quality/memory/eclipse-mat.txt @@ -23,5 +23,30 @@ REM endlocal +2024 +JPoint - Plizga - HeapDump Mem Analysis Guide 0:00 of 46:10 + https://www.youtube.com/watch?v=fPns2O-cnYQ + https://jokerconf.com/talks/73c199ab870d45f9b27439962cd77f91 + Dominator Tree + OQL + Apache Callcite + https://calcite.apache.org/ + https://github.com/vlsi/mat-calcite-plugin + JFR Settings for Recording -> Object Allocation Sample, Stack Trace = true + btrace (can print vars) + https://www.datadoghq.com/blog/java-memory-management/ + https://github.com/DataDog/jmxfetch + https://github.com/DataDog/dd-trace-java + https://docs.datadoghq.com/tracing/trace_collection/automatic_instrumentation/dd_libraries/java/?tab=wget + https://github.com/Toparvion/spring-petclinic-rest + https://toparvion.pro/project/bugclinic/ + https://github.com/Toparvion/heap-talk + https://toparvion.pro/project/heap-talk/ 2020 https://habr.com/ru/post/519830/ +2019 +JPint - Pangin + https://www.youtube.com/watch?v=kKigibHrV5I +2016 +JPoint - Sitnikov + https://www.youtube.com/watch?v=OE3wowy29mg diff --git a/pl/java/tools/quality/testing/testcontainers/modules/jdbc.txt b/pl/java/tools/quality/testing/testcontainers/modules/jdbc.txt index 04ad0ec08..470344815 100644 --- a/pl/java/tools/quality/testing/testcontainers/modules/jdbc.txt +++ b/pl/java/tools/quality/testing/testcontainers/modules/jdbc.txt @@ -1 +1,4 @@ https://www.testcontainers.org/modules/databases/jdbc/ + +https://testcontainers.com/guides/replace-h2-with-real-database-for-testing/ + ?TC_INIT_SCRIPT=sql/a.sql