Tag: Caching

Enhance Your Kotlin Apps: A Guide to Smart Caching Solutions

TL;DR — Caches discusses the problems with caching, such as coupling and maintainability, and proposes solutions like using an object mediator, testing invalidation scenarios, and modeling real-world cache metaphors. It concludes that caches should be functional, and intelligent, and domain ob...

Go when pointers hide the benefits of CPU caching

We often use the (*Struct) syntax for receivers, as in this example, even though in this case, we don’t need a pointer since we aren’t planning to modify the User structure. So why do we do it? Because we’ve been taught that working with pointers is much faster ...

Boosting Eloquent Performance in Laravel: Strategies and Examples

Eloquent, Laravel’s ORM (Object-Relational Mapping), provides a convenient way to interact with databases. However, as your application grows, database interactions can impact performance. In this article, we’ll explore various strategies and examples to increase Eloquent’s speed a...