2023-02-13-TIL

Today I Learned

JPA ID Long vs Integer

  • https://docs.oracle.com/cd/E19253-01/817-6223/chp-typeopexpr-2/index.html
  • https://stackoverflow.com/questions/17398192/long-versus-integer-for-the-id-field-of-java-entities
  • https://foxlime.tistory.com/115
  • https://www.inflearn.com/questions/35759/long-%ED%83%80%EC%9E%85%EC%97%90-%EB%8C%80%ED%95%9C-%EC%A7%88%EB%AC%B8%EC%9E%85%EB%8B%88%EB%8B%A4
  • https://coderanch.com/t/695720/databases/int-Integer-JPA-entity-Id

Long Type in 64-bit

팀원이 JPA의 Long 타입에 관한 질문을 했다. Long 타입과 Integer 타입이 64비트 환경에서 성능 차이가 있나요? 우선, 래퍼클래스는 참조값만 가지므로 32비트나 64비트나 이 둘 간의 차이는 없을 것이다. 다만, 프리미티브 타입인 int와 long타입은 성능 차이가 어느정도 있을지도 모르겠다. 그렇다고 해도 실제 성능 차이는 거의 없다고 설명되어 있다.

  • https://stackoverflow.com/questions/17398192/long-versus-integer-for-the-id-field-of-java-entities
  • https://joyful-class-maker.tistory.com/119
  • https://stackoverflow.com/questions/39779880/c-int-vs-long-long-in-64-bit-machine
  • https://www.ibm.com/docs/en/zos/2.4.0?topic=environments-ilp32-lp64-data-models-data-type-sizes
  • https://softwareengineering.stackexchange.com/questions/411128/is-using-64-bit-integers-long-long-faster-than-less-bits-ones

Hexagonal Architecture

  • https://www.youtube.com/watch?v=Bo8jrZxMAgE
  • https://www.youtube.com/watch?v=MKfSLrwLex8
  • https://www.youtube.com/watch?v=Sfia0T1jt5s
  • https://www.youtube.com/watch?v=L2Wnq0ChAIA&list=PLsUM2ScMfp-r5NOg_bnQurMdd0tv2M5oT
  • https://www.youtube.com/watch?v=wYWh5rg88UE&t=3400s
  • https://www.youtube.com/watch?v=g6Tg6_qpIVc
  • https://www.youtube.com/watch?v=JubdZIdLQ4M
  • https://www.youtube.com/watch?v=7HxwHWUq3zk
  • https://www.youtube.com/watch?v=JugIkibl7xg

Multi Module in Monolithic

  • https://www.youtube.com/watch?v=ipDzLJK-7Kc
  • https://www.youtube.com/watch?v=nH382BcycHc

Event Driven Architecture

  • https://www.youtube.com/watch?v=STKCRSUsyP0
  • https://www.redhat.com/ko/topics/integration/what-is-event-driven-architecture
  • https://aws.amazon.com/ko/event-driven-architecture/
  • https://learn.microsoft.com/ko-kr/azure/architecture/guide/architecture-styles/event-driven
  • https://cloud.google.com/eventarc/docs/event-driven-architectures?hl=ko
  • https://techblog.woowahan.com/7835/
  • https://medium.com/dtevangelist/event-driven-microservice-%EB%9E%80-54b4eaf7cc4a
  • https://www.tibco.com/ko/reference-center/what-is-event-driven-architecture
  • https://velog.io/@limprove89/%EC%9D%B4%EB%B2%A4%ED%8A%B8-%EA%B8%B0%EB%B0%98-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D-%EC%93%B0%EB%A0%88%EB%93%9C
  • https://velog.io/@youngeui_hong/Event-Driven-Architecture
  • https://www.samsungsds.com/kr/insights/msa_architecture_edm.html

Domain Driven Design

  • https://www.youtube.com/watch?v=4QHvTeeTsj0
  • https://www.youtube.com/watch?v=ZZp9RQEGeqQ
  • https://www.youtube.com/watch?v=H5–9pMmuK4
  • https://www.youtube.com/watch?v=n_9fBLl1gb4

Multi Threading in Java

  • https://www.baeldung.com/java-completablefuture
  • https://pjh3749.tistory.com/280
  • https://reflectoring.io/java-completablefuture/
  • https://medium.com/@knoldus/executors-in-completable-future-4f3ff0f101a7
  • https://stackoverflow.com/questions/52303472/executorservice-vs-completablefuture
  • https://hamait.tistory.com/612
  • https://honbabzone.com/java/java-thread/
  • https://livebook.manning.com/book/java-8-in-action/chapter-7/1
  • https://www.javacodegeeks.com/2015/09/concurrency-best-practices.html
  • https://medium.com/javarevisited/virtual-threads-java-vs-go-92620e0ab556
  • https://stackoverflow.com/questions/69832291/will-project-loom-virtual-threads-improve-the-perfomance-of-parallel-streams
  • https://blogs.oracle.com/javamagazine/post/java-loom-virtual-threads-platform-threads
  • https://www.infoq.com/articles/java-virtual-threads/
  • https://medium.com/@peterlee2068/concurrency-and-parallelism-in-java-f625bc9b0ca4
  • https://www.baeldung.com/java-when-to-use-parallel-stream
  • https://sas-study.tistory.com/461
  • https://girawhale.tistory.com/131

Apache POI vs …

  • https://automationqahub.com/top-2-alternatives-to-apache-poi-library-that-can-actually-make-your-life-better/
  • https://www.libhunt.com/compare-fastexcel-vs-poi
  • https://github.com/dhatim/fastexcel

Datadog with Spring

  • https://oliveyoung.tech/blog/2022-06-22/How-to-Set-up-Build-ECS-Fargate-And-Datadog/
  • https://docs.datadoghq.com/tracing/trace_collection/dd_libraries/java?tab=containers
  • https://cookiethecat2020.blogspot.com/2021/02/saas-datadog.html