Skip to content

Switching user in jupyter makes /api/metrics slowly #97

@zenglw06

Description

@zenglw06

When I add some users in jupyter, constantly switching users makes the response of /api/metrics slowly.

Suppose there are two users root and jov, I try the following command,

#  default user is jov, now switch to root
sudo su 

# switch to jov
su jov

# switch to root
sudo su
# switch to jov
su jov
...

before switching users, the response time of /api/metrics is 300ms
After switching uses, the response time of /api/metrics is 1600ms.

This is too weird

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions