Comments (3)
우와 만연체 재미있습니다 ㅎㅎㅋㅋ
blocking queue 보다 non-blocking queue가 더 좋을 때는 언제일까요,,?
from yyu-nim.github.io.
개인적인 생각은, 두 queue를 1개씩 두고 직접 비교를 하면 큰 차이점이 없을 수도 있겠는데 (blocking queue 구현은 "non-blocking queue + conditional wait" 으로 되는 경우도 많을 것 같아서), queue가 여러개 있는 경우 (e.g., event queue, io queue, ...), non blocking queue 를 써서 single thread로도 효과적인/쉬운 multiplexing이 가능해지는 것을 꼽을 수 있지 않을지 생각합니다 ㅎ 특히 병렬성이 높아질수록 (혹은 시스템의 로드가 클수록) non blocking queue로 context switch overhead 등을 최소화하여 부수적으로 성능 이득을 얻을 수 있지 않을까 예상합니다 ㅎ
from yyu-nim.github.io.
아하 의견 주셔서 감사합니다!! single therad로도 효과적인/쉬운 multiplexing은 큰 장점일 것 같습니다 ㅎㅎ multithread에서는 큰 차이가 없을 수도 있겠군요 ㅎㅎ
from yyu-nim.github.io.
Related Issues (20)
- Installing on mac m1
- Load error: cannot load such file HOT 1
- https://yyu-nim.github.io/actix/rust/recipient/actor/2022/07/31/actix-recipient-usage.html HOT 5
- https://yyu-nim.github.io/actix/rust/actor/service/registry/2022/07/31/actix-registry-example.html HOT 4
- https://yyu-nim.github.io/crossbeam/rust/2022/07/21/crossbeam-workstealing-2.html HOT 3
- https://yyu-nim.github.io/actix/rust/actor/weak/address/2022/08/14/actix-weak-address.html HOT 2
- https://yyu-nim.github.io/actix/rust/crossbeam/coordination/2022/08/14/crossbeam-waitgroup.html HOT 1
- https://yyu-nim.github.io/actix/rust/crossbeam/shardedlock/2022/08/15/crossbeam-shardedlock.html HOT 1
- https://yyu-nim.github.io/rust/crossbeam/mpmc/channel/k8s/2022/08/18/crossbeam-mpmc-channel.html HOT 1
- https://yyu-nim.github.io/rust/dashmap/concurrent/hashmap/2022/08/28/dashmap-counters.html HOT 1
- https://yyu-nim.github.io/rust/lazy_static/event/crossbeam/2022/09/23/crossbeam-event-channel.html HOT 2
- https://yyu-nim.github.io/rust/lazy_static/async_once/2022/09/25/lazy-static-async-init.html HOT 1
- https://yyu-nim.github.io/rust/diesel/facebook/tectonic/2022/10/03/diesel-mini-tectonic-1.html HOT 1
- https://yyu-nim.github.io/rust/diesel/facebook/tectonic/metadata/name/2022/10/09/diesel-mini-tectonic-2.html HOT 1
- https://yyu-nim.github.io/rust/lldb/debugging/2022/12/04/lldb-programmatic-debugging.html HOT 3
- https://yyu-nim.github.io/rust/nvmf/chatgpt/2023/03/18/nvmf-1-intro.html HOT 1
- https://yyu-nim.github.io/rust/nvmf/chatgpt/read/write/command/2023/03/21/nvmf-3-readwrite.html HOT 2
- https://yyu-nim.github.io/rust/crossbeam/chatgpt/nvmf/k8s/manifest/2023/03/26/nvmf-7-k8s-manifest.html HOT 1
- https://yyu-nim.github.io/rust/crossbeam/chatgpt/parker/tcp/2023/03/25/crossbeam-parker-tcp-chatgpt.html HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yyu-nim.github.io.