Tagged With: non-blocking
Allocator for (Re)Actors with Optional Kinda-Safety and Relocation
August 15, 2017 by • “No Bugs” Bunny
Quote:
Safe with relocation’ mode will allow us to eliminate dreaded ‘external fragmentation’ – which tends to cause quite a bit of trouble for long-running systems
Another Quote:
For a long while, I have been a strong proponent of message-passing mechanisms over mutex-based thread sync for concurrency purposes
Filed under: On.System Architecture(Re)ActorsOn.ProgrammingOptimizations
Read moreImplementing Queues for Event-Driven Programs
June 13, 2016 by • “No Bugs” Bunny
Quote:
full queues SHOULD NOT happen during normal operation
Another Quote:
With queues-implemented-over-mutexes like the ones we’ve written above, the most annoying thing performance-wise is that there is a chance that the OS’s scheduler can force the preemptive context switch right when the thread-being-preempted-is-owning-our-mutex.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.System Architecture(Re)ActorsOn.ProgrammingTips and Tricks
Read moreC++ Performance: Common Wisdoms and Common “Wisdoms”
May 30, 2016 by • “No Bugs” Bunny
Quote:
over(ab)using C++ features is a different story, we’ll discuss these features below on case-by-case basis
Another Quote:
Compiler will use all its Next-to-Divine Wisdom to show you that it is smarter than you are, and to ignore most of those inline specifications you carefully wrote.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and TricksProgramming LanguagesOptimizations
Read moreMMOG. Point-to-Point Communications and non-blocking RPCs
February 8, 2016 by • “No Bugs” Bunny
Quote:
In other words, you can write your code 'as if' all-your-code-within-the-same-FSM executed within the same thread
Another Quote:
As soon as we have these two parts of processing – we can say that our Server-to-Server communication is tolerant to all kinds of transient inter-server disconnects
Filed under: Book: D&D of MOGs1st beta of Vol. I-IIIOn.System ArchitectureDistributed systemsOn.ProgrammingNetwork Programming
Read more