<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Tech Documentation by María Eléna Zingarellà</title>
      <link>https://padlet.com/quek11/6ai2sfdhbuci</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2015-05-04 17:55:55 UTC</pubDate>
      <lastBuildDate>2025-12-13 02:15:55 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>https://www.datadoghq.com/wp-content/uploads/2013/09/Understanding-the-Top-5-Redis-Performance-Metrics.pdf</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255986</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.datadoghq.com/wp-content/uploads/2013/09/Understanding-the-Top-5-Redis-Performance-Metrics.pdf" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255986</guid>
      </item>
      <item>
         <title>Raft</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255987</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://thesecretlivesofdata.com/raft/" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255987</guid>
      </item>
      <item>
         <title>Call me maybe: Elasticsearch</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255988</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://aphyr.com/posts/317-call-me-maybe-elasticsearch" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255988</guid>
      </item>
      <item>
         <title>Postgresql HStore tutorial</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255990</link>
         <description><![CDATA[<p>Really simple tutorian on HStore. But good to know. </p>]]></description>
         <enclosure url="http://postgresguide.com/sexy/hstore.html" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255990</guid>
      </item>
      <item>
         <title>ElasticSearch insights</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255991</link>
         <description><![CDATA[<p>written in Jan 2014 on Quora.</p><p>Summary: </p><p>-&nbsp;This link isn't really for ElasticSearch as a data store</p><p>- ElasticSearch is distributed. Its benefits are realised when it is used that way.</p><p>- ElasticSearch requires more than half the node count as master nodes to avoid split brain issue.</p><p>- if you have great deal of data but limited resources, ElasticSearch might not be good.</p><p>- Under the same question but in a different answer, a user talks about how big a memory hog ElasticSearch is.</p>]]></description>
         <enclosure url="http://qr.ae/sOL0K" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255991</guid>
      </item>
      <item>
         <title>MongoDB Indexing Behaviour</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255992</link>
         <description><![CDATA[<p>Indexes should be built according to how data is being queried.</p><pre>{  "t": &lt;time&gt;,  

   "d": {<br>     "id": &lt;object_id&gt;,
     "resource": "walls",<br>     "action": "update",
....  

   } 

}</pre>The query for the activity feed for a user as of now is two OR clauses. They are:
<br><pre><i>1. { 'd.builder_id': &lt;curr_user_id&gt;, 'd.resource': 'walls', 'd.action': 'update', 'd.user_id': { '$ne': &lt;curr_user_id&gt;' }}</i></pre><pre><i>2. {'d.wall_id': { '$in': [&lt;wall_1&gt;,&lt;wall_2&gt;...]}, 'd.resource': 'wishes', 'd.user_id': {'$ne': &lt;curr_user_id&gt;}}</i></pre><p><i><br></i></p><p>We then sort the results by time.</p><p>
I built the following indexes.</p><pre><i>['d.builder_id', 'd.resource', 'd.action', 'd.user_id', 't']</i></pre><pre><i>['d.wall_id', 'd.resourc'e, 'd.user_id', 't']</i></pre><p><i><br></i></p><p>The first index works for the first OR query. But the second, not so much.</p><p>This is because each mongo query can only use 1 index.</p><p>The next is because the 2nd clause in the OR query uses $in, thus it cannot reference a contiguous series of entries in an index, hence Mongo cannot use it.</p><p>The other way is to run (say) 100 mongo queries, 1 for each wall that should have been in the $in query, and merge them based on time (using the merge operation in a merge sort). This is too painful. </p><p>We can also change the query to not use $in and just fetch all wish events for all walls, then filter document by document. But that's probably the slowest way to do it, based on the profiling.</p><p>The other alternative is to write to a separate collection. Or write to a separate postgres instance. Or use elasticsearch.</p><p>
Going to do some reading up on elasticsearch.</p>]]></description>
         <enclosure url="" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255992</guid>
      </item>
      <item>
         <title>MongoDB trashing</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255993</link>
         <description><![CDATA[<p>Just got a notice from New Relic that MongoDB (or pioneer) had disk IO &gt; 90%. Suspect Mongo flushing cached data to disk.</p>]]></description>
         <enclosure url="http://cl.ly/image/3h3L2Z181z3P/Image%202014-06-12%20at%2011.55.30%20am.png" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255993</guid>
      </item>
      <item>
         <title>MongoDB trashing vs response time</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255994</link>
         <description><![CDATA[<p>Here's something interesting: when MongoDB trashes (as in previous post), the response time also increases.</p>]]></description>
         <enclosure url="http://cl.ly/image/2e2D2s1W160D/Image%202014-06-12%20at%2011.54.23%20am.png" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255994</guid>
      </item>
      <item>
         <title>Postgresql HStore index</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255995</link>
         <description><![CDATA[<p>Using the GIN (Generalized Inverted index) vs GIST (Generalized search tree) index. Differences are highlighted here.</p>]]></description>
         <enclosure url="http://www.postgresql.org/docs/9.2/static/hstore.html" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255995</guid>
      </item>
      <item>
         <title></title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255996</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://d20uo2axdbh83k.cloudfront.net/20140701/8717ee5b51d2e4012200b36d7533e0a7.png" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255996</guid>
      </item>
      <item>
         <title>Open Resolver Project</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255997</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://www.openresolverproject.org/" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255997</guid>
      </item>
      <item>
         <title>ddos - How can I identify open DNS resolvers in my network? - Information Security Stack Exchange</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255998</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://security.stackexchange.com/questions/23905/how-can-i-identify-open-dns-resolvers-in-my-network" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255998</guid>
      </item>
      <item>
         <title>KLOTH.NET - DIG - DNS lookup - find IP address</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255999</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://www.kloth.net/services/dig.php" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59255999</guid>
      </item>
      <item>
         <title>hstore vs. JSON - Which to use in Postgres Craig Kerstiens</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256000</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://www.craigkerstiens.com/2013/07/03/hstore-vs-json/" />
         <pubDate>2015-05-04 17:55:55 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256000</guid>
      </item>
      <item>
         <title>Evaluation Criteria for Schemaless database</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256001</link>
         <description><![CDATA[<p>Look at Mongo! Just look at it! This was from 2013.</p><p>I think we need to move away from MongoDB.</p>]]></description>
         <enclosure url="https://d20uo2axdbh83k.cloudfront.net/20140731/6ed9d735572600ac01bb53294f17062a.png" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256001</guid>
      </item>
      <item>
         <title>PostgreSQL: Documentation: 9.1: GiST and GIN Index Types</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256002</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://www.postgresql.org/docs/9.1/static/textsearch-indexes.html" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256002</guid>
      </item>
      <item>
         <title>What can you do with PostgreSQL and JSON? | clarkdave.net</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256003</link>
         <description><![CDATA[<p>Using JSON for data warehousing on Amazon RDS is definitely an option.</p>]]></description>
         <enclosure url="http://clarkdave.net/2013/06/what-can-you-do-with-postgresql-and-json/" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256003</guid>
      </item>
      <item>
         <title>postgresql - How to create index on json field in Postgres 9.3 - Stack Overflow</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256004</link>
         <description><![CDATA[<p>Creating indexes on JSON types.</p>]]></description>
         <enclosure url="http://stackoverflow.com/questions/17807030/how-to-create-index-on-json-field-in-postgres-9-3" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256004</guid>
      </item>
      <item>
         <title>pg-as-nosql-pgday-fosdem-2013.pdf</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256006</link>
         <description><![CDATA[<p>OK i'm going to defend JSON fetching results here. In this case, no indexes were created for the JSON type (not sure why). We should test querying results with the JSON type before passing judgement too quickly.</p>]]></description>
         <enclosure url="http://thebuild.com/presentations/pg-as-nosql-pgday-fosdem-2013.pdf" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256006</guid>
      </item>
      <item>
         <title>Safari Extensions Development Guide: Using Extension Builder</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256007</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://developer.apple.com/library/safari/documentation/tools/conceptual/safariextensionguide/UsingExtensionBuilder/UsingExtensionBuilder.html#//apple_ref/doc/uid/TP40009977-CH2-SW1" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256007</guid>
      </item>
      <item>
         <title>Documentation | Swiftype</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256008</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://swiftype.com/documentation" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256008</guid>
      </item>
      <item>
         <title>[ubuntu] 12.04 running DNSMASQ by default</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256009</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://ubuntuforums.org/showthread.php?t=1968061" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256009</guid>
      </item>
      <item>
         <title>ddos - How can I identify open DNS resolvers in my network? - Information Security Stack Exchange</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256010</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://security.stackexchange.com/questions/23905/how-can-i-identify-open-dns-resolvers-in-my-network" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256010</guid>
      </item>
      <item>
         <title>How To Use HAProxy to Set Up HTTP Load Balancing on an Ubuntu VPS | DigitalOcean</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256011</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256011</guid>
      </item>
      <item>
         <title>C0DE517E: Stuff that every programmer should know: Data Visualization</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256012</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://c0de517e.blogspot.sg/2014/06/stuff-that-every-programmer-should-know.html" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256012</guid>
      </item>
      <item>
         <title>HowTo/dnsmasq - Debian Wiki</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256013</link>
         <description><![CDATA[<p>Thus started a brief investigation into DNS resolvers -- DO shut Pioneer down because it was party to a DNS amplification attack.</p>]]></description>
         <enclosure url="https://wiki.debian.org/HowTo/dnsmasq" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256013</guid>
      </item>
      <item>
         <title>How to install gem from GitHub source? - Stack Overflow</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256014</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://stackoverflow.com/questions/2577346/how-to-install-gem-from-github-source" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256014</guid>
      </item>
      <item>
         <title>Using PostgreSQL Arrays The Right Way | Heap Blog</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256015</link>
         <description><![CDATA[]]></description>
         <enclosure url="http://blog.heapanalytics.com/dont-iterate-over-a-postgres-array-with-a-loop/" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256015</guid>
      </item>
      <item>
         <title>Configure multiple SSL certificates in Haproxy - Server Fault</title>
         <author>quek11</author>
         <link>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256016</link>
         <description><![CDATA[<p>I used this to configure HAPROXY so that it can use a *.padlet.org certificate and a padlet.com certificate.</p>]]></description>
         <enclosure url="http://serverfault.com/questions/560978/configure-multiple-ssl-certificates-in-haproxy" />
         <pubDate>2015-05-04 17:55:56 UTC</pubDate>
         <guid>https://padlet.com/quek11/6ai2sfdhbuci/wish/59256016</guid>
      </item>
   </channel>
</rss>
