<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Akka on Wojciech Programming Blog</title>
    <link>https://www.wlangiewicz.com/tags/akka/</link>
    <description>Recent content in Akka on Wojciech Programming Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 21 Aug 2016 19:17:23 +0000</lastBuildDate>
    <atom:link href="https://www.wlangiewicz.com/tags/akka/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Testing Akka Performance</title>
      <link>https://www.wlangiewicz.com/2016/08/21/testing-akka-performance/</link>
      <pubDate>Sun, 21 Aug 2016 19:17:23 +0000</pubDate>
      <guid>https://www.wlangiewicz.com/2016/08/21/testing-akka-performance/</guid>
      <description>Few weeks ago I attended a workshop called &amp;ldquo;Understanding Mechanical Sympathy&amp;rdquo; ran by Martin Thompson. During that workshop we written and tested few concurrent programming techniques and as a first exercise we have written a simple Ping-Pong program:&#xA;package uk.co.real_logic; import static java.lang.System.out; /* Original exercise did during &amp;#34;Lock Free Workshop&amp;#34; by Martin Thompson: http://www.real-logic.co.uk/training.html */ public final class PingPong { private static final int REPETITIONS = 100_000_000; private static volatile long pingValue = -1; private static volatile long pongValue = -1; public static void main(final String[] args) throws Exception { final Thread pongThread = new Thread(new PongRunner()); final Thread pingThread = new Thread(new PingRunner()); pongThread.</description>
    </item>
  </channel>
</rss>
