https://medium.com/javarevisited/5-important-microservices-design-patterns-c4d636b0051 5 Important Microservices Design Patterns Microservices design patterns have become increasingly popular due to their ability to improve software agility, scalability, resilience… medium.com Event Sourcing, Saga Pattern 위 두가지 패턴들을 구현하는 것은 참 고달픈 일이었다,,
1. IN 대신 EXISTS를 사용하여 데이터의 존재를 확인하십시오. 2. SELECT 문에서 *를 사용하지 마십시오. 필요한 열의 이름을 지정하십시오. 3. 적절한 데이터 유형을 선택합니다. 예를 들어 문자열을 저장하려면 텍스트 데이터 유형 대신 varchar를 사용하십시오. 큰 데이터(8000자 이상)를 저장해야 할 때마다 텍스트 데이터 유형을 사용하십시오. 4. 두 데이터 유형 모두 char 및 varchar만큼 이중 메모리를 사용하므로 가능하면 nchar 및 nvarchar를 사용하지 마십시오. 5. 고정 길이 필드에서 NULL을 피하십시오. NULL이 요구되는 경우에는 NULL에 대한 공간을 적게 차지하는 가변 길이(varchar) 필드를 사용하십시오. 6. 절을 피하십시오. 집계 결과를 추가로..
JDK 8에서 벗어나질 못하는 환경들이 많음. 개인적 선호도. Switch expressions (Java SE 14, JEP-361) Records (Java SE 16, JEP-395) https://medium.com/@omernaci/review-of-java-features-from-11-to-17-a7ccbb9af133 Review of Java Features From 11 to 17 Java is a powerful and widely-used programming language that has been evolving over the years to stay relevant and up-to-date with the… medium.com
Netflix Tech Blog Post part 2 update 되면 추가,, https://netflixtechblog.com/migrating-critical-traffic-at-scale-with-no-downtime-part-1-ba1c7a1c7835 Migrating Critical Traffic At Scale with No Downtime — Part 1 Shyam Gala, Javier Fernandez-Ivern, Anup Rokkam Pratap, Devang Shah netflixtechblog.com
https://levelup.gitconnected.com/5-design-patterns-in-java-that-solve-major-problems-8e85132cfb48 5 Design Patterns in Java that Solve Major Problems! In a previous post, I showed you how the OOP world looks like. OOP is a pretty convenient paradigm for identifying requirements while also… levelup.gitconnected.com 1. Singleton Pattern 2. Observer Pattern 3. Strategy Pattern 4. Decorater Pattern ..
https://medium.com/@eidan.khan659/how-to-optimize-performance-with-spring-data-jpa-c615db786f7 How to Optimize Performance with Spring Data JPA Spring Data JPA is a powerful tool for working with databases in Java applications. It provides an easy-to-use and flexible interface for… medium.com 1. Avoid N+1 Selects Problem 2. Use Lazy Loading 3. Use Caching 4. Use Paging and Sorting + 덧붙이면. index ..
Good! https://medium.com/@gaganjain9319/spring-security-features-and-secure-rest-api-using-spring-security-in-java-e4c812ed085 Spring security features and secure Rest API using spring security in JAVA Spring Security is a powerful and widely used security framework for Java applications that provides authentication, authorisation, and… medium.com
https://medium.com/@eidan.khan659/circular-dependency-in-spring-boot-how-to-detect-and-fix-it-6c8ef2c3174e Circular Dependency in Spring Boot: How to Detect and Fix It? In Spring Boot, circular dependency occurs when two or more beans depend on each other. This can happen when a bean requires another bean… medium.com 선호하는 방식 Method 2: Setter Injection Another way to fix circular dependency is to..
https://medium.com/trendyol-tech/grpc-vs-rest-performance-comparison-db33e46dd4d6 gRPC vs. REST Performance Comparison As PUDO team, we use spring boot with REST controllers in our project. We compared REST and gRPC to see if we can use gRPC for performance… medium.com Average Time per Request for gRPC: 0.3503 ms Average Time per Request for REST: 2.3109 ms Conclusion According to performance re..