Processing memory messages

Our memory microservice is responsible for tracking the memory consumption of our apps as well as triggering the garbage collector to free up memory. It will also report the status of that effort. It's up to you as to how you want to enhance the memory microservice to meet your needs; there are countless ways you could do so. But for now, we simply want to acknowledge that we received the message:

bool ProcessMemoryMessage([NotNull] MemoryUpdateMessage msg)
{
Console.WriteLine("Received Memory Update Message");
RILogManager.Default?.SendInformation("Received Memory Update Message");
return true;
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset