HashMap vs Hashtable in Java
Anchor comparison article for legacy vs modern map usage.
comparisonTopics
Browse the core content clusters behind Backend Study Lab: 142 published anchors and 2 planned articles or tools.
Java
Practical guides for understanding Java collection classes, equality, hashing, tradeoffs, complexity, and common interview questions.
Anchor comparison article for legacy vs modern map usage.
comparisonCompares hash-table lookup with sorted map behavior, range queries, comparator rules, and backend defaults.
comparisonCompares hash-based membership with sorted set behavior, range operations, comparator rules, and null handling.
comparisonHigh-volume search query with practical performance tradeoffs.
comparisonCompares FIFO queues, double-ended operations, ArrayDeque, LinkedList, stack usage, and concurrent queue choices.
comparisonHeap-backed queue guide with examples and pitfalls.
tutorialSupports HashMap cluster and internal linking.
informationalExplains equality contracts, hashCode rules, immutable keys, records, and HashMap/HashSet correctness.
tutorialExplains buckets, collisions, equals checks, tree bins, load factor, bad keys, and lookup performance.
informationalBridge Java collections and concurrency content.
tutorialReference bridge between Java collection choices and Big-O analysis.
referenceBackend
Spring Boot backend fundamentals for REST controllers, validation, service boundaries, error handling, and API contracts.
Explains @RestController, request mappings, DTOs, validation, status codes, error handling, and controller tests.
tutorialPlanned companion for Bean Validation, field errors, nested DTOs, and API-friendly validation responses.
tutorialPlanned guide for @RestControllerAdvice, consistent error shapes, request IDs, and status code mapping.
tutorialAPI Design
Clear comparisons, checklists, schemas, authentication patterns, CORS preflight behavior, service credentials, abuse prevention, scopes, and contracts for maintainable backend APIs.
Pillar comparison for API style decisions.
comparisonClarifies full replacement vs partial update semantics, idempotency, validation, and status code choices.
comparisonExplains paths, operations, schemas, examples, auth, versioning, code generation, and contract review.
informationalCompares standalone JSON Schema with OpenAPI Schema in HTTP API contracts, validation, docs, examples, and tooling.
comparisonChecklist for reviewing REST resources, methods, status codes, errors, pagination, idempotency, auth, versioning, and OpenAPI docs.
referenceEvergreen reference with strong internal linking potential.
referenceSearch common HTTP status codes with API usage and retry guidance.
referenceGenerate starter TypeScript types from JSON API response examples locally.
referenceGenerate starter JSON Schema drafts from example API payloads locally.
referenceQuery nested API payloads and inspect matched values locally.
referenceResolve exact JSON node locations for OpenAPI, JSON Schema, JSON Patch, and API debugging.
referenceDesign safer API keys with identifiable prefixes, hashed secrets, scopes, rotation, rate limits, and audit logs.
tutorialExplains API credential choices, token validation, scopes, rotation, gateways, 401/403 behavior, and safe logs.
tutorialCompares cookies, bearer tokens, sessions, JWTs, CSRF, XSS, storage, CORS, and client tradeoffs.
comparisonExplains scope naming, least privilege, consent, token claims, resource server validation, and common mistakes.
informationalExplains service-to-service OAuth, client authentication, scoped tokens, token caching, and credential rotation.
informationalExplains machine identities, scoped credentials, least privilege, rotation, audit logs, and decommissioning.
informationalExplains rate limits, quotas, enumeration, bot patterns, security event logging, gateways, and clear API errors.
informationalUseful for payment, retry, and distributed system examples.
informationalGenerate UUID v4 values for idempotency keys, request IDs, and backend test data.
referencePractical guide covering offset, cursor, and keyset pagination.
tutorialExplains pageInfo, cursors, hasNextPage, limits, totals, links, sorting, empty states, and compatibility.
tutorialExplains 429 responses, quota windows, token buckets, and backend enforcement choices.
informationalCovers URL versions, header versions, backward compatibility, deprecation, and migrations.
informationalExplains gateway routing, authentication, rate limiting, observability, and architecture tradeoffs.
informationalExplains browser OPTIONS checks, allowed methods, headers, credentials, caching, debugging, and backend mistakes.
informationalCovers webhook delivery, signatures, retries, idempotency, ordering, and receiver design.
tutorialExplains HMAC signatures, raw request bodies, timestamps, replay protection, secret rotation, and safe webhook failures.
tutorialPractical guide for status codes, stable error codes, field errors, request IDs, and safe messages.
tutorialBackend
Backend authentication and authorization concepts explained through practical implementation, cookies, CORS, OAuth, service account, token, API key, and permission tradeoffs.
Clarifies identity checks, permission checks, 401 vs 403, and API enforcement boundaries.
comparisonCompares role-based and attribute-based authorization models for backend access control.
comparisonExplains narrow permissions for users, services, API keys, database roles, cloud access, and operations.
informationalExplains password hashing, salts, peppers, verification, reset tokens, and storage mistakes.
informationalExplains multi-factor authentication, enrollment, backup codes, recovery, and step-up checks.
informationalExplains session fixation attacks, session ID rotation, cookie controls, and login trust transitions.
informationalCore comparison for auth architecture.
comparisonCompares cookies, bearer tokens, sessions, JWTs, CSRF, XSS, storage, CORS, and client tradeoffs.
comparisonNatural follow-up to JWT vs session.
comparisonExplains rotating refresh tokens, reuse detection, token families, revocation, and refresh race conditions.
informationalLarge concept article with many internal link opportunities.
informationalExplains delegated authorization, login, ID tokens, access tokens, and OIDC boundaries.
comparisonCompares long-lived API keys with scoped OAuth tokens for integrations and delegated API access.
comparisonExplains API key format, hashing, scopes, rotation, rate limits, audit logs, and safe storage.
tutorialExplains API credential choices, token validation, OAuth, API keys, rotation, status codes, and safe logging.
tutorialExplains scopes, consent, roles vs scopes, least privilege, tenant checks, and API permission validation.
informationalExplains machine-to-machine OAuth, client secrets, service identity, scopes, token caching, and validation.
informationalExplains machine identities, scoped credentials, least privilege, rotation, audit logs, and decommissioning.
informationalCovers registered claims, custom claims, scopes, roles, tenant context, and validation mistakes.
informationalSecurity comparison useful for auth and web backend clusters.
comparisonExplains origins, preflight requests, credentials, allowed headers, and CORS security limits.
informationalExplains browser OPTIONS checks, allowed methods, headers, credentials, caching, debugging, and backend mistakes.
informationalExplains SameSite cookie modes, CSRF risk, OAuth callbacks, and secure session cookie design.
informationalChecklist for HttpOnly, Secure, SameSite, CSRF, session rotation, prefixes, expiration, scope, and logging.
referenceExplains HSTS, CSP, frame protection, referrer policy, permissions policy, and cookie-related limits.
informationalLocal-only tool for inspecting JWT header and payload claims without signature verification.
referenceBackend
Security-focused backend guides for authentication, authorization, cookies, CORS, OAuth scopes, service credentials, browser risks, secrets, audit logs, API abuse controls, and safe API behavior.
Clarifies identity checks, permission checks, 401 vs 403, and API enforcement boundaries.
comparisonCompares RBAC, ABAC, ownership checks, tenant boundaries, role explosion, and policy complexity.
comparisonExplains safe password storage with one-way hashes, salts, cost factors, reset tokens, and login flow risks.
informationalExplains MFA enrollment, TOTP, WebAuthn, backup codes, recovery flows, and step-up authentication.
informationalExplains session fixation attacks, session ID rotation, cookie controls, and MFA trust transitions.
informationalCompares stateless bearer tokens with server-side sessions, logout, revocation, and browser storage tradeoffs.
comparisonCompares cookies, bearer tokens, sessions, JWTs, CSRF, XSS, storage, CORS, and client tradeoffs.
comparisonCompares short-lived access tokens with longer-lived refresh tokens in backend auth flows.
comparisonExplains rotating refresh tokens, reuse detection, token families, revocation, and refresh race conditions.
informationalExplains delegated authorization, login, ID tokens, access tokens, and OIDC boundaries.
comparisonCompares API keys and OAuth tokens for service access, user context, scopes, rotation, and expiration.
comparisonExplains API key format, hashing, scopes, rotation, rate limits, audit logs, and safe storage.
tutorialExplains protected API credentials, token validation, least privilege, gateways, auth failures, and security logs.
tutorialExplains scope design, least privilege, consent, resource server checks, and common authorization mistakes.
informationalExplains service-to-service tokens, client secrets, scopes, token validation, and credential lifecycle risks.
informationalExplains machine identities, scoped credentials, least privilege, rotation, audit logs, and decommissioning.
informationalExplains auth events, API abuse signals, safe metadata, alerting, retention, and investigation workflows.
informationalExplains rate limits, quotas, enumeration, bot patterns, security event logging, gateways, and clear API errors.
informationalExplains actor, action, resource, timestamp, safe metadata, retention, and investigation workflows.
informationalExplains environment variables, secret stores, rotation, logging risks, CI, and production workflows.
informationalExplains narrow access for users, services, API keys, database roles, cloud permissions, and temporary access.
informationalCovers registered claims, custom claims, scopes, roles, tenant context, and validation mistakes.
informationalExplains origins, preflight requests, credentials, allowed headers, and CORS security limits.
informationalExplains browser OPTIONS checks, allowed methods, headers, credentials, caching, debugging, and backend mistakes.
informationalExplains HSTS, CSP, frame protection, referrer policy, permissions policy, and cookie-related limits.
informationalExplains SameSite cookie modes, CSRF risk, OAuth callbacks, and secure session cookie design.
informationalChecklist for HttpOnly, Secure, SameSite, CSRF, session rotation, prefixes, expiration, scope, and logging.
referenceCompares request forgery and script injection risks for browser-backed backend systems.
comparisonExplains HMAC signatures, raw request bodies, timestamps, replay protection, secret rotation, and safe webhook failures.
tutorialPractical guide for status codes, stable error codes, field errors, request IDs, and safe messages.
tutorialUseful for 401, 403, 404, 409, 429, and other security-relevant API responses.
referenceExplains 429 responses, quota windows, token buckets, and backend enforcement choices.
informationalExplains gateway routing, authentication, rate limiting, observability, and architecture tradeoffs.
informationalLocal-only JWT inspection tool for test tokens and auth debugging.
referenceQuick reference for 401, 403, 429, 5xx, and other security-relevant API responses.
referenceAlgorithms
Algorithm fundamentals for backend developers, with emphasis on practical complexity, array patterns, and interview readiness.
Pillar article for algorithm complexity.
informationalExplains fixed and variable windows, Java examples, complexity, and contiguous range problems.
tutorialExplains start-end pointers, read-write pointers, sorted scans, merges, linked lists, and Java examples.
tutorialExplains range-sum preprocessing, subarray sums, difference arrays, Java examples, and complexity.
tutorialConnects Java collections with Big-O content.
referenceClassic algorithm tutorial with Java examples.
tutorialConnects PriorityQueue and algorithm interview prep.
tutorialSystem Design
Foundational backend architecture topics for databases, query performance, operations, concurrency, scaling, reliability, and production tradeoffs.
Explains index tradeoffs, composite indexes, query planning, and backend performance reviews.
informationalExplains hidden ORM query loops, eager loading, joins, batching, query counts, and list endpoint performance.
tutorialExplains pool size, connection timeouts, leak detection, transaction pressure, worker pools, and monitoring.
informationalExplains rollback vs roll forward, expand-contract migrations, backups, deploy order, and recovery plans.
tutorialCovers version columns, lost updates, compare-and-swap updates, and 409 conflict responses.
informationalExplains cache-aside, TTLs, invalidation, cache stampedes, and backend freshness tradeoffs.
tutorialCovers producers, consumers, retries, dead-letter queues, ordering, and idempotent processing.
informationalExplains commits, rollbacks, ACID, isolation, and transaction boundaries for backend workflows.
informationalExplains closed, open, and half-open breaker states for protecting backend dependencies.
informationalCovers shard keys, routing, hot shards, cross-shard queries, and sharding tradeoffs.
informationalExplains stale reads, convergence, read-your-writes, and async distributed system behavior.
informationalCovers traffic distribution, algorithms, health checks, sticky sessions, and deployment tradeoffs.
informationalExplains lease-based locks, fencing tokens, failure modes, and safer alternatives.
informationalCovers timeouts, exponential backoff, jitter, retry budgets, and idempotent retries.
tutorialExplains queues, workers, scheduled jobs, idempotency, status tracking, and monitoring.
tutorialDeveloper Tools
Utility pages that pair SEO-friendly explanations with fast browser-based developer tools.
Search common HTTP status codes with API usage and retry guidance.
referenceCompare text snippets line by line for API responses, configs, SQL, logs, and documentation.
referenceConvert CSV, TSV, and pasted rows into Markdown tables for docs and READMEs.
referenceConvert CSV, TSV, and delimited text into JSON arrays or objects locally.
referenceGenerate TypeScript interfaces or type aliases from JSON payload examples.
referenceGenerate starter JSON Schema drafts from example JSON payloads.
referenceTest common JSONPath expressions against API responses, fixtures, and logs.
referenceResolve RFC 6901 JSON Pointers against JSON locally with value and path metadata output.
referenceFormat and minify JSON locally in the browser.
referenceEncode and decode Base64 text locally.
referenceEncode URL components and decode percent-encoded strings.
referenceTest JavaScript regex patterns with matches, groups, and replacement previews.
referenceLook up common data structure and algorithm complexities with Java-oriented notes.
referenceExplain five-field cron expressions and preview upcoming run times locally.
referenceFormat and minify SQL queries locally before debugging or code review.
referenceDecode JWT header and payload claims locally for authentication debugging.
referenceConvert Unix seconds, milliseconds, UTC, and local browser dates for backend debugging.
referenceGenerate UUID v4 values locally for request IDs, idempotency keys, and test data.
reference