All fields

“Microservices & Distributed Architecture Patterns” in Information Technology

27 questions across 2 technologies.

Information Technology

27 questions in 2 technologies

#QuestionTechnologyTopicLevel
1What is the Saga pattern, and how does it manage distributed transactions across multiple Node.js microservices? Node.js › Architecture & Design PatternsNode.jsArchitecture & Design PatternsAdvanced
2How does distributed data ownership work in microservices -- specifically, why shouldn't multiple services share direct access to the same database? Node.js › Microservices Architecture with Node.jsNode.jsMicroservices Architecture with Node.jsAdvanced
3How do you configure and use Redis as a distributed cache in ASP.NET Core with StackExchange.Redis? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
4What is IDistributedCache, and how does it differ from IMemoryCache in a multi-instance deployment? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
5How does Redis's data structure support (beyond simple key-value) enable caching patterns not possible with IMemoryCache? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
6How do you handle cache serialization for complex objects when using IDistributedCache, given it only natively supports byte[]? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
7How does distributed tracing correlate a single logical request across multiple microservices, and what is a 'trace context' propagated between them? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceAdvanced
8How would you implement distributed tracing across multiple Node.js microservices using OpenTelemetry? Node.js › Logging & MonitoringNode.jsLogging & MonitoringAdvanced
9How does CORS interact with a reverse proxy or API gateway sitting in front of multiple backend microservices? .NET › CORS & Cross-Origin Resource Sharing.NETCORS & Cross-Origin Resource SharingAdvanced
10How do you handle authentication for gRPC calls, and how does it differ from typical REST API authentication patterns? .NET › gRPC Services.NETgRPC ServicesAdvanced
11What is gRPC, and how does it differ from a traditional REST/JSON API? .NET › gRPC Services.NETgRPC ServicesBeginner
12What is the OAuth 2.0 Client Credentials flow, and when is it used instead of the Authorization Code flow? .NET › Authentication & Authorization (Identity, JWT, OAuth).NETAuthentication & Authorization (Identity, JWT, OAuth)Intermediate
13How do feature flags decouple code deployment from feature release in a CI/CD workflow? .NET › CI/CD, Publishing & Deployment.NETCI/CD, Publishing & DeploymentIntermediate
14What is Application Insights (or OpenTelemetry) integration, and what value does it add over basic logging? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceIntermediate
15How would you version a gRPC service's contract while maintaining backward compatibility with existing clients? .NET › gRPC Services.NETgRPC ServicesIntermediate
16How does client-side load balancing work for gRPC when calling a service with multiple backend instances, without a dedicated load balancer? .NET › gRPC Services.NETgRPC ServicesIntermediate
17What migration strategies exist for gradually moving a large .NET Framework application to modern .NET rather than a big-bang rewrite? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkAdvanced
18What are the trade-offs of versioning an entire API at once (global versioning) versus versioning individual endpoints independently? .NET › API Versioning.NETAPI VersioningAdvanced
19How does API versioning strategy differ for internal microservice-to-microservice APIs versus public-facing external APIs? .NET › API Versioning.NETAPI VersioningAdvanced
20What is the difference between blue-green deployment and canary deployment, and how do they apply to .NET applications? .NET › CI/CD, Publishing & Deployment.NETCI/CD, Publishing & DeploymentAdvanced
21How does GitOps (e.g., using Flux or ArgoCD with Kubernetes) change the deployment model compared to traditional push-based CI/CD pipelines? .NET › CI/CD, Publishing & Deployment.NETCI/CD, Publishing & DeploymentAdvanced
22How would you design configuration for a multi-tenant application where each tenant needs different settings resolved at runtime? .NET › Configuration & Options.NETConfiguration & OptionsAdvanced
23How do EventCounters and the newer System.Diagnostics.Metrics API (Meter) let you expose custom application-specific performance metrics? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceAdvanced
24What is .NET Aspire, and how does it improve the local development and orchestration experience for cloud-native, multi-service .NET applications? .NET › Docker & Containerization.NETDocker & ContainerizationAdvanced
25How does the Generic Host support hosting multiple independent hosted services with different failure isolation needs? .NET › Generic Host.NETGeneric HostAdvanced
26How does gRPC's use of HTTP/2 multiplexing provide performance advantages over HTTP/1.1-based REST APIs? .NET › gRPC Services.NETgRPC ServicesAdvanced
27How do you configure deadlines and cancellation for gRPC calls, and how does this differ from typical HTTP request timeouts? .NET › gRPC Services.NETgRPC ServicesAdvanced