/explore
|
You are here |
fgiesen.wordpress.com | ||
| | | | |
paul.bone.id.au
CPU-bound performance often involves CPU caches. So lets dive in to CPU caches, some basics of how they're implemented, how they keep a consistent view... |
|
| | | | | ||
| | | | |
stefansf.de
[AI summary] The provided text discusses the misuse of the `volatile` keyword in C programming and its inability to address concurrency and memory ordering issues. It explains that `volatile` ensures that compiler optimizations do not remove accesses to variables, but it does not guarantee memory visibility or prevent hardware reordering. The text highlights that `volatile` is only suitable for specific use cases like memory-mapped I/O, and that for thread-safe operations, atomic types and memory barriers are necessary. It also covers examples of how `volatile` can lead to incorrect behavior in multi-threaded programs and how C11's memory model and atomic operations provide a more robust solution. |
|
| | | | | ||
| | | | |
surfingcomplexity.blog
My colleagues recently wrote a great post on the Netflix tech blog about a tough performance issue they wrestled with. They ultimately diagnosed the problem as false sharing, which is a performance problem that involves caching. I'm going to take that post and write a simplified version of part of it here, as an exercise... |
|
| | | | | ||
| | | | |
joshclemm.com
[AI summary] An experienced engineer provides a balanced look at the pros and cons of microservices, arguing that teams should start with monoliths and only migrate when scaling becomes difficult. |
|
| | | |||