More tuning the of performance path in StyloBot at the moment.

https://www.mostlylucid.net/blog/stylobot-release-learning

(It's the free, open source bot detection engine I'm building)

This part is about making repeat traffic cheaper to process without turning the cache into a permanent source of wrong answers.

That means boring but important mechanisms:

EWMA updates

hysteresis thresholds

verdict caching

variance watchdogs

bounded memory

refresh sampling

I'm not an ML guy, but a lot of this maps neatly onto ML and control theory ideas once you start writing it down.

The useful pattern is simple enough:

learn from traffic, make the common path faster, keep enough uncertainty in the system that it can recover when the world changes.

The next post in the StyloBot release series is a deep dive into that mechanism.

Very much one for the nerds.

In .NET so...kinda niche...ML / AI ...

https://www.mostlylucid.net/blog/stylobot-release-learning

#dotnet #opensource #aspnetcore #performance #systemsdesign

StyloBot Release Series: Learning to Get Faster (English)

Heads up: this one is for the nerds. It's a deep technical dive into StyloBot's adaptive learning system (EWMA updates, hysteresis thresholds, verdict...

mostlylucid
.NET 11 Preview 4 is now available! - .NET Blog

Find out about the new features in .NET 11 Preview 4 across the .NET runtime, SDK, libraries, ASP.NET Core, .NET MAUI, C#, Entity Framework Core, and more!

.NET Blog

From the .NET blog...

In case you missed it earlier...

.NET 11 Preview 4 is now available!
https://devblogs.microsoft.com/dotnet/dotnet-11-preview-4/ #dotnet #NETMAUI #ASPNETCore #csharp #EntityFramework #NET11 #Featured

✹ Just launched #CodeTrendy → RealMarketAPI

Integrate low-latency OHLC data for stocks, forex, and crypto with developer-friendly

#APIsIntegrations #API #Database #DeveloperExperience #Nextjs #ASPNETCore

https://codetrendy.com/listing/realmarketapi

Modernizing .NET Part 24! 📊
Today we’re implementing modern observability with Prometheus and Grafana.
✅ OpenTelemetry metrics
✅ Runtime health (GC, Threads)
✅ Kubernetes-native monitoring
https://medium.com/@michael.kopt/modernizing-net-part-24-modern-monitoring-with-prometheus-and-grafana-d83647e9737b
#dotnet #csharp #aspnet #aspnetcore #csharp #prometheus #grafana #monitoring
📊 Modernizing .NET — Part 24: Modern Monitoring with Prometheus and Grafana

Master application observability in .NET Core. Learn to implement OpenTelemetry, Prometheus, and Grafana for professional monitoring.

Medium
That while + Task.Delay loop is quietly drifting. This drop swaps in PeriodicTimer to keep background jobs on time and spotlights IdentityServer rate limits, cleaner Minimal APIs, and YARP as a lean gateway. #dotnet #csharp #aspnetcore

.NET drip - Saturday, May 9, 2...
PeriodicTimer: The Async-Friendly Way to Schedule Recurring Work

PeriodicTimer: The Async-Friendly Way to Schedule Recurring Work — plus 9 curated .NET links

.NET Drip

Part 3 of the StyloBot Release Series is up.

https://www.mostlylucid.net/blog/stylobot-release-reliability

This one is less about bots and more about the reality of long-running .NET based systems: everything that learns from traffic eventually accumulates.

Came from one of my periodic reliability reviews where StyloBot’s vector layer had drifted to 13GB on the .NET Large Object Heap due to the wrong abstraction (in-process HNSW behaving like an unbounded cache).

The interesting part wasn’t the fix. It was recognising that the architecture itself was wrong for the runtime pattern.

Covers:

how I periodically review long-running services

using dotnet-counters, dotMemory and dotTrace to find growth

why “just add a cap” is often the wrong answer

replacing unbounded ANN structures with bounded hot caches + compacted persistence

taking the vector layer from 13GB LOH to <6MB

The broader point applies to any system that “remembers”:

bot detection, fraud scoring, recommendations, anomaly detection, RAG pipelines, adaptive systems.

Fix the shape, not the symptom.

#dotnet #aspnetcore #performance #architecture #ai #rag #observability

Finding and Fixing Unbounded Growth in Long-Running .NET Services (English)

Long-running services tend to slowly drift toward unbounded memory. Here's how I find that drift, how I think about fixing it without papering over it, and...

mostlylucid

You've put it off for long enough now...

Read more here:
https://bgh.st/70cmio

#aspnet #aspnetcore #tutorial #beginners

Disable HTTP caching by default in ASP.NET Core APIs - Gérald Barré

Learn why API responses should not be cached by default and how to implement middleware to prevent caching in ASP.NET Core applications.

Meziantou's blog