openresty / openresty/srcache-nginx-module
[help]About whether a subrequest can be nonblocked
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 486
- Forks
- 101
- Avg merge
- 1h 28m
- Merged PRs (30d)
- 2
Description
Ask the group boss a question about the Nginx subrequest
I learned that a subrequest can be called back to the parent request after successful execution
If One of my primary requests is doing asynchronous calculations, the two compute request tasks are independent of each other, but task 2 depends on the result of task 1.
Can subRequest solve the problem of blocking wait? It's like Java's CompletableFuture.
Since I saw that subRequest seemed to have a callback function, I thought it would work, but just getting started with module development,
thank you
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points and asks whether an Nginx subrequest can coordinate dependent asynchronous tasks. First clarify the intended behavior and whether a code change is requested; completion criteria are not defined in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, nginx
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100