Tagged With: Cache

C++ Performance: Common Wisdoms and Common “Wisdoms”

May 30, 2016 by “No Bugs” Bunny

C++ Performance: Common Wisdoms and Common “Wisdoms” - Post preview image

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 more

C++ for Games: Performance. Allocations and Data Locality

May 23, 2016 by “No Bugs” Bunny

C++ for Games: Performance. Allocations and Data Locality - Post preview image

Abstract:

Allocations and related lack of spatial locality can be DAMN EXPENSIVE

Quote:

During the times of Ancient Gamers (also known as times of Atari, ZX Spectrum, and Commodore64), CPUs were running at clock speed of a single-MHz (and one operation usually took several clocks). At the same time, memory run at about the speed comparable to that of CPUs.

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and TricksProgramming LanguagesOptimizations

Read more

Server-Side Architecture. Front-End Servers and Client-Side Random Load Balancing

December 28, 2015 by “No Bugs” Bunny

Server-Side Architecture. Front-End Servers and Client-Side Random Load Balancing - Post preview image

Quote:

[about Round-Robin DNS] one of these returned IPs can get cached by a Big Fat DNS server, and then get distributed to many thousands of clients

Another Quote:

As a rule of thumb, Front-End Servers are a Good Thing™

Filed under: Book: D&D of MOGs1st beta of Vol. I-IIIOn.System ArchitectureDistributed systems(Re)Actors

Read more

Server-Side MMO Architecture. Naïve, Web-Based, and Classical Deployment Architectures

December 21, 2015 by “No Bugs” Bunny

Server-Side MMO Architecture. Naïve, Web-Based, and Classical Deployment Architectures - Post preview image

Quote:

If you disrupt the game-event-currently-in-progress for more than 0.5-2 minutes, for almost-any synchronous multi-player game you won't be able to get the same players back, and will need to rollback the game event anyway.

Another Quote:

However, keep in mind, that all fall-tolerant solutions are complicated, costly, and for the games realm I generally consider them as an over-engineering (even by my standards).

Filed under: Book: D&D of MOGs1st beta of Vol. I-IIIOn.System ArchitectureDistributed systems(Re)Actors

Read more