Created
June 12, 2009 22:45
-
-
Save rcrowley/128985 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pageview/click analytics in Cassandra? | |
{ | |
"pageviews": { // Column family | |
"cookie": "OH HAI", | |
"url": "/foo/bar", | |
"layout": 47, | |
"ip": "1.2.3.4" | |
// And we get timestamps for free! | |
}, | |
"clicks": { // Column family | |
"cookie": "OH HAI", | |
"target": "http://interiorcrocodilealligator.com/", | |
"layout": 47, | |
"ip": "5.6.7.8", | |
"x": 120, | |
"y": 375 | |
// And we get timestamps for free! | |
} | |
// Et cetera | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment