http-rs / http-rs/async-h1

Cache `Date` timestamps up to the minute

Open
#160 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
166
Forks
49
PR merge metrics
No merged PRs in 30d

Description

As pointed out by @Fishrock123 in https://github.com/http-rs/async-h1/pull/158/files#r530051517, Node.js caches timestamps for a minute, making it much easier to handle requests at a high volume. We should consider adopting this approach as well.

Contributor guide

Open the contributing guide

Research direction

Start with the discussion on pull request 158 and trace where Date timestamps are generated in async-h1. The work is done when timestamp generation uses minute-level caching without changing the resulting HTTP date behavior; verify the existing relevant checks or benchmarks if the repository provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.