Skip to content
tezvyn:
Menu

Architecture

377 bites tagged Architecture: interview questions with model answers, and 60-second explainers.

Test yourself: Top 30 Architecture interview questions →Multiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.
Cloud Platforms1 min read

AWS adds shared, ordered EventBridge custom buses

AWS announced enhanced EventBridge custom event buses that can be shared across accounts, support ordered delivery, and use a Subscriber resource.

UX Research1 min read

Client-side versus server-side A/B testing

Client-side flickers and is bypassable; server-side assigns before response, hides logic, suits backend changes.

React Native2 min read

The legacy React Native Bridge architecture

JS, native, and shadow threads communicate via an async, batched, JSON-serialized Bridge.

React Native2 min read

Web DOM elements vs React Native core components

View maps to UIView/ViewGroup, Text to native text, no HTML or CSS, all text must be inside Text.

React Native2 min read

The JS thread and why it bottlenecks performance

A single thread runs your JS, React reconciliation, and event handling; blocking it delays updates and gestures, and it is separate from the UI thread.

React Native2 min read

Push notification data flow with APNs and FCM

Device registers and gets a token, server sends to FCM, FCM routes to APNs for iOS and directly for Android, the OS delivers to the app.

React Native2 min read

What is a worklet in Reanimated

A worklet is a JS function marked to run on the UI thread runtime with a captured snapshot of its scope, enabling synchronous per-frame work.

React Native1 min read

Animated API versus Reanimated architecture

Animated declares animations that the native driver runs, but logic and gestures cross the bridge; Reanimated runs worklets directly on the UI thread.

React Native1 min read

Designing a native map UI component

Wrap each platform's native view, expose props mapped to native setters and events as bubbling callbacks, unify behind one JS API.

React Native1 min read

Platform files versus Platform.OS checks

Use platform files for large divergence and platform-only deps, use Platform.OS for small inline tweaks.

React Native1 min read

State normalization for relational data

Store entities by id in lookup tables, reference relationships by id, avoid nesting and duplication.

Python & FastAPI1 min read

Feature-based vs layer-based project structure

Layer-based groups by technical role and is simple early but scatters a feature across folders; feature-based groups by domain, improving cohesion and ownership at the cost of some duplication and…

Product Strategy1 min read

Resolving power-vs-simplicity product tension

Progressive disclosure, a stable core with optional advanced layers, escape hatches; or pick one if the audiences truly diverge.

Product Strategy1 min read

Framing a build debate with the mission

Separate user simplicity from internal complexity, weigh new-framework risk, decide via mission and reversibility.

Product Strategy1 min read

Evaluate a high-risk full rewrite

Surface rewrite risk with POCs, propose incremental displacement like Strangler Fig, quantify the cost of stalled features.

Product Strategy1 min read

Resolve a low-code versus custom-build conflict

Build a spike testing real constraints, surface lock-in and exit cost, propose a hybrid scoped by differentiation.

Node.js & Express1 min read

Modularize routes with express.Router

Create a Router per resource in its own file, define routes on it, export it, and mount with app.use('/products', router).

Node.js & Express1 min read

Centralized error-handling middleware

Error middleware takes four args err, req, res, next, is defined last, and runs when next(err) is called or sync errors throw.

Node.js & Express1 min read

Modularizing routes with express.Router

Create a Router instance in users.js, attach routes to it, export it, then mount it under a base path with app.use in the main file.

Node.js & Express1 min read

Monorepo workspaces vs private npm packages

Workspaces give atomic cross-service changes and instant local linking but couple release cadence; private packages give versioned isolation but add publish overhead and version drift.

Node.js & Express1 min read

Layered structure for a scalable Express API

Routes map URLs, controllers handle HTTP, services hold business logic, data layer talks to the DB; keep each layer ignorant of HTTP except controllers.

Monitoring & SRE2 min read

OpenTelemetry agent and gateway architecture

Agents run per-node for local collection and host enrichment; gateways are central, horizontally scaled pools for batching, tail sampling, and routing.

Monitoring & SRE1 min read

Resource faults versus network faults: when each matters?

Resource faults probe local saturation and autoscaling; network faults probe distributed-call resilience like timeouts and retries.

MLOps & Infrastructure1 min read

Serving for online and batch predictions

A low-latency online path (synchronous, autoscaled, real-time features) and a high-throughput batch path (parallel, cost-optimized, large jobs) sharing one model artifact and feature definitions.

Get Architecture bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon