<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="135506" data-post-id="135506">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Schultzer" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Schultzer/120/4339_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Schultzer
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>If you want maximum speed you have to stick with tuples, iolist and, integers. I wouldn’t use Decimal, it is based on structs which is a map, and maps are expansive, not as expensive as they used to be. I would recommend you to use :erts_debug.size/1 to determine how much memory your would use.<br>
<code>:erts_debug.size(%{}) == 4</code> <code>:erts_debug.size({}) == 1 </code></p>
<p>/edit</p>
<p>Another thing is, use pattern matching, if your data is consistent and you always expect the csv to be the same then you don’t have to split the lines to get your values, you can pick them right out of the string which would give you almost pointer arithmetic.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">def getmyvalue(&lt;&lt;"StartRangeMarker=", year::binary-size(4), ?-, month::binary-sizer(2), ?-, day::binary-size(2), ?-, hours::binary-size(2), ?-, min::binary-size(2), ?-, sec::binary-size(2)&gt;&gt;) do
{:ok, year, month, day, hours, min, sec}
end
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135506" data-batch-url="/posts/batch_likers">
                        6
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-135506" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135506"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="135512" data-post-id="135512">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jola" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jola/120/18010_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jola
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/frumos" rel="nofollow">@frumos</a> I think it’s worth talking about expectations here, do you expect the code to run as fast as Java? As <a class="mention" href="/u/diodonhystrix" rel="nofollow">@DiodonHystrix</a> pointed out it’s not going to beat Java in raw performance. That’s not why we use Elixir. You could rewrite the Elixir code to use concurrency and it will be a lot faster, but that would be true for Java too (although I wouldn’t use Flow for it, <code>Task.async_stream</code> has less overhead in a scenario like this).</p>
<aside class="quote no-group" data-username="NobbZ" data-post="11" data-topic="23815">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/48/27235_2.png" class="avatar"> NobbZ:</div>
<blockquote>
<p>Check the other kinds of ETS tables. Some of them are slower than others, and as far as I remember <code>set</code> is somewhat costly on insert/update, as it always has to scan the table for the key, but maybe I’m missremembering things from the talk (it was briefly mentioned in the talk about how phoenix got to 2M active connections)</p>
</blockquote>
</aside>
<p>I think that was <code>bag</code> vs <code>duplicate_bag</code>, but I could be wrong.</p>
<aside class="quote no-group" data-username="NobbZ" data-post="11" data-topic="23815">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/48/27235_2.png" class="avatar"> NobbZ:</div>
<blockquote>
<p>instead of doing a match all query to the ETS, you could check if <code>:ets.tab2list</code> is more performant.</p>
</blockquote>
</aside>
<p>Yeah, I think that’s from my blog post. I initially experienced <code>match_object</code> to be faster, but I think that was just bad measurements, I should update the post at some point to use <code>:ets.tab2list</code> instead.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135512" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-135512" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135512"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="135517" data-post-id="135517">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dimitarvp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/120/38664_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dimitarvp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="frumos" data-post="1" data-topic="23815">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/f/e495f1/48.png" class="avatar"> frumos:</div>
<blockquote>
<p>record_key: p &lt;&gt; “,” &lt;&gt; pr &lt;&gt; “,” &lt;&gt; cpc &lt;&gt; “,” &lt;&gt; ut &lt;&gt; “,” &lt;&gt; op</p>
</blockquote>
</aside>
<p>Do you know in advance how much maximum unique values will this combo have?</p>
<p>If you do, then Erlang’s <code>:counters</code> module can help you (and it’s faster than ETS). However, you’ll have to translate a combo of values to an index by yourself – and that might kill the performance advantage.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135517" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-135517" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135517"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="135520" data-post-id="135520">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="alvises" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/alvises/120/2247_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  alvises
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Could a Rust NIF help in this case? Maybe for the parsing part? (I’m still trying to understand how much is possible to use Rust in these situations)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135520" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-135520" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135520"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="135528" data-post-id="135528">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="massimo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/massimo/120/5555_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  massimo
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>a few performance tricks to use when dealing with Strings in Elixir (or Erlang)</p>
<ul>
<li>don’t use string concatenation (<code>&lt;&gt;</code>) use <a href="https://www.bignerdranch.com/blog/elixir-and-io-lists-part-1-building-output-efficiently/" rel="noopener nofollow ugc"><code>io lists</code></a></li>
<li>don’t use <s>records</s> <em>maps</em>, they are slow, use lists or tuples</li>
<li>take advantage of the standard library, don’t overthink the solution: in this case <code>Integer.parse</code> is more than enough to convert a string to an integer</li>
<li>use Erlang’s <a href="http://erlang.org/doc/man/binary.html" rel="nofollow"><code>binary</code></a> module. For example <a href="http://erlang.org/doc/man/binary.html#compile_pattern-1" rel="nofollow"><code>compiled patterns</code></a> are usually much faster than just string patterns.</li>
</ul>
<p>On my Laptop (Lenovo P70, 8 cores, 64GB of RAM) your solutions takes approximately 6 seconds to process a little bit more than 1 million rows, while the following takes around 2.1 seconds</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  def aggregate_kona2() do
    IO.puts("Start")
    kona = "./data"

    output_path = kona &lt;&gt; "_elixir_aggregated"
    
    pattern = :binary.compile_pattern(",")

    {time, _} =
      :timer.tc(fn -&gt;
        kona
        |&gt; File.stream!()
        |&gt; Stream.drop(9)
        |&gt; Stream.map(&amp;parse_granular2(&amp;1, pattern))
        |&gt; Enum.reduce(
          %{},
          fn [key, value], acc -&gt;
            Map.update(acc, key, value, &amp;Kernel.+(&amp;1, value))
          end
        )
        |&gt; Stream.map(fn {k, v} -&gt; [k, ",", to_string(v), "\n"] end)
        |&gt; Stream.into(File.stream!(output_path, [:write, :utf8]))
        |&gt; Stream.run()
      end)

    IO.puts("Total: #{time / 1_000_000}s")
  end

  def parse_granular2(record, pattern) do
    [p, pr, cpc, ut, op, _, _, _, _, _, _, value] = record |&gt; String.split(pattern)

    {value, _} = Integer.parse(value)

    [
      [p, ",", pr, ",", cpc, ",", ut, ",", op],
      value
    ]
  end

</code></pre>
<p><strong>EDIT</strong></p>
<p>Here’s a version using <code>Flow</code>.</p>
<p>It’s not optimized, I’m sure tweaking the params a bit will yeld much better results.</p>
<p>For around 11 millions rows it take ~17secs (as usual for the BEAM, results scale linearly with the size of the input, for 1 million rows it take 1.55 secs, 1.55 * 11 = 17.05)</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  def aggregate_kona_flow() do
    IO.puts("Start")
    kona = "./data12"

    output_path = kona &lt;&gt; "_elixir_aggregated_3"
    {:ok, output_file} = File.open(output_path, [:write, :utf8])

    pattern = :binary.compile_pattern(",")

    part_opts = [stages: System.schedulers_online()]
    read_ahead = 32768
    max_demand = 256

    {time, _} =
      :timer.tc(fn -&gt;
        kona
        |&gt; File.stream!(read_ahead: read_ahead)
        |&gt; Stream.drop(9)
        |&gt; Flow.from_enumerable(max_demand: max_demand)
        |&gt; Flow.map(&amp;parse_granular2(&amp;1, pattern))
        |&gt; Flow.partition(part_opts)
        |&gt; Flow.reduce(fn -&gt; %{} end, fn [key, value], acc -&gt;
          Map.update(acc, key, value, &amp;(&amp;1 + value))
        end)
        |&gt; Flow.each(fn {k, v} -&gt;
          IO.write(output_file, [k, ",", to_string(v), "\n"])
        end)
        |&gt; Flow.run()
      end)

    File.close(output_file)

    IO.puts("Total: #{time / 1_000_000}s")
  end

</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135528" data-batch-url="/posts/batch_likers">
                        10
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-135528" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135528"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="135530" data-post-id="135530">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dimitarvp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/120/38664_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dimitarvp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Where did you get the source data from? I’d like try your code on my MacBook.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135530" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-135530" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135530"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="135531" data-post-id="135531">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="massimo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/massimo/120/5555_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  massimo
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I created some fake data from the snippet in the first post</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135531" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-135531" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135531"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="135577" data-post-id="135577">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="alvises" data-post="15" data-topic="23815" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/alvises/48/2247_2.png" class="avatar"> alvises:</div>
<blockquote>
<p>Could a Rust NIF help in this case? Maybe for the parsing part? (I’m still trying to understand how much is possible to use Rust in these situations)</p>
</blockquote>
</aside>
<p>This is just what I was thinking, if performance is a concern on minimal hardware, rust would be the way to go, especially as it would outperform the very optimized JVM (and multi-threading is a breeze in it!).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135577" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-135577" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135577"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="135581" data-post-id="135581">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="alvises" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/alvises/120/2247_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  alvises
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Tell me if I’m wrong: with Rust NIFs (and NIFs in general) while the Rust code is executed the BEAM scheduler is completely locked right? So the Rust code should return as fast as possible?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135581" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-135581" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135581"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="135582" data-post-id="135582">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kokolegorille" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kokolegorille/120/4784_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kokolegorille
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>If I am not wrong, You can use dirty schedulers…</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://bgmarx.com/2018/08/15/using-dirty-schedulers-with-rustler/">
  <header class="source">

      <a href="https://bgmarx.com/2018/08/15/using-dirty-schedulers-with-rustler/" target="_blank" rel="noopener nofollow">bgmarx.com</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://bgmarx.com/2018/08/15/using-dirty-schedulers-with-rustler/" target="_blank" rel="noopener nofollow">Using Dirty Schedulers with Rustler</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="135582" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-language-performance-tuning-for-1-quadrillion-records-per-month/23815/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-135582" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="135582"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/23815/load_more?page=3">Load more posts (18 remaining)</a>
</div></template></turbo-stream>