<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tags/Stress on Emad Alashi</title>
    <link>https://emadashi.com/tags/stress/</link>
    <description>Recent content in Tags/Stress on Emad Alashi</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 12 May 2010 07:16:19 +0000</lastBuildDate>
    <atom:link href="https://emadashi.com/tags/stress/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Stressful Situations Make You Stupid</title>
      <link>https://emadashi.com/2010/05/stressful-situations-make-you-stupid/</link>
      <pubDate>Wed, 12 May 2010 07:16:19 +0000</pubDate>
      <guid>https://emadashi.com/2010/05/stressful-situations-make-you-stupid/</guid>
      <description>&lt;p&gt;Today we came across an interesting issue at work: we have two teams A and B who interchange API calls. Team A needed an API from team B to process a business that is owned by team B of course. The signature was like the following:&lt;/p&gt;
&lt;p&gt;public OutputEntity MyMethod(List listOfIds);&lt;/p&gt;
&lt;p&gt;It appeared afterward that this method was very slow, and the client was already very upset about the low performance, which consequently caused big pressure on the teams by the superiors to enhance the performance.&lt;br&gt;
After investigating the issue, it appeared that the list of ID&amp;rsquo;s sent as input consists of some ID&amp;rsquo;s that do not need to be processed, this criteria of “not need to be processed” is a business owned by team B, done by using properties of the entities these ID&amp;rsquo;s represent. So the  solution to this issue was one of the following:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
