Skip to content

Berreek/JsonSerializationBlockingCalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

JsonSerializationBlockingCalls

This repo contains repro for showing blocking calls (with help of Ben.BlockingDetector) in Kestrel while serializing JSON that is bigger than ~64kb.

Starting application

There are 2 profiles for application to run.

  • One without turning on gzip where you can see blocking calls dotnet run --launch-profile Gzip

  • One with turning on gzip where blocking calls disappear dotnet run --launch-profile NoGzip

Available endpoints

/api/values/{size}

Size define json response size in KB. Avalaible size values:

  • 16
  • 32
  • 64
  • 128
  • 256
  • 1024

About

Show blocking call issue for serializing big JSON responses in Kestrel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages