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

Rank priority function in StorePutKey #75

Open
hdavid16 opened this issue Sep 8, 2021 · 0 comments
Open

Rank priority function in StorePutKey #75

hdavid16 opened this issue Sep 8, 2021 · 0 comments

Comments

@hdavid16
Copy link
Member

hdavid16 commented Sep 8, 2021

Hi @BenLauwens,

How much work would it take for the priory of a Put object to be dynamic? This would allow implementing age based scheduling policies in a queue with preemption (https://ziv.codes/pdf/sigmetrics2018-scully.pdf). This way, the priority would be a function where the priority changes over time. Since we only track time at event boundaries, I'm thinking this approach may not be possible. Let me know what you think.

Thanks

hdavid16 added a commit to hdavid16/SimJulia.jl that referenced this issue Oct 27, 2021
Extended the store and container objects so that priorities are not restricted to being integers.
This is a more general expression of priority which may make it easier at some point to use rank functions (JuliaDynamics#75).
This also avoids having to normalize (and sometimes scaling) priorities so that they are integer in queueing systems.
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

No branches or pull requests

1 participant