본문 바로가기

반응형

emotional developer/detect-pattern

6-Caching Strategies to Remember while designing Cache System https://javascript.plainenglish.io/6-caching-strategies-to-remember-while-designing-cache-system-da058a3757cf 6-Caching Strategies to Remember while designing Cache System How to invalidate the cache, strategies around Read v/s Write Cache,Ways to invalidate the Cache, terminologies around Cache System & Much… javascript.plainenglish.io 캐시 시스템의 주요 성능 지표 캐시 적중률: 이 메트릭은 요청된 항목이 캐시에서 발견된 횟수의 비율을 측정.. 더보기
Five API Performance Optimization Tricks that Every Java Developer Must Know https://medium.com/javarevisited/five-api-performance-optimization-tricks-that-every-java-developer-must-know-75324ee1d244 Five API Performance Optimization Tricks that Every Java Developer Must Know Why is your API response so slow? Maybe you need to solve these problems. medium.com Five Tricks Parallel call Avoid large transaction Add appropriate index Return fewer data Use cache Finally 여기에 5.. 더보기
Avoiding cache stampede at DoorDash https://medium.com/@DoorDash/avoiding-cache-stampede-at-doordash-55bbf596d94b Avoiding cache stampede at DoorDash By Zohaib Sibte Hassan, Software Engineer at DoorDash medium.com DoorDash Cache 전략. A typical caching setup The debouncer approach To solve the problem, we took inspiration from something front-end engineers use frequently. Debouncing is a common practice in the JS world to prevent d.. 더보기
System Design — Design A Rate Limiter https://medium.com/geekculture/system-design-design-a-rate-limiter-81d200c9d392 System Design — Design A Rate Limiter Note: I have read this great book System Design Interview — An insider’s guide by Alex Xu in depth. So most of my definitions and images… medium.com Token Bucket Algorithm 더보기
5 Important Microservices Design Patterns 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 위 두가지 패턴들을 구현하는 것은 참 고달픈 일이었다,, 더보기
Spring Security Filter Flow 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 더보기
Circular Dependency 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.. 더보기
Refactor if/elseif/elseif https://medium.com/aia-sg-techblog/refactor-if-elseif-elseif-using-strategy-design-pattern-80c51913a539 Refactor if/elseif/elseif using Strategy Design Pattern Strategy Design pattern enables an algorithm’s behavior to be selected at runtime. The pattern medium.com Pros : 1. Adding a new strategy will never disturb any previous code. 2. Removal/Refactoring of any previous strategy is flexible. 3.. 더보기