8000 Thread-safety issues · Issue #73 · aristanetworks/goeapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Thread-safety issues #73
Open
Open
@BirknerAlex

Description

@BirknerAlex

Hi,

I experience issues with that library when running multiple device connections in parallel go routines, I receive results from other devices when calling connection.RunCommands.

Adding a mutex around this solves the issue but comes with some performance downsides. Can you look into that maybe and provide a fix?

See https://github.com/G-PORTAL/switchmgr-go/blob/0deaa46315416a06dc0e2acc5f2a69237ca9e2a2/pkg/vendors/arista_eos/arista.go for implementation with mutex as workaround.

Thank you!

Regards
Alex

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

      0