What is mass assignment?
Mass assignment happens when client input is bound directly to sensitive model fields, allowing changes such as role or owner
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 2029–2040 of 3610 questions
Mass assignment happens when client input is bound directly to sensitive model fields, allowing changes such as role or owner
Optimistic locking detects conflicts on update and suits lower contention
Pool size depends on database capacity, concurrency, query duration, and replica count
Use bounded executors and queues, request deadlines, admission control, and predictable overload rejection
Track heap after garbage collection, inspect allocations, capture a protected heap dump, and identify unexpectedly retained objects
Measure startup first, then reduce unnecessary bean creation, auto-configuration, and blocking initialization
Tenancy can use shared tables with tenant keys, schema-per-tenant, or database-per-tenant
Distributed tracing links spans across services using trace context, helping locate latency and failures
Blue-green switches traffic between two environments and supports fast rollback if data changes are compatible
Package the application in a minimal supported runtime image, use a non-root user, externalize configuration, and avoid secrets in image layers
Liveness determines whether a process should restart; readiness determines whether it should receive traffic
Clean architecture keeps domain rules and use cases independent of infrastructure details