Skip to content

Commit

Permalink
Quartz sync: Feb 9, 2024, 11:12 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaGit committed Feb 10, 2024
1 parent 695eb18 commit 39b376e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/architecture/Cache concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ tags:
- cache
- architecture
---
## Caching

Caching is the process of storing copies of files in a temporary storage location, known as a cache. The temporary storage location is faster to access than the underlying slower storage layer. The primary goal of caching is to increase data retrieval performance by reducing the need to access the underlying slower storage layer.

When an order comes through and the food item already exists in the oven, this is called a **cache hit**. When it doesn’t exist, this is a **cache miss**. The success of a cache is quantified by the cache hit ratio, calculated as the number of cache hits divided by the total number of cache requests.
## Sharding

Distributing the keys of the cache in multiple cache instances. There's usually a function that determines which key goes in which instance. (Hashing.)
Expand Down Expand Up @@ -88,3 +93,4 @@ Random Replacement (RR) selects a random item for eviction when the cache is ful

- [EP93: Is Passkey Shaping a Passwordless Future?](https://blog.bytebytego.com/p/ep93-is-passkey-shaping-a-passwordless), ByteByteGo Blog
- [Caching Policies and Algorithms Explained Simply - SWE Quiz](https://www.swequiz.com/learn/caching-strategies-and-algorithms)
- [A Crash Course on Caching Fundamentals - SWE Quiz](https://www.swequiz.com/learn/caching-fundamentals)
14 changes: 14 additions & 0 deletions content/management/Technical Debt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Technical Debt
tags:
- architecture
- programming
- management
---
Technical debt has less to do with the code itself and more about the choices and compromises that emerge from the challenges within software development.[^notreal]

In the realm of software development, the inception of a project is often marked by a paradoxical certainty: we know the least about the project at its beginning. This is an inherent trait, not a flaw, of the developmental process.[^notreal]

The concept of refactoring sprints, while seemingly a solution, is often misguided. The root problem often lies not in the code itself, but in the processes that built that code. In cases of what might be termed “corporate technical debt,” a continuous, proactive approach to managing technical debt is more effective than sporadic refactoring sprints.[^notreal]

[^notreal]: [Technical Debt is not real – Foxhound Systems](https://www.foxhound.systems/blog/technical-debt-is-not-real/?utm_source=tldrnewsletter)

0 comments on commit 39b376e

Please sign in to comment.