<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>What is the algorithm for leaky bucket Algorithm by Ayu Latip</title>
      <link>https://padlet.com/hairul_ayu/week9</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2018-04-17 10:47:45 UTC</pubDate>
      <lastBuildDate>2023-04-05 17:30:29 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Awadh</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252503940</link>
         <description><![CDATA[<div>Initialize a start clock =0.<br>Initialize queue.<br>Initialize buffer.<br>Initialize packet size.<br><br>buffer<br>- if buffer isn't full,&nbsp;<br><br>-If queue is not full and packet size is less than or equal to available queue size, push to queue and forward a new packet to destination.&nbsp;<br>-Else hold incoming packet in buffer<br>Else drop packet<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 10:56:46 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252503940</guid>
      </item>
      <item>
         <title>Aiman</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252504677</link>
         <description><![CDATA[<div><br>A simple leacky bucket algorithm use FIFO queue.<br>The following is an algorithm for variable-length packets:<br><br></div><ol><li>Initialize a counter to n at the tick of the clock.</li><li>If n is greater than the size of the packet, send the packet and decrement the counter by the packet size. Repeat this step until n is smaller than the packet size.</li><li>Reset the counter and go to step 1.</li></ol><div><strong>Example:<br>Let </strong>n=1000<br>Packet=<a href="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-1.png"><figure class="attachment attachment--preview" data-trix-attachment="{&quot;contentType&quot;:&quot;image&quot;,&quot;height&quot;:37,&quot;url&quot;:&quot;https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-1.png&quot;,&quot;width&quot;:272}" data-trix-content-type="image"><img src="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-1.png" width="272" height="37"><figcaption class="attachment__caption"></figcaption></figure></a><br>Since n&gt; front of Queue i.e. n&gt;200<br>Therefore, n=1000-200=800<br>Packet size of 200 is sent to the network.<br><a href="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-2.png"><figure class="attachment attachment--preview" data-trix-attachment="{&quot;contentType&quot;:&quot;image&quot;,&quot;height&quot;:57,&quot;url&quot;:&quot;https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-2.png&quot;,&quot;width&quot;:263}" data-trix-content-type="image"><img src="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-2.png" width="263" height="57"><figcaption class="attachment__caption"></figcaption></figure></a><br>Now Again n&gt;front of the queue i.e. n &gt; 400<br>Therefore, n=800-400=400<br>Packet size of 400 is sent to the network.<br><a href="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-3.png"><figure class="attachment attachment--preview" data-trix-attachment="{&quot;contentType&quot;:&quot;image&quot;,&quot;height&quot;:54,&quot;url&quot;:&quot;https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-3.png&quot;,&quot;width&quot;:224}" data-trix-content-type="image"><img src="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-3.png" width="224" height="54"><figcaption class="attachment__caption"></figcaption></figure></a><br>Since n&lt; front of queue Therefore, the procedure is stop.&nbsp;<br> If the queue is full then it is discharge/stop/hold for next counter. Else the procedure continue until n is smaller than packet size.<br><br>And we initialize n=1000 on another tick of clock.<br>This procedure is repeated until all the packets are sent to the network.</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 10:59:32 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252504677</guid>
      </item>
      <item>
         <title>Ahmed Hasan Haneen</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252506218</link>
         <description><![CDATA[<div> Algorithm <br>Step - 1 : Initialize the counter to ‘n’ at every tick of clock.<br> Step - 2 : If n is greater than the size of packet in the front of queue send the packet into the network and decrement the counter by size of packet. Repeat the step until n is less than the size of packet.<br> Step - 3 : Reset the counter and go to Step - 1. <br>Step - 4 : Since N&lt; front of Queue<br>Therefore, the procedure is stop.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:06:48 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252506218</guid>
      </item>
      <item>
         <title>Huwaina</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252507636</link>
         <description><![CDATA[<div>Step 1 - Initialize the 'n' size at each clock<br>Step 2 - Compare the n size with the packet size which is in front of queue.<br>Step 3 - If the n size is greater than packet size, then send the packet to the network.<br>Step 4 - The step is continuously repeated from step 2 to step 3 until the n size is lower than current packet size.<br>Step 5 - The process is stop.</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:12:26 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252507636</guid>
      </item>
      <item>
         <title>aws</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252508827</link>
         <description><![CDATA[<div>&nbsp;&nbsp;</div><div>An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem, based on conductiong a sequence of specified actions. A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem&nbsp;<br><br></div><div>At the arrival of the first packet, the content of the bucket is set to zero and the last&nbsp;<br><br></div><div>conforming time (LCT) is set to the arrival time of the first packet.  The depth of the bucket is L+I, where l depends on the traffic burstiness. At the arrival of the kth packet, the auxiliary variable X’ records the difference between the bucket content at the arrival of the last conforming packet and the interarrival time between the last conforming packet and the kth packet.  If the auxiliary variable is greater than L, the packet is considered as nonconforming,otherwise the packet is conforming. The bucket content and the arrival time of the packet are then updated.&nbsp;<br><br></div><div>&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:17:18 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252508827</guid>
      </item>
      <item>
         <title>Mazin</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252509372</link>
         <description><![CDATA[<div>1. initialize the counter to (N) at every tick of clock .<br>2. if (N) is greater than size of packet in front of queue send the packet into network and decrements the counter by&nbsp; size of packet . repeat the step until (N) is less than size of packet .<br>3. reset the counter and go to step 1 .<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:19:24 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252509372</guid>
      </item>
      <item>
         <title>Aliyu</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252509554</link>
         <description><![CDATA[<div> </div><div> </div><div>Consider buffert size of 1000. The queued packets are as follows 200, 800, 450, 400, 200. In step 1, the bucket size is greater than packet size (1000&gt;200). Remaining bucket size will be 800 (1000-200). In step 2, the bucket size is greater than packet size (800&gt;400). Remaining buffer size will be 400 (800-400). In step 3, the bucket size is smaller than packet size (400&lt;450). The process stopped. The remaining packets will be dropped. In leaky bucket algorithm, Adjustable bucket size and flow rate decreases the number of packets dropped in the network.&gt;&lt;450) <br><br></div><div>The process stopped. The remaining packets will be dropped. In leaky bucket algorithm, Adjustable buffer size and flow rate decreases the number of packets dropped in the network. <br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:19:59 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252509554</guid>
      </item>
      <item>
         <title>Ahmed Swara</title>
         <author>ahmedalfaris2012</author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252510315</link>
         <description><![CDATA[<div>leaky bucket algorithm<br>[1] Set the counter&nbsp;<br>[2] wait for the clock tick&nbsp;<br>[3] size of the frame at the front of queue less than or equal to the value of the counter&nbsp;<br>[4] if yes , send it to frame&nbsp;<br>&amp; Decrement the counter <br>else&nbsp;<br>[5] Rest the counter&nbsp;<br><br><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/271443498/f8ef7cd7b7ccb5be9d5fe1c78ff25286/Flowchart_for_Leaky_Bucket_Algorithm.jpg" />
         <pubDate>2018-04-17 11:22:51 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252510315</guid>
      </item>
      <item>
         <title>Al shathir Ali Hasan</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252510637</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/280435704/e9bca358efe9561b6f670a1cd7a8ccff/Screenshot_20180417_192100.png" />
         <pubDate>2018-04-17 11:24:01 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252510637</guid>
      </item>
      <item>
         <title>Ba Amadou </title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252511153</link>
         <description><![CDATA[<div>&nbsp;Incoming Packet to the buffer initialize as n at constant time<br><br>Check if buffer full&nbsp;<br>&nbsp; Discard<br><br>Else Check status of the queue<br><br>if the queue is able to receive packets push the holded packets in buffer to the queue<br>Then send to destination<br><br>Else Hold packets until the available Slot in the queue can accept the size of the 1st packet waiting in the buffer<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:25:42 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252511153</guid>
      </item>
      <item>
         <title>Nad</title>
         <author>dilanaddy</author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252511282</link>
         <description><![CDATA[<div>1.Initialize packet<br>2.Receive a frame<br>3.Define incoming time&nbsp;<br>4.Fill the frame with the token<br>5.Decide the token quantity<br>6.check the packet store<br>7.if have an error, than go to the end<br>8.if no error and all true, create packet transmission request.<br>9.send the packet to destination</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:26:09 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252511282</guid>
      </item>
      <item>
         <title>Bakr</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252511406</link>
         <description><![CDATA[<div>1- initialize the counter to n at every tick of clock<br>2-if n is greater than the size of packet in the front of queue send the packet into the network and decrement the counter by size of packet <br>Repeat the step until n is less than the size of packet<br>3- reset the counter and go to step 1</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:26:37 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252511406</guid>
      </item>
      <item>
         <title>O</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252511732</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:27:46 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252511732</guid>
      </item>
      <item>
         <title>MUZZAMMIL MANSUR</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252513631</link>
         <description><![CDATA[<div>1.       The leaky bucket takes data and</div><div>2.       If the buffer is not full collects the data</div><div>3.       If the buffer is full then drop the packet</div><div>4.        Data in the buffer is only released from the buffer at a set rate and size of packet. </div><div>5.       When the buffer runs out of data, the leaking stops.</div><div>6.        If incoming data would overfill the buffer then discard</div><div>7.        Then, the packet is considered to be non-conformant and is not added to the bucket. </div><div>8.       Then the buffer will check if the queue empty</div><div>9.       If the is queue is empty </div><div>10.   Then data to be send should be less than or equal to the available Queue size</div><div>a.       Then Push the data to the queue </div><div>11.   Data is added to the bucket as space becomes available for conforming packets.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:35:56 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252513631</guid>
      </item>
      <item>
         <title>Sharone</title>
         <author>gs49927</author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252517361</link>
         <description><![CDATA[<div>1.Initiate incoming packet<br>If the buffer is full,<br>&nbsp; Discharge the packet<br>Else<br>&nbsp;Put the packet to the queue&nbsp;<br>2.Check condition of queue&nbsp;<br>If queue is full,<br>&nbsp;Hold the packet in the buffer<br>Else<br>&nbsp;Check the size of the available slot in the queue<br>&nbsp; Then&nbsp;<br>&nbsp; Push the ideal size packet to the queue&nbsp;<br>3.First packet in queue,<br>&nbsp;Send to it’s destination&nbsp;<br>Others,&nbsp;<br>&nbsp;Wait for their turn in queue&nbsp;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 11:49:20 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252517361</guid>
      </item>
      <item>
         <title>MAQSOOD Ul HAQ</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252520890</link>
         <description><![CDATA[<div>&nbsp;</div><div><strong>Step 1:- Initialize </strong><br><br></div><div><strong>n=number of packets</strong> at every tick of clock<br><strong>S=size of buffer</strong>&nbsp;</div><div><strong>F= number of frames in Que.</strong>&nbsp;</div><div><strong>&nbsp;</strong></div><div><strong>Step 2:- Send n packets to the buffer</strong>&nbsp;</div><div><strong>If&nbsp; &nbsp; &nbsp; n &lt; S then </strong>push<strong> packets to Que F and decrease speed of packets.</strong>&nbsp;<br><br></div><div><strong>Step 3: If number of slots in Que is full.</strong><br><br></div><div>Hold the number of packets<strong>. </strong><br><br></div><div><strong>But If n = S in the buffer</strong><br><br></div><div><strong>Then End the Process.</strong>&nbsp;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 12:01:48 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252520890</guid>
      </item>
      <item>
         <title>Faten</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252521075</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/265571992/f1b1c8484461e3298c700358f90b804f/IMG_4529.jpg" />
         <pubDate>2018-04-17 12:02:27 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252521075</guid>
      </item>
      <item>
         <title>Humam</title>
         <author></author>
         <link>https://padlet.com/hairul_ayu/week9/wish/252522066</link>
         <description><![CDATA[<ol><li>Start</li><li>get random number of packets</li><li>initialize inter arrival time=0; initialize packet =0;</li><li>Set the packet size and the buffer size and Queue size</li><li>Set the output rate.</li><li>Transmit the packets such that there is no overflow.</li><li>Repeat the process of transmission until all packets are transmitted. (Reject packets where its size is greater than the buffer size)</li><li>Stop</li></ol><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-17 12:05:41 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/252522066</guid>
      </item>
      <item>
         <title>Patrick</title>
         <author>ayomide2omotayo</author>
         <link>https://padlet.com/hairul_ayu/week9/wish/254763267</link>
         <description><![CDATA[<div>The leaky bucket algorithm is a method of temporarily storing a variable number of requests and organizing them into a set-rate output of packets in an <strong>asynchronous transfer mode</strong> (<strong>ATM</strong>) network. The leaky bucket is used to implement traffic policing and traffic shaping in Ethernet and cellular data networks.<br><br>The following is an algorithm for variable-length packets:<br><br></div><ol><li>Initialize a counter to n at the tick of the clock.</li><li>If n is greater than the size of the packet, send the packet and decrement the counter by the packet size. Repeat this step until n is smaller than the packet size.</li><li>Reset the counter and go to step 1.</li></ol><div><strong>Example:</strong><br>Let n=1000<br>Packet=<a href="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-1.png"><figure class="attachment attachment--preview" data-trix-attachment="{&quot;contentType&quot;:&quot;image&quot;,&quot;height&quot;:37,&quot;url&quot;:&quot;https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-1.png&quot;,&quot;width&quot;:272}" data-trix-content-type="image"><img src="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-1.png" width="272" height="37"><figcaption class="attachment__caption"></figcaption></figure></a><br>Since n&gt; front of Queue i.e. n&gt;200<br>Therefore, n=1000-200=800<br>Packet size of 200 is sent to the network.<br><a href="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-2.png"><figure class="attachment attachment--preview" data-trix-attachment="{&quot;contentType&quot;:&quot;image&quot;,&quot;height&quot;:57,&quot;url&quot;:&quot;https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-2.png&quot;,&quot;width&quot;:263}" data-trix-content-type="image"><img src="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-2.png" width="263" height="57"><figcaption class="attachment__caption"></figcaption></figure></a><br>Now Again n&gt;front of the queue i.e. n &gt; 400<br>Therefore, n=800-400=400<br>Packet size of 400 is sent to the network.<br><a href="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-3.png"><figure class="attachment attachment--preview" data-trix-attachment="{&quot;contentType&quot;:&quot;image&quot;,&quot;height&quot;:54,&quot;url&quot;:&quot;https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-3.png&quot;,&quot;width&quot;:224}" data-trix-content-type="image"><img src="https://cdncontribute.geeksforgeeks.org/wp-content/uploads/leak-bucket-3.png" width="224" height="54"><figcaption class="attachment__caption"></figcaption></figure></a><br>Since n&lt; front of queue Therefore, the procedure is stop.&nbsp;<br><br><br>And we initialize n=1000 on another tick of clock.<br>This procedure is repeated until all the packets are sent to the network.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-04-24 11:22:30 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/254763267</guid>
      </item>
      <item>
         <title>mustafa</title>
         <author>mustafahamied4</author>
         <link>https://padlet.com/hairul_ayu/week9/wish/264871351</link>
         <description><![CDATA[<div>1.Initiate incoming packet<br>If the buffer is full,<br>  Discharge the packet<br>Else<br> Put the packet to the queue <br>2.Check condition of queue <br>If queue is full,<br> Hold the packet in the buffer<br>Else<br> Check the size of the available slot in the queue<br>  Then <br>  Push the ideal size packet to the queue <br>3.First packet in queue,<br> Send to it’s destination <br>Others, <br> Wait for their turn in queue <br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-05-31 19:04:08 UTC</pubDate>
         <guid>https://padlet.com/hairul_ayu/week9/wish/264871351</guid>
      </item>
   </channel>
</rss>
