AI & Artificial Intelligence
Explore AI foundations, generative models, agents, developer tools, and responsible use.
LinkSpot Knowledge
Explore AI foundations, generative models, agents, developer tools, and responsible use.
Learn programming fundamentals, languages, web and mobile development, databases, testing, and architecture.
Explore cloud platforms, Linux operations, containers, DevOps, and networking.
Learn practical web and network security, identity, privacy, and security operations.
Explore data engineering, SQL, analytics, visualization, and data quality.
Explore PCs, semiconductors, mobile devices, IoT, robotics, and open web standards.
Discover developer, collaboration, and design tools plus no-code and low-code workflows.
LinkSpot Knowledge
Explore practical guides and knowledge by category.
1,879 articles
Competing consumers are multiple workers consuming one queue and dividing tasks. RabbitMQ normally dispatches messages in round-robin order, which can raise parallel throughput. This default does not account for task duration or each worker’s current capacity. For variable-duration tasks, combine manual acknowledgements with a suitable prefetch limit.
A Quarkus REST endpoint needs a JSON extension to read and write Java objects as JSON. Choose quarkus-rest-jackson for Jackson or quarkus-rest-jsonb for JSON-B. This example uses Jackson for POST /messages/echo, declares both media types, and checks status and fields with a RestAssured test. The current official guide requires JDK 17+ and Maven 3.9.16; docs were reviewed on 2026-11-20.
Publish-subscribe (pub/sub) is a pattern where a publisher sends a message to a topic or exchange and subscribers receive it through their own subscription paths, instead of sending directly to one recipient. It suits independent systems that each need to react to the same event. First decide whether every subscriber needs its own copy or whether one worker from a pool should handle each task; those are different delivery models.
A presigned object URL delegates a limited operation on a specific object for a limited time without giving the recipient storage credentials. Anyone holding the URL can perform the signed action without logging in, so treat the URL like a bearer credential. Authenticate and authorize the user in your application, then issue a URL scoped to the object, HTTP operation, and expiry, and prevent it from leaking.
Proof Key for Code Exchange (PKCE) ties an OAuth authorization-code request to a one-time secret created by the client. An intercepted code alone then cannot be exchanged for an access token. Public clients MUST use PKCE; confidential clients are RECOMMENDED to use it. New implementations should use S256, not plain, which exposes the verifier.
When a Phoenix app serves both browser pages and a JSON API, separate request paths and Plug pipelines in the router, keep controllers focused on HTTP input/output, and put data rules in Contexts. Browser requests may need sessions and CSRF protection; API requests often need JSON handling instead. Separate routes do not automatically add authentication or authorization.
A persistent connection lets multiple HTTP request/response exchanges reuse one network connection. HTTP/1.1 uses persistence by default, avoiding repeated TCP setup. It is not a permanent connection or a guarantee that a request will succeed: servers and networks can close connections at any time.
OpenTelemetry (OTel) is an open-source standard and toolkit for generating, collecting, processing, and exporting telemetry such as traces, metrics, and logs. It is not the observability backend that stores data or provides query screens. To get started, decide whether you need code-based or automatic instrumentation, choose the data format and export path, and add a Collector when an intermediate layer fits your needs.
The OpenAPI Specification (OAS) is a standard format for describing an HTTP API’s URLs, operations, inputs, responses, and security so both people and tools can read them. One OpenAPI document can drive documentation, client generation, and contract checks, but writing a specification does not automatically implement a server or make it behave as described. This article uses OAS 3.2.1, the latest published version as of November 18, 2026, to explain how to describe and review one read operation in a single YAML document. If your tools do not support 3.2.1, check which OAS version they support and set the document’s version field accordingly. ([OAS 3.2.1 Specification](https://spec.openapis.org/oas/v3.2.1.html), [official version list](https://spec.openapis.org/oas/))
In OpenAPI, operationId is a string that identifies one operation defined for a path and HTTP method. In OpenAPI Specification (OAS) 3.2.1, it must be unique among every operation described by the API and is case-sensitive. Tools and libraries may use it to identify operations, so include duplicate checks and rename review in your specification workflow.
An OpenAPI linter repeatedly checks both description structure and your team's API design rules. Applying strict rules to a legacy API all at once can create so much noise that teams disable linting. Choose a baseline, tune severity, track exceptions, then apply the gate to new changes in stages. This guide uses Redocly CLI's documented lint command; behavior can vary by tool and ruleset version.
OpenAPI examples make request and response contracts concrete, but schema-ready data and its serialized HTTP representation can differ. In OpenAPI 3.2.1, use dataValue for the data a schema validates, and serializedValue or externalValue for what is sent on the wire. This distinction prevents examples from teaching clients to send the wrong bytes or encoding.
In OpenAPI, discriminator is a hint for choosing among schemas composed with oneOf, anyOf, or allOf. In OAS 3.2.1, propertyName and optional mapping/defaultMapping associate payload values with schemas. The key boundary: discriminator does not change JSON Schema validation. Model the actual payload constraints separately.
An OpenAPI Callback Object describes a later request associated with an initial API request. For example, a client supplies a notification URL in its request and the provider POSTs to it when work is ready. The callback happens because of that initial request. Use the top-level OpenAPI webhooks field to describe provider-initiated events that are independent of another API call.
Offset pagination skips the first N rows of an ordered result and returns a set number of rows. It is easy to expose page numbers, but results can vary without a unique order, and changes between requests can make rows disappear or repeat. Deep offsets can also cost more to compute.
An object-relational mapper (ORM) maps application objects to relational database rows, columns, keys, and relationships so code can read and change data through objects. It can reduce repetitive SQL result mapping and track changes, but it does not remove SQL or database behavior. If you ignore relationship loading, generated SQL, and transaction boundaries, you can create N+1 queries, unexpected writes, or excess memory use.
An OAuth scope is an authorization-server-defined string that describes the access a client requests for an access token. Do not assume the requested scopes were granted unchanged. Request only the minimum privileges needed, check the scope actually granted, and use the resource only within that scope.
Node.js is a cross-platform runtime for JavaScript outside the browser. It suits API servers with many requests waiting on network, file, or database I/O. Its default model uses a small number of threads and an event loop, so long synchronous CPU work in one request can delay others. Using asynchronous APIs alone does not make a server automatically faster.
NGINX selects a server block using the request's listen port and Host name, then selects a matching location to serve a file. For a static site, root maps a URL path to a filesystem path and index chooses the default file for a directory request. This guide gives a minimal setup and checks for serving static files on a Linux package installation. Reverse proxy configuration is a separate topic.
NestJS modules group related controllers and providers into feature boundaries and declare which dependencies other modules can use. Controllers receive HTTP requests; providers such as services hold application work; module metadata registers both with Nest’s dependency-injection container. As a feature grows, design explicit module boundaries rather than only splitting files by role.