<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Daft question of the day - why lock queues? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Daft-question-of-the-day-why-lock-queues/m-p/48172#M3755</link>
    <description>This is probably a very daft question, but myself and a few other recently appointed developers have been playing around with different architectures, and have been encouraged to lock the queue prior to loading a queue and then reporting.&lt;BR /&gt;&lt;BR /&gt;I'm just wondering specifically why these queue locks need to be put in place? I understand that an item lock should be put in place so that if a process utilises multibotting, only one bot can process one particular item. But we've been able to load a queue with one process whilst another process has drawn something from that queue and processed it successfully without a lock. So where would locks need to be put in place if we're just dealing with a single process accessing a single queue? And why?&lt;BR /&gt;&lt;BR /&gt;Can somebody clarify this for me please?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------</description>
    <pubDate>Tue, 11 Jan 2022 15:27:00 GMT</pubDate>
    <dc:creator>john.hammond</dc:creator>
    <dc:date>2022-01-11T15:27:00Z</dc:date>
    <item>
      <title>Daft question of the day - why lock queues?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Daft-question-of-the-day-why-lock-queues/m-p/48172#M3755</link>
      <description>This is probably a very daft question, but myself and a few other recently appointed developers have been playing around with different architectures, and have been encouraged to lock the queue prior to loading a queue and then reporting.&lt;BR /&gt;&lt;BR /&gt;I'm just wondering specifically why these queue locks need to be put in place? I understand that an item lock should be put in place so that if a process utilises multibotting, only one bot can process one particular item. But we've been able to load a queue with one process whilst another process has drawn something from that queue and processed it successfully without a lock. So where would locks need to be put in place if we're just dealing with a single process accessing a single queue? And why?&lt;BR /&gt;&lt;BR /&gt;Can somebody clarify this for me please?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------</description>
      <pubDate>Tue, 11 Jan 2022 15:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Daft-question-of-the-day-why-lock-queues/m-p/48172#M3755</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2022-01-11T15:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Daft question of the day - why lock queues?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Daft-question-of-the-day-why-lock-queues/m-p/48173#M3756</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1981"&gt;@john.hammond&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;When you say you're being encouraged to "lock the queue" do you mean through the use of the &lt;STRONG&gt;Environment Locking&lt;/STRONG&gt; VBO? The only reason I can think of to try and lock the entire queue is if you had a process that was trying to perform some sort of cleanup or administration of the queue which required it to be stable/consistent (no new adds, completes, deferrals). ​Otherwise, the built-in locking mechanism associated with &lt;EM&gt;&lt;STRONG&gt;Get Next Item&lt;/STRONG&gt;&lt;/EM&gt; should be sufficient IMHO.&lt;BR /&gt;&lt;BR /&gt;Perhaps someone else will chime in and tell me why I'm mistaken. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2022 17:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Daft-question-of-the-day-why-lock-queues/m-p/48173#M3756</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-11T17:07:00Z</dc:date>
    </item>
  </channel>
</rss>

