<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: dylan</title>
    <description>The latest articles on DEV Community by dylan (@0x64796c616e).</description>
    <link>https://dev.to/0x64796c616e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F19746%2F3713ed73-cbe5-4be4-a42f-30e95d04bc6f.jpeg</url>
      <title>DEV Community: dylan</title>
      <link>https://dev.to/0x64796c616e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0x64796c616e"/>
    <language>en</language>
    <item>
      <title>How to build an efficient user-facing dashboard?</title>
      <dc:creator>dylan</dc:creator>
      <pubDate>Thu, 25 May 2017 01:15:45 +0000</pubDate>
      <link>https://dev.to/0x64796c616e/how-to-build-an-efficient-user-dashboard</link>
      <guid>https://dev.to/0x64796c616e/how-to-build-an-efficient-user-dashboard</guid>
      <description>&lt;p&gt;So I'm working on an early stage startup with some friends of mine. I'm building a backend web app for our customers (other businesses, we're B2B). Perhaps without surprise, our landing page after login is a dashboard.&lt;/p&gt;

&lt;p&gt;For this first iteration, I'm just going to start with basic data points: trends over time in a line chart, and a breakdown of specific events in a pie chart.&lt;/p&gt;

&lt;p&gt;I know the old adage, or know that it's something along the lines of don't do extra work for scaleability before you even need to scale. But I do want this to be efficient, and we're already talking with a few potential clients who are quite large (have a large number of customers). If signed on, one of these clients would be creating ~500 rows a day in the table that my dashboard would be querying. If I'm displaying trends on a monthly basis, and including 6 months in the graph, that's 90,000 relevant rows that the dashboard would be asking Postgres to calculate averages on. And that's for just one line on the graph. Now I'm sure the database could handle that on principle in an acceptable amount of time. But I'm worried about the stress that may be caused as more large clients sign on.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Am I being paranoid here?&lt;/li&gt;
&lt;li&gt;Has anyone built user-facing dashboards like this in the past? Any advice?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One thing I was thinking, is should I create a secondary table of daily averages for datapoints? We're going to introduce a feature to customers that would allow them to.. essentially they would be creating a new datapoint, resulting in a new line in that trends chart.&lt;/p&gt;

&lt;p&gt;Anyways. I haven't thought this all the way through yet, which may show in some of my written thought process above. I was just wondering if anyone has gone down this road before, and has any advice. Might not be using the right search terms, but I'm having a hard time finding relevant articles online.&lt;/p&gt;

&lt;p&gt;Just to say it upfront, while I have a decent grasp on most of what I'm doing thanks to working under an awesome lead at my internship -&amp;gt; employment for the last year, I am definitely still bit of a n00b in terms of.. idk, how to treat my database right / the above.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>dashboard</category>
      <category>sql</category>
      <category>database</category>
    </item>
    <item>
      <title>Hi, I'm dylan</title>
      <dc:creator>dylan</dc:creator>
      <pubDate>Thu, 25 May 2017 00:55:52 +0000</pubDate>
      <link>https://dev.to/0x64796c616e/hi-im-dylan</link>
      <guid>https://dev.to/0x64796c616e/hi-im-dylan</guid>
      <description>&lt;p&gt;I have been coding for 7 years.&lt;/p&gt;

&lt;p&gt;You can find me on Twitter as &lt;a href="https://twitter.com/0x64796c616e" rel="noopener noreferrer"&gt;@0x64796c616e&lt;/a&gt; (all the handles with my actual name were taken unless i put some arbitrary number at the end which bothered me so i just embraced the numbers hashed my name)&lt;/p&gt;

&lt;p&gt;I live in Charleston, SC.&lt;/p&gt;

&lt;p&gt;I work for Engage Talent&lt;/p&gt;

&lt;p&gt;I mostly program in these languages: Javascript, Go.&lt;/p&gt;

&lt;p&gt;I am currently learning more about efficiently handling large sets of structured data.&lt;/p&gt;

&lt;p&gt;Nice to meet you.&lt;/p&gt;

&lt;p&gt;Omg I forgot to add some of my own sentences to this template. Just wanted to say I've been following &lt;a class="mentioned-user" href="https://dev.to/thepracticaldev"&gt;@thepracticaldev&lt;/a&gt; for a while now, have always enjoyed the articles linked to from that handle on this site. I'm happy to be a part of this community now!&lt;/p&gt;

</description>
      <category>introduction</category>
    </item>
  </channel>
</rss>
