Skip to main content
Contributor ⭐️
Oct 18, 2021 2:05 AM UTC
Question

Same directory for Disk queueing for multiple application

Using the C# SDK, and currently working on setting up gainsight px with disk queueing. Would there be an issue if there are 2 application(different API key) using the same DurableQueueDirectoryName?

How about 1 application with 2 instances running?

    3 replies

    Cornelia
    Contributor ⭐️⭐️⭐️⭐️⭐️
    Oct 18, 2021 9:58 AM UTC

    Hello @aravago, thank you for posting on Community. Passing this along to our Product Manager to be looked into and circle back to you with an answer.

    Translate
    Gainsight Employee ⭐️
    Nov 1, 2021 11:51 AM UTC

    Hi @aravago 
    In both the scenarios, the 2nd different application or the 2nd instance of same single application will not be able to access DurableQueueDirectoryName as its locked with the 1st application or the 1st instance of the 1st application respectively, and will see an exception.

    Translate
    Contributor ⭐️⭐️⭐️
    Jun 22, 2023 10:28 PM UTC

    @Chandu  -- how long are files cached in the durable queue directory? As in: how long do they persist on disk? Is there any limit to how long or how many?

    Translate