Skip to content

Review hub management implementation #1495

Activity

  1. self-assigned this
    on Jul 2, 2021
  2. changed the title [-]Review state management implementation[/-] [+]Review hub management implementation[/+] on Jul 2, 2021
  3. singpolyma commented on Aug 4, 2021

    @singpolyma

    Found this because I was reviewing the code and surprised to see a thread local variable used. I would expect each Fiber, as a separate logical context and stack, to have a different hub, but I see this was done to solve some bug related to the way Rails uses Fibers? So maybe it needs to be an option...

  4. added this to the 5.0.0 milestone on Aug 6, 2021
  5. st0012 commented on Aug 6, 2021

    @st0012
    ContributorAuthor

    @singpolyma I'd like to give each fiber its own hub as well. But as long as users still use thread as a minimum concurrency unit instead of Fiber, it'll cause issues like #1374.

    As for adding a fiber-based option, I don't plan to do that right now. But I'll revisit this issue when we start the implementation for version 5.0.

  6. github-actions commented on Oct 28, 2021

    @github-actions
    Contributor

    This issue has gone three weeks without activity. In another week, I will close it.

    But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


    "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

  7. modified the milestones: 5.0.0, 6.0.0 on Jan 7, 2022
  8. sl0thentr0py commented on Jan 8, 2024

    @sl0thentr0py
    Member

    we should revisit this when we implement the new hub-free scope system.
    fwiw, opentelemtry itself uses a fiber local, if I understand correctly

    https://github.com/open-telemetry/opentelemetry-ruby/blob/ff9a7d3af31ad83ed6e07445a9e1609bec53d779/api/lib/opentelemetry/context.rb#L126-L128

  9. 11 remaining items

  10. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Feb 25, 2025
  11. removed this from the 6.0.0 milestone on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions