{"action":"opened","issue":{"url":"https://api.github.com/repos/runrightfast/runrightfast-vertx/issues/25","labels_url":"https://api.github.com/repos/runrightfast/runrightfast-vertx/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/runrightfast/runrightfast-vertx/issues/25/comments","events_url":"https://api.github.com/repos/runrightfast/runrightfast-vertx/issues/25/events","html_url":"https://github.com/runrightfast/runrightfast-vertx/issues/25","id":106930450,"number":25,"title":"OrientDB EventLogRepository: Explore the idea of type safe events stored in OrientDB","user":{"login":"runrightfast","id":5359232,"avatar_url":"https://avatars.githubusercontent.com/u/5359232?v=3","gravatar_id":"","url":"https://api.github.com/users/runrightfast","html_url":"https://github.com/runrightfast","followers_url":"https://api.github.com/users/runrightfast/followers","following_url":"https://api.github.com/users/runrightfast/following{/other_user}","gists_url":"https://api.github.com/users/runrightfast/gists{/gist_id}","starred_url":"https://api.github.com/users/runrightfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrightfast/subscriptions","organizations_url":"https://api.github.com/users/runrightfast/orgs","repos_url":"https://api.github.com/users/runrightfast/repos","events_url":"https://api.github.com/users/runrightfast/events{/privacy}","received_events_url":"https://api.github.com/users/runrightfast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T08:01:21Z","updated_at":"2015-09-17T08:01:21Z","closed_at":null,"body":"# Story\r\n## Problems with storing events as JSON\r\n1. JSON bloats the logs because data needs to be copied for each event, e.g, application / component info\r\n2. Makes it harder to query event data via OrientDB\r\n    - would need to index the JSON into SOLR to make events searchable\r\n3. Harder to manage the types of events\r\n\r\n## Benefits for modeling events as classes\r\n1. Modeling events using an object oriented approach makes it easier to create and manage an event hierarchy. \r\n2. Events can re-use standard data structures.\r\n3. Events can be linked\r\n    - Comments can be attached to events\r\n    - events can be flagged"}}