963963Chat Independent coverage of news

Understanding Technology Fundamentals 5: Costs, Limits and Trade-offs

By Robert Hayes · · 1183 words
Understanding Technology Fundamentals 5: Costs, Limits and Trade-offs

Storage Tiers: Periodic jobs should be safe to run twice, because they will be. Storage Tiers: You rarely need a new component to fix a boundary problem. Storage Tiers: The signal you want is often already logged, just not aggregated.

Crawl Budget: If a metric has no owner, it will drift until it causes an incident. Crawl Budget: The cheapest optimisation is usually removing work nobody asked for. Crawl Budget: Aggregating at write time trades flexibility for predictable read cost.

Talking about boundaries can make expectations clearer in a relationship, including around physical contact, sex, privacy and communication. A useful conversation is specific and voluntary: each person can say what feels acceptable, ask questions and change their mind without being pressured.

Access Control: The interesting number is not the average, it is the 99th percentile. Access Control: Adding a cache in front of a slow query is a fix; fixing the query is a cure. Access Control: Every abstraction you add is a place where behaviour can differ from intent.

A design that cannot be rolled back is a design that cannot be changed safely. That applies to backup strategy as well. In practice, backup strategy behaves differently: Latency budgets are easier to defend when every hop has a stated ceiling. Caching helps only until the invalidation rules become the bottleneck. The same reasoning holds for backup strategy.

Search Indexing: Serving static bytes is the cheapest thing you can do at the edge. Search Indexing: A schema is an interface; changing it is a migration, not an edit. Search Indexing: Track the denominator as carefully as the numerator.

Consider access control specifically. Serving static bytes is the cheapest thing you can do at the edge. Access Control: A schema is an interface; changing it is a migration, not an edit. Track the denominator as carefully as the numerator. That applies to access control as well.

Teams working on release process usually discover this the hard way. A design that cannot be rolled back is a design that cannot be changed safely. Latency budgets are easier to defend when every hop has a stated ceiling. This is most visible in release process. Consider release process specifically. Caching helps only until the invalidation rules become the bottleneck.

Some infections are not usually tested for in people without symptoms or a specific reason. Routine blood screening for genital herpes, for example, is not generally recommended for everyone, and testing for Mycoplasma genitalium is not routinely offered to all asymptomatic people. The usefulness and limits of these tests differ, so a clinician can explain whether one is indicated in an individual case.

For cost controls, the constraint matters more than the feature list. If a metric has no owner, it will drift until it causes an incident. Teams working on cost controls usually discover this the hard way. The cheapest optimisation is usually removing work nobody asked for. Aggregating at write time trades flexibility for predictable read cost. This is most visible in cost controls.

HIV and syphilis screening usually involves a blood sample, although the exact test and collection method can vary. Some services offer rapid tests, while others send samples to a laboratory. Hepatitis B or C testing may be offered based on factors such as pregnancy, vaccination history, previous results or particular exposure risks; it is not automatically part of every sexual-health check.

Log Analysis: Periodic jobs should be safe to run twice, because they will be. Log Analysis: You rarely need a new component to fix a boundary problem. Log Analysis: The signal you want is often already logged, just not aggregated.

Teams working on api design usually discover this the hard way. Serving static bytes is the cheapest thing you can do at the edge. A schema is an interface; changing it is a migration, not an edit. This is most visible in api design. Consider api design specifically. Track the denominator as carefully as the numerator.

Content Delivery: Periodic jobs should be safe to run twice, because they will be. Content Delivery: You rarely need a new component to fix a boundary problem. Content Delivery: The signal you want is often already logged, just not aggregated.

The first thing to settle is the failure mode, not the happy path. This is most visible in backup strategy. Consider backup strategy specifically. Measurements taken once are anecdotes; you need a baseline that repeats. Backup Strategy: Costs usually concentrate in a small number of operations, so find those first.

Edge Caching: Serving static bytes is the cheapest thing you can do at the edge. Edge Caching: A schema is an interface; changing it is a migration, not an edit. Edge Caching: Track the denominator as carefully as the numerator.

Log Analysis: Configurations should be reviewable in a diff, not only in a console. Log Analysis: The best time to add an index is before the table gets large. Log Analysis: Failures are usually correlated, so plan for the shared dependency.

In practice, api design behaves differently: Periodic jobs should be safe to run twice, because they will be. You rarely need a new component to fix a boundary problem. The same reasoning holds for api design. For api design, the constraint matters more than the feature list. The signal you want is often already logged, just not aggregated.

Edge Caching: If a metric has no owner, it will drift until it causes an incident. Edge Caching: The cheapest optimisation is usually removing work nobody asked for. Edge Caching: Aggregating at write time trades flexibility for predictable read cost.

Queue Design: If the rollback plan needs a meeting, it is not a rollback plan. Queue Design: Small pages that stay small are easier to keep fast than large ones made fast. Queue Design: Write the invariant down; otherwise it lives only in someone's memory.

Talking about boundaries can make intimacy clearer and safer, but it may feel awkward at first. A boundary is a limit or condition that describes what you are comfortable with; it is not a demand that another person must feel the same way. A step-by-step conversation can help both partners understand what is welcome, what is not, and how to respond when feelings or circumstances change.

Cost Controls: You can often replace a coordination problem with an idempotency key. Cost Controls: Anything that grows without a bound will eventually hit one. Cost Controls: Documentation that is not tested tends to describe the previous version.

Consider load balancing specifically. A design that cannot be rolled back is a design that cannot be changed safely. Load Balancing: Latency budgets are easier to defend when every hop has a stated ceiling. Caching helps only until the invalidation rules become the bottleneck. That applies to load balancing as well.

Consider queue design specifically. The interesting number is not the average, it is the 99th percentile. Queue Design: Adding a cache in front of a slow query is a fix; fixing the query is a cure. Every abstraction you add is a place where behaviour can differ from intent. That applies to queue design as well.

Related reading