HangfireIO / HangfireIO/Hangfire
TCP Retransmissions 1% of the traffic
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
`new Hangfire.SqlServer.SqlServerStorageOptions()
{
CommandBatchMaxTimeout = TimeSpan.FromMinutes(5),
SlidingInvisibilityTimeout = TimeSpan.FromMinutes(5),
QueuePollInterval = TimeSpan.Zero,
UseRecommendedIsolationLevel = true,
DisableGlobalLocks = true
}`
We are running hangfire with 4 instances with and each instance is 4 core machines with the above configurations. So total workers count is 20 (ProcesseorCount *5) .
But we have been experiencing TCP Retransmissions from the SQL instances 1% of the traffics. Have anyone experienced such retrans issues?
Contributor guide
Research direction
Start with the SqlServerStorageOptions configuration shown in the issue and the reported TCP retransmissions between the Hangfire instances and SQL instances. Review the worker count and the listed timeout, polling, isolation, and locking settings, then measure the 1% retransmission rate. Done requires identifying a confirmed cause and concrete change, but the issue provides no failing test or named source file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100