~/talk

Orleans under the hood

Talkat Dotnetos Conference 2021 · 2021-10-05..10-06· [microservices]
slides:none on file

Orleans presents concrete internals: a C# source generator emits per-method proxy and invokable types, enabling a zero alloc rpc path (ValueTask + pooled awaitables) and a compact serializer that packs field-id deltas into a single tag byte. Techniques include stackable ref structs, JIT-specialized generics, branchless varint encoding, and BenchmarkDotNet + disasm-driven tuning. Production pedigree spans over nine years at Microsoft and the vNext RPC/serialization stack is implemented and benchmarked against MessagePack with comparable throughput and lower allocations.

AI-written summary · about

  1. 0:00Start
  2. 20:39Call into the runtime to locate instantiate the grain, send it a message, and wait for the response. Uses a reusable, pooled awaitable object to signal completion
  3. 43:32Jose Silva Reuben, when do you recommend Orleans and when AKKA- NET? Does Orleans use the Actor Model? Thank you!
  4. 44:35Gareth Hubball How do you manage reads and writes to a single database using Orleans?
  5. 47:54Sandyp RC how orleans handle the connection pool to retrieve data from its state database this will be single connection pool or it will depand as per request? ?
  6. 49:34Jose Silva Reuben, what are the differences between Orleans and Microsoft Dapr?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.