Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Modern Services with .NET Core 3 and gRPC

Building Modern Services with .NET Core 3 and gRPC

Greg Shackles

January 06, 2020
Tweet

More Decks by Greg Shackles

Other Decks in Technology

Transcript

  1. What Are Worker Services? ▪ Long-running background applications ▪ Some

    examples: – Queue processor – Event stream processor – Timer-based tasks
  2. What is gRPC? ▪ High performance, open source remote procedure

    call framework – Action-centric vs resource-centric ▪ Cross-platform, supported everywhere in many languages ▪ Automatically generate client SDKs from IDL
  3. What is gRPC? ▪ Protocol buffers used for interface definitions

    and serialization – Compact, efficient binary format – Fast serialization and deserialization – Downside: less human-readable ▪ Built on HTTP/2 – Binary framing and compression: more efficient protocol than HTTP 1.x – Multiplexing: stream multiple calls over a single TCP connection – Flow control: prevent senders from overwhelming receivers