<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>pessimistic locking</title><link>https://community.appian.com/discussions/f/best-practices/40366/pessimistic-locking</link><description>I am considering implementing pessimistic locking in Appian. However, I have heard that pessimistic locking can potentially degrade performance because it restricts concurrency. 
 In practice, how much impact does pessimistic locking typically have on</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: pessimistic locking</title><link>https://community.appian.com/thread/154380?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2026 13:45:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ca1a234-0967-423e-89bd-fd9a61ddefc2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is entirely context dependent.&amp;nbsp; What are you hoping to implement this on?&lt;/p&gt;
&lt;p&gt;For instance, I&amp;#39;ve implemented this before to do database-backed faux-group-tasks - as in, when a user sees a &amp;quot;task list&amp;quot; that&amp;#39;s really queried from a DB where you control who sees the &amp;quot;task names&amp;quot; via whatever databse-backed controls you devise, and clicking the link (instead of actually opening a running task) launches a process that then freshly invokes the actual task.&amp;nbsp; After clicking, a quick DB query establishes that nobody else has opened it yet, and if not, a quick write is made to soft-assign it to that user.&amp;nbsp; If someone else had opened it, the user is routed to a &amp;quot;fallback&amp;quot; task telling them someone has opened it already.&lt;/p&gt;
&lt;p&gt;As long as this is well thought out, and conscientiously designed, the &amp;quot;performance impact&amp;quot; is essentially nothing.&amp;nbsp; It works so quickly that users wouldn&amp;#39;t notice any difference even under stress testing conditions, IIRC.&lt;/p&gt;
&lt;p&gt;But if your use case is something far removed from this (which I have no way of knowing since you didn&amp;#39;t really specify), then I can&amp;#39;t really speak to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pessimistic locking</title><link>https://community.appian.com/thread/154378?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2026 12:12:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:578d34ab-0294-46bd-893a-cbe9a3696cc1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Well, if you need locking, the impact is a consequence of that decision.&lt;/p&gt;
&lt;p&gt;My first question would be more like,&amp;nbsp;why do you think you would need locking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>