Comments (6)
fixed (or better, 'improved') in 1.9
from uwsgi.
[pid: 16500|app: 0|req: -1/1] 172.16.110.48 () {28 vars in 355 bytes} [Fri Feb 8 21:45:48 2013] GET /bigfile => generated 536870912 bytes in 0 msecs via offload() (HTTP/1.1 200) 2 headers in 92 bytes (0 switches on core 0)
I'm getting proper HTTP status code, but message is logged immediately and shows 0 msecs, shouldn't this be logged by offload thread itself once it finishes sending file?
Not a big issue but request duration is lost in logs this way.
from uwsgi.
To have proper time reporting for offloaded request, we would have to:
a) move logging to sendfile functions in core/offload.c
b) add callback support to offload function and add log callbacks if requests are offloaded
c) some other/better way
it's very very unimportant for me
from uwsgi.
I've created new milestone "Future Ideas" to track such feature requests
from uwsgi.
This is an interesting problem, as offloading is becaming present in more and more areas. For proxy offloaders (http, uwsgi) the backend node will log normally, so the information is not lost. Response offloaders (cache, and the new 'offload' transformation) refers only to data transfer time (as well as sendfile()), so we need to evaluate if such information is relevant (considering kernel buffering all over the place) to a level needing a new logging category.
from uwsgi.
I don't care for upload time for static files so let's close it
from uwsgi.
Related Issues (20)
- CVE-2024-24795 HOT 1
- uwsgi provides false debugging information
- Enable debugging in vscode (uwsgi and flask) HOT 3
- Integrate uwsgi with fastapi HOT 1
- BUG: flaky exit-code when using need-app and lazy-apps flags together(+FIX) HOT 3
- uWSGI build error - GCC 13 on Ubuntu 24.04 HOT 1
- uWSGI Segmentation Fault When Running with New Relic HOT 2
- Multiple HTTP sockets with map-socket: the second HTTP socket is very slow
- `ENOSYS` error in `pthread_mutexattr_setprotocol` for alpine based images
- uwsgi fails to compile with Python 3.13 HOT 2
- Errors that occur when uwsgi is running at high concurrency
- Graceful reload|shutdown doesn't work when no requests coming
- gracefully_kill_them_all is invalid.
- Need help to understand what causes memory to be allocated HOT 2
- pyuwsgi + enable-threads + python3.12: workers do not recover after a reload HOT 11
- upgrading from 2.0.24 to 2.0.25.1 results in slow chain reload
- Failed to build installable wheels for some pyproject.toml based projects (uwsgi)
- Flask py-autoreload stopped working on version 2.0.26
- uwsgi + mod_apache_uwsgi + php plugin: issue with absolute PATH_INFO? HOT 2
- Signal a reload to the workers
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 uwsgi.