{"action":"created","issue":{"url":"https://api.github.com/repos/CCI-MOC/haas/issues/408","labels_url":"https://api.github.com/repos/CCI-MOC/haas/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/CCI-MOC/haas/issues/408/comments","events_url":"https://api.github.com/repos/CCI-MOC/haas/issues/408/events","html_url":"https://github.com/CCI-MOC/haas/pull/408","id":65971679,"number":408,"title":"Vlan trunking","user":{"login":"zenhack","id":883774,"avatar_url":"https://avatars.githubusercontent.com/u/883774?v=3","gravatar_id":"","url":"https://api.github.com/users/zenhack","html_url":"https://github.com/zenhack","followers_url":"https://api.github.com/users/zenhack/followers","following_url":"https://api.github.com/users/zenhack/following{/other_user}","gists_url":"https://api.github.com/users/zenhack/gists{/gist_id}","starred_url":"https://api.github.com/users/zenhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenhack/subscriptions","organizations_url":"https://api.github.com/users/zenhack/orgs","repos_url":"https://api.github.com/users/zenhack/repos","events_url":"https://api.github.com/users/zenhack/events{/privacy}","received_events_url":"https://api.github.com/users/zenhack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CCI-MOC/haas/labels/Do%20not%20merge%20yet","name":"Do not merge yet","color":"FFC0CB"},{"url":"https://api.github.com/repos/CCI-MOC/haas/labels/Needs%20architecture%20discussion","name":"Needs architecture discussion","color":"fbca04"},{"url":"https://api.github.com/repos/CCI-MOC/haas/labels/Waiting%20on%20reviewer","name":"Waiting on reviewer","color":"999999"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CCI-MOC/haas/milestones/5","html_url":"https://github.com/CCI-MOC/haas/milestones/v0.2","labels_url":"https://api.github.com/repos/CCI-MOC/haas/milestones/5/labels","id":855160,"number":5,"title":"v0.2","description":"next release. We may rename this one down the line if we choose another name, but right now I want a place to put bugs that I'm promising to fix in the docs.","creator":{"login":"zenhack","id":883774,"avatar_url":"https://avatars.githubusercontent.com/u/883774?v=3","gravatar_id":"","url":"https://api.github.com/users/zenhack","html_url":"https://github.com/zenhack","followers_url":"https://api.github.com/users/zenhack/followers","following_url":"https://api.github.com/users/zenhack/following{/other_user}","gists_url":"https://api.github.com/users/zenhack/gists{/gist_id}","starred_url":"https://api.github.com/users/zenhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenhack/subscriptions","organizations_url":"https://api.github.com/users/zenhack/orgs","repos_url":"https://api.github.com/users/zenhack/repos","events_url":"https://api.github.com/users/zenhack/events{/privacy}","received_events_url":"https://api.github.com/users/zenhack/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2014-11-05T20:45:28Z","updated_at":"2015-04-08T17:00:48Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2015-04-02T17:20:47Z","updated_at":"2015-04-29T21:30:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CCI-MOC/haas/pulls/408","html_url":"https://github.com/CCI-MOC/haas/pull/408","diff_url":"https://github.com/CCI-MOC/haas/pull/408.diff","patch_url":"https://github.com/CCI-MOC/haas/pull/408.patch"},"body":"I'm starting to work on the vlan trunking. It's not ready yet, but the docs are there and I'd like commentary on the design.\r\n\r\n//cc @gsilvis "},"comment":{"url":"https://api.github.com/repos/CCI-MOC/haas/issues/comments/97591679","html_url":"https://github.com/CCI-MOC/haas/pull/408#issuecomment-97591679","issue_url":"https://api.github.com/repos/CCI-MOC/haas/issues/408","id":97591679,"user":{"login":"henn","id":1813729,"avatar_url":"https://avatars.githubusercontent.com/u/1813729?v=3","gravatar_id":"","url":"https://api.github.com/users/henn","html_url":"https://github.com/henn","followers_url":"https://api.github.com/users/henn/followers","following_url":"https://api.github.com/users/henn/following{/other_user}","gists_url":"https://api.github.com/users/henn/gists{/gist_id}","starred_url":"https://api.github.com/users/henn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henn/subscriptions","organizations_url":"https://api.github.com/users/henn/orgs","repos_url":"https://api.github.com/users/henn/repos","events_url":"https://api.github.com/users/henn/events{/privacy}","received_events_url":"https://api.github.com/users/henn/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T21:30:04Z","updated_at":"2015-04-29T21:30:04Z","body":"Also, on the network action queue, we still have the problem that a large number of requests on a busy server could perpetually not complete because of DB transactions on related items failing to commit.\r\n\r\nImagine there being a busy server, with a request being added every second. Every time the server tries to process the queue, it takes 3 seconds. When the server is done, it will try to execute db.commit(), which will fail because at the top it used .all(), which is now stale. Each successive time it runs will take even longer and be more likely to fail.\r\n\r\nThis could be solved if we handled one transaction at a time instead of batching (`.first()` instead of `.all()` combined with an ordering). Handling one at a time would also have the advantage of keeping an error on one of the operations from blocking all of the others."}}