Skip to content

✨ Web API | DbContext pool #1161

Description

@jernejk

Cc: @vladislav-kir, @sethdaily

Hi @adamcogan,

Pain

Currently, DbContext is initialized for each web request which can put a lot of stress on SQL Server when under load. This could

Suggested Solution

Adding DbContextPool can improve the system's stability and reliability in the long run with fairly little effort.

Tasks

  • Update to DbContextPool
  • Verify that current DbContext will work correctly when pooled.

Acceptance Criteria

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality.

    Fields

    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions