Ayush Poddar's Wiki

      • Business
      • Financial philosophies and lessons
      • Investments and Personal Finance
      • Taxation
      • Documentation on some tools
      • Events, anecdotes and facts
      • Life Philosophies
      • Politics, governance and legals
      • Productivity
      • Climate change
      • High level designs - Software Systems
      • Industrial production
      • Software engineering

    How to get the Puma worker index within a rails index

    Dec 16, 20241 min read

    ObjectSpace.each_object(Puma::Cluster::Worker) { |x| p x.index }

    This command will print the index of the puma worker being used.

    Sources

    • https://stackoverflow.com/q/73504190

    Graph View

    Backlinks

    • Software engineering

    Created with Quartz v4.4.0 © 2024

    • GitHub
    • Discord Community