Skip to content

Instantly share code, notes, and snippets.

@ada-lovecraft
Last active December 16, 2015 03:49
Show Gist options
  • Save ada-lovecraft/5373157 to your computer and use it in GitHub Desktop.
Save ada-lovecraft/5373157 to your computer and use it in GitHub Desktop.
Current leveldb Implementation vs. Proposed
<!----- Current Implementation ---->
Key | Value
------------------|----------------
keyword|uuid | uuid
------------------------------------
uuid | object{}
| ip,
| agent,
| url,
| referrer,
| mobile
____________________________________
<!----- Proposed Implementation ---->
Key | Value
------------------|----------------
keyword | array()
| uuid,
| uuid,
| uuid,
| uuid
------------------------------------
uuid | object{}
| ip,
| agent,
| url,
| referrer,
| mobile,
| keywords[]
____________________________________
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment