Replace Task with ValueTask in frequently-called async methods that often complete synchronously.
Category: Emerging Technologies
Emerging technologies include a variety of technologies such as educational technology, information technology, nanotechnology, biotechnology, cognitive science, psychotechnology, robotics, and artificial intelligence.
Tips and Tricks #34: Leverage ArrayPool for Temporary Buffer Reuse
Rent and return arrays from a shared pool to avoid repeated allocations in buffer-heavy code.
Tips and Tricks #33: Use Span for Zero-Allocation String Parsing
Eliminate heap allocations when parsing strings by using Span
Tips and Tricks #32: Implement Retry Logic for LLM API Calls
Handle rate limits and transient failures gracefully with exponential backoff.
AWS Bedrock: Building Enterprise Generative AI Applications on AWS
AWS re:Invent 2024 brought significant updates to Amazon Bedrock, and after spending the past month integrating these capabilities into production systems, I want to share […]
Tips and Tricks #31: Cache LLM Responses for Cost Reduction
Implement semantic caching to avoid redundant LLM calls and reduce API costs.