{"action":"created","issue":{"url":"https://api.github.com/repos/mcmillhj/tessa/issues/1","labels_url":"https://api.github.com/repos/mcmillhj/tessa/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mcmillhj/tessa/issues/1/comments","events_url":"https://api.github.com/repos/mcmillhj/tessa/issues/1/events","html_url":"https://github.com/mcmillhj/tessa/issues/1","id":127784456,"number":1,"title":"Choose database backend","user":{"login":"mcmillhj","id":1438499,"avatar_url":"https://avatars.githubusercontent.com/u/1438499?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmillhj","html_url":"https://github.com/mcmillhj","followers_url":"https://api.github.com/users/mcmillhj/followers","following_url":"https://api.github.com/users/mcmillhj/following{/other_user}","gists_url":"https://api.github.com/users/mcmillhj/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmillhj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmillhj/subscriptions","organizations_url":"https://api.github.com/users/mcmillhj/orgs","repos_url":"https://api.github.com/users/mcmillhj/repos","events_url":"https://api.github.com/users/mcmillhj/events{/privacy}","received_events_url":"https://api.github.com/users/mcmillhj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T21:10:11Z","updated_at":"2016-01-22T01:56:27Z","closed_at":null,"body":"considerations:\r\n- service must be available in the event of network partitions (AP from CAP theorem)\r\n- after network partitions are healed service must create consistent view of data across all nodes\r\n- need bindings for Perl (and/or Clojure) \r\n\r\ndatabases to consider:\r\n- MySQL\r\n- Redis\r\n- Riak"},"comment":{"url":"https://api.github.com/repos/mcmillhj/tessa/issues/comments/173775443","html_url":"https://github.com/mcmillhj/tessa/issues/1#issuecomment-173775443","issue_url":"https://api.github.com/repos/mcmillhj/tessa/issues/1","id":173775443,"user":{"login":"mcmillhj","id":1438499,"avatar_url":"https://avatars.githubusercontent.com/u/1438499?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmillhj","html_url":"https://github.com/mcmillhj","followers_url":"https://api.github.com/users/mcmillhj/followers","following_url":"https://api.github.com/users/mcmillhj/following{/other_user}","gists_url":"https://api.github.com/users/mcmillhj/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmillhj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmillhj/subscriptions","organizations_url":"https://api.github.com/users/mcmillhj/orgs","repos_url":"https://api.github.com/users/mcmillhj/repos","events_url":"https://api.github.com/users/mcmillhj/events{/privacy}","received_events_url":"https://api.github.com/users/mcmillhj/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T01:56:27Z","updated_at":"2016-01-22T01:56:27Z","body":"_MySQL_ \r\nhttp://planet.mysql.com/entry/?id=32245\r\n\r\nAP:\r\n- A single MySQL cluster favors consistency over availability during a network partition, so it fails the availability requirement of the project :x: \r\n- Two or more MySQL clusters can be setup to replicate asynchronously in a circular fashion :heavy_check_mark: \r\n - this favors availability over consistency  during a network partition \r\n - this circular replication can increase latency on reads, but technically meets the requirements \r\n- could still be difficult to configure \r\n\r\nPerl bindings:\r\n- Has Perl drivers, can access via DBI and DBD::mysql :heavy_check_mark: \r\n\r\nClojure bindings:\r\n- Can use Java odbc MySQL driver :heavy_check_mark: "}}