You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
Thank you for taking the time to answer my question! I will delete my question because I gained a lot of insight into what's going on and how to write a much more insightful question. Sorry that this answer will probably go to waste (my new question will refute each and every point in this answer, so if you want to read about it, stay tuned, probably next week). Well, it seems like I cannot delete it. But either way, I would like to make great amendments to it. I guess I should ask mods for that.Incomputable– Incomputable2021-11-16 16:54:42 +00:00Commented Nov 16, 2021 at 16:54
-
5@Incomputable I don't see any reason to delete this. If you have this question, someone else will surely have it too. You can ask another question regardless.JimmyJames– JimmyJames2021-11-16 18:12:23 +00:00Commented Nov 16, 2021 at 18:12
-
1in asynchronous model worker threads "manually" switch contexts much more often than in thread-per-request/thread-per-connection, so in asynchronous model there are way more cache misses and invalidations, thus the facts you pointed are against the asynchronous model. Furthermore, there's nothing that stops us from maintaining a thread-pool in thread-per-request/connection model as well to avoid frequent thread creation/destruction: just the maximum limit should be much bigger.morgwai– morgwai2021-11-17 19:47:57 +00:00Commented Nov 17, 2021 at 19:47
-
@morgwai Can you provide some docs/evidence of increased cache misses?JimmyJames– JimmyJames2021-11-17 19:55:57 +00:00Commented Nov 17, 2021 at 19:55
-
2I would be honestly astonished if a single thread running coroutines had more cache misses than multiple threads context-switching. The coroutines would have to be as heavy-weight as a thread execution context for this to seem plausible. I guess there are corner cases like each coroutine fills L1 and they never share any memory ...Useless– Useless2021-11-17 20:08:00 +00:00Commented Nov 17, 2021 at 20:08
|
Show 3 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you