<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>aggregation on Poeticoding</title><link>https://www.poeticoding.com/tag/aggregation/</link><description>Recent content in aggregation on Poeticoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 21 Oct 2019 13:39:56 +0000</lastBuildDate><atom:link href="https://www.poeticoding.com/tag/aggregation/index.xml" rel="self" type="application/rss+xml"/><item><title>Aggregate and Count Real-Time Trades with Elixir Maps</title><link>https://www.poeticoding.com/counting-realtime-trades/</link><pubDate>Fri, 28 Dec 2018 16:13:58 +0000</pubDate><guid>https://www.poeticoding.com/counting-realtime-trades/</guid><description>&lt;p>In the &lt;a href="https://www.poeticoding.com/realtime-market-data-updates-with-elixir/">Real-time Market-Data Updates with Elixir&lt;/a> article, we have seen how to build a Coinbase WebSocket client and receive real-time trades. In the comments of the article, a reader asked how many trades we receive per second. In general, the rate of trades depends on the product and the time of day.
In this article we start to see how to aggregate these trades in real-time, using the GenServer behaviour. We&amp;rsquo;ll build an aggregation process that groups and count the trades.&lt;/p></description></item></channel></rss>