Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-17766] undertow access log graceful termination #374

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

baranowb
Copy link
Contributor

@baranowb baranowb commented Feb 16, 2021

Copy link
Contributor

@darranl darranl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adjust the filename of the proposal and the title of the PR to use WFLY-13933 and not EAP7-1642

The proposals are a public project so we should be using the community issues as the primary reference.

@baranowb baranowb changed the title [EAP7-1642] undertow access log graceful termination [WFLY-13933] undertow access log graceful termination Feb 1, 2022
@baranowb baranowb changed the title [WFLY-13933] undertow access log graceful termination [WFLY-17766] undertow access log graceful termination Mar 13, 2024
@baranowb
Copy link
Contributor Author

tmp update until process stuff will be sorted out.

Copy link
Contributor

@fl4via fl4via left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some questions that need to be discussed.

- number of retries between NIO worker state polls
- interim period

NOTE: fix also slightly change how access log is being rotated. Previously it has been done on every write OP, which incured overhead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incurred

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Async close will wait till aloted time( with interim checks ) runs off to take over agressively write OPs or until NIO worker yield. As is, in fix number of interim checks and wait period is fixed(interim_period*number_of_retries).

RFE commits add changes to model and services in order to allow configuration of:
- number of retries between NIO worker state polls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really want to configure the number of retries, or just the maximum amount of delay here will be enough to server users? What I would like to know if there is a specific case where the final user might want to tweak the number of retries. Maybe we should come up with an algorithm that infers the number of retries based on the amount of delay that was configured.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Granularity? GIves users better control.

@baranowb baranowb force-pushed the EAP7-1642 branch 2 times, most recently from 4f9b81b to 7dbbc55 Compare May 20, 2024 11:57
Copy link

@PrarthonaPaul PrarthonaPaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @baranowb
I have added some comments.
Please feel free to let me know if you have any questions :)

undertow/WFLY-17766_AccessLog_Termination.adoc Outdated Show resolved Hide resolved
@PrarthonaPaul
Copy link

Looks good to me! Thanks @baranowb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants