golovach-ivan / jvm-concurrency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intergation examples

  • Socks5 Proxy-server
  • HTTP Proxy Rotation Cache

JMM

  • "Good, Bad and Ugly"
  • NewJMM vs JMM9, VarHandle, final

Architectures

  • locks-and-threads
  • actors
  • transactional memory

Java Concurrency Patterns

  • single instance
    • Singleton, DCL
  • queues: 1 × 1, N × 1, 1 × M, N × M
  • data structures: B-tree

JVM Concurrency API

  • jdk
    • j.u.c
    • AQS Framework
    • F/J
    • Parallel Streams
  • scala
  • clojure
  • real-time collections

Sceletons/Frameworks

  • Disruptor
  • NIO/NIO.2

Phisical Layer

Network Layer

  • Zero-copy

Memory Layer

  • Offheap memory
  • What every CS shoul know about memory
  • Intel architectures
  • Cache hierarchy, cache coherence protocol
  • Memory consistency models
    • Program Order
    • Sequential Consistency Lamport 79
    • Strict Consistency (Linearisability)
    • TSO
    • x86/64 = TSO + (Total Lock Order & Casual Consistency)

Storage Layer

Libraries

  • Netty
  • Akka
  • Spring Reactor

Tools

  • Gutling
  • JMH
  • JCStress

R&D

  • Quasar

About

License:Apache License 2.0