Recent download statistics

Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Sep 3 02:20:55 PDT 2014


I recently got the access logs for dmd downloads through August (and Sep 
1st). They show a sharp increase since July, probably following the 
Wired coverage and the recent release. This is raw data so it does not 
correct for failed downloads etc, but I assume it is a good proxy for 
the actual numbers and also good for looking at trends.

The relevant makefile rules are:

$(OUT)/downloads:
	grep -o 'GET [^ ]* ' \
	  $(DATADIR)/downloads/2013-* $(DATADIR)/downloads/2014-* \
	  | grep 'dmd' | sed -e 's/:GET//' -e 's|^.*downloads/||' \
	  | sed -e 's/ .*dmd/ dmd/' | sort >$@.tmp
	mv $@.tmp $@

$(OUT)/downloads.monthly: $(OUT)/downloads
	sed -e 's/-.. .*//' $^ | uniq -c >>$@.tmp
	mv $@.tmp $@

The log lines follow the pattern (some numbers changed for privacy):

f0a5c47d9741bd8c3fffbfc3dacfaeb7 downloads.dlang.org 
[31/Dec/2013:23:04:13 +0000] 181.16.226.282 - 61ED358EF78C3B10 
WEBSITE.GET.OBJECT releases/2013/dmd.2.064.2.zip "GET 
/releases/2013/dmd.2.064.2.zip HTTP/1.1" 200 - 33349115 33349115 331564 
266 "-" "NSIS_Inetc (Mozilla)" -

Going forward I think we should publish the logs and run a cron job on 
the server that updates them periodically.

July's 34979 is a 19 months (and possibly all-time) high. 
Congratulations to everybody involved in pushing the D language forward!


Andrei



5886 2013-01
5525 2013-02
22799 2013-03
11717 2013-04
6214 2013-05
9614 2013-06
11455 2013-07
16803 2013-08
20835 2013-09
19009 2013-10
20569 2013-11
15742 2013-12
18002 2014-01
20191 2014-02
18651 2014-03
19600 2014-04
21015 2014-05
20962 2014-06
34979 2014-07
34288 2014-08
1088 2014-09-01


More information about the Digitalmars-d-announce mailing list