backend design in the mechanical sympathy way

1, cache
cache line
fasle sharing
2, CPU
serialization
interface invoking
encoding
procesor affinity
 
3, memory
memory barries / fences
memory access pattern is important
4, GC
garbage collector selection
5, IO
write combine
single writter
smart batching
sequential IO
6, lock-based / lock free
CAS
7, back pressure when overloaded

猜你喜欢

转载自bruce008.iteye.com/blog/2382104
way