Comments (3)
to check:
- https://docs.rs/crossbeam/latest/crossbeam/deque/index.html
- https://docs.rs/rayon/1.6.1/rayon/struct.ThreadPool.html
from log-reporter.
when using tokio spawn_blocking
:
When running many CPU-bound computations, a semaphore or some other synchronization primitive should be used to limit the number of computation executed in parallel.
also:
- https://tokio.rs/tokio/topics/shutdown
- "Waiting for things to finish shutting down"
but also:
When you shut down the executor, it will wait indefinitely for all blocking operations to finish. You can use shutdown_timeout to stop waiting for them after a certain timeout. Be aware that this will still not cancel the tasks — they are simply allowed to keep running after the method returns. It is possible for a blocking task to be cancelled if it has not yet started running, but this is not guaranteed.
from log-reporter.
done in df44226
from log-reporter.
Related Issues (11)
- replace some more patterns in URLs HOT 1
- add request method to title & fingerprint
- add sentry performance tracing
- improve SFID parser with _real_ definition
- use separate threadpool for log-parsing & reporting
- performance: find a way to stream the body into the parser HOT 4
- report R10 (boot timeout) as sentry error HOT 1
- (optionally?) report R12 (exit timeout) to sentry HOT 1
- dyno count metric should report last value between scaling events
- router metrics, add `transaction` / `route` as tag
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 log-reporter.