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

Coroutine Local baggages for Lua #1

Open
vaastav opened this issue Jun 3, 2019 · 0 comments
Open

Coroutine Local baggages for Lua #1

vaastav opened this issue Jun 3, 2019 · 0 comments

Comments

@vaastav
Copy link
Collaborator

vaastav commented Jun 3, 2019

Currently there is no way of specifying baggages local to a specific coroutine in lua. This would be nice to have especially for Lua servers that launch a new coroutine to handle/process a new request.

I am not sure what the best way of implementing this is. Maybe keeping a map of coroutine to baggages and having each Xtrace request pass the id of the coroutine as a parameter into the C++ side could solve this. This would mean we would need to support multiple baggages inside a single thread but there doesn't seem to be any other alternative

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