Tagged With: Cache

OLTP DB Optimizations 102 –100% Coherent App-Level Cache for Single-writing-DB-connection

October 10, 2017 by “No Bugs” Bunny

OLTP DB Optimizations 102 –100% Coherent App-Level Cache for Single-writing-DB-connection - Post preview image

Quote:

with our app-level cache, we’re guaranteed to get exactly the same results as if we’d be querying the underlying database.

Another Quote:

why settle for invalidation when we can modify cache accordingly, saving on the extra DB request when we’re dealing with the same USER again?

Filed under: Book: D&D of MOGs1st beta of Vol. VII-IXOn.ProgrammingOptimizations

Tagged With: DatabaseOLTPCache
Read more

#CPPCON2017. Day 2. Why Local Allocators are a Good Thing(tm) Performance-Wise, and Why I am Very Cautious about C++17 STL parallelised algos

September 26, 2017 by “No Bugs” Bunny

#CPPCON2017. Day 2. Why Local Allocators are a Good Thing(tm) Performance-Wise, and Why I am Very Cautious about C++17 STL parallelised algos - Post preview image

At CPPCON2017 Day 2, two talks were of special interest to me. One was a 2-hour talk about Local Allocators – and another about C++17 STL parallelised algorithms. Local Allocators The talk on Local Allocator by John Lakos was brilliant both in terms of content and in terms of presentation (I wish I’d be able to speak […]

Filed under: OtherReports

Read more

The Importance of Back-of-Envelope Estimates

August 8, 2017 by “No Bugs” Bunny

The Importance of Back-of-Envelope Estimates - Post preview image

Quote:

trying to optimize out a 3e-7 performance hit is very rarely worth the trouble.

Another Quote:

With 4S/4U boxes having typical MTBFs of 3–5 years, the next question we should ask ourselves, is “Hey, will we really be able to write software which crashes much more rarely than that?”

Filed under: On.System ArchitectureRequirement analysisDesign decisions

Read more

Scaling Stateful Objects

June 27, 2017 by “No Bugs” Bunny

Scaling Stateful Objects - Post preview image

Quote:

it is DB which is usually The Bottleneck™ – it means that we’re saving this enormous amount of load, exactly where it really matters.

Another Quote:

as discussed above, the real-world task is always about scaling the whole system, including database; and in this regard Stateless-App-based systems exhibit significant problems.

Filed under: Book: D&D of MOGs1st beta of Vol. VII-IXOn.System ArchitectureDistributed systems

Read more