<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: athena</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/athena.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2019-12-18T09:05:40+00:00</updated><author><name>Simon Willison</name></author><entry><title>athena-sqlite</title><link href="https://simonwillison.net/2019/Dec/18/athena-sqlite/#atom-tag" rel="alternate"/><published>2019-12-18T09:05:40+00:00</published><updated>2019-12-18T09:05:40+00:00</updated><id>https://simonwillison.net/2019/Dec/18/athena-sqlite/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/dacort/athena-sqlite"&gt;athena-sqlite&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Amazon Athena is the AWS tool for querying data stored in S3—as CSV, JSON or Apache Parquet files—using SQL. It’s an interesting way of buliding a very cheap data warehouse on top of S3 without having to run any additional services. Athena recently added a query federation SDK which lets you define additional custom data sources using Lambda functions. Damon Cortesi used this to write a custom connector for SQLite, which lets you run queries against data stored in SQLite files that you have uploaded to S3. You can then run joins between that data and other Athena sources.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://twitter.com/dacort/status/1206059672513306626"&gt;@dacort&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/athena"&gt;athena&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/aws"&gt;aws&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/s3"&gt;s3&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sql"&gt;sql&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sqlite"&gt;sqlite&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/parquet"&gt;parquet&lt;/a&gt;&lt;/p&gt;



</summary><category term="athena"/><category term="aws"/><category term="s3"/><category term="sql"/><category term="sqlite"/><category term="parquet"/></entry><entry><title>Client-side instrumentation for under $1 per month. No servers necessary.</title><link href="https://simonwillison.net/2019/Mar/15/client-side-instrumentation-under-1-month-no-servers-necessary/#atom-tag" rel="alternate"/><published>2019-03-15T16:03:48+00:00</published><updated>2019-03-15T16:03:48+00:00</updated><id>https://simonwillison.net/2019/Mar/15/client-side-instrumentation-under-1-month-no-servers-necessary/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://bostata.com/post/client-side-instrumentation-for-under-one-dollar/"&gt;Client-side instrumentation for under $1 per month. No servers necessary.&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Rolling your own analytics used to be too complex and expensive to be worth the effort. Thanks to cloud technologies like Cloudfront, Athena, S3 and Lambda you can now inexpensively implement client-side analytics (via requests to a tracking pixel) that stores detailed logs on S3, then use Amazon Athena to run queries against those logs ($5/TB scanned) to get detailed reporting. This post also introduced me to Snowplow, an open source JavaScript analytics script (released by a commercial analytics platform) which looks very neat—it’s based on piwik.js, the tracker from the open-source Piwik  analytics tool.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://news.ycombinator.com/item?id=19388489"&gt;Hacker News&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/analytics"&gt;analytics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/athena"&gt;athena&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cloudfront"&gt;cloudfront&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/lambda"&gt;lambda&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/s3"&gt;s3&lt;/a&gt;&lt;/p&gt;



</summary><category term="analytics"/><category term="athena"/><category term="cloudfront"/><category term="lambda"/><category term="s3"/></entry><entry><title>The Athena Framework</title><link href="https://simonwillison.net/2007/Mar/26/athena/#atom-tag" rel="alternate"/><published>2007-03-26T14:43:08+00:00</published><updated>2007-03-26T14:43:08+00:00</updated><id>https://simonwillison.net/2007/Mar/26/athena/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://atlas-proj-computing-tdr.web.cern.ch/atlas-proj-computing-tdr/Html/Computing-TDR-21.htm"&gt;The Athena Framework&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
CERN’s ATLAS particle accelerator experiment is scriptable with Python.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/athena"&gt;athena&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/atlas"&gt;atlas&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cern"&gt;cern&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/particlephysics"&gt;particlephysics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;&lt;/p&gt;



</summary><category term="athena"/><category term="atlas"/><category term="cern"/><category term="particlephysics"/><category term="python"/></entry></feed>