{"action":"created","issue":{"url":"https://api.github.com/repos/nlbdev/produksjonssystem/issues/100","repository_url":"https://api.github.com/repos/nlbdev/produksjonssystem","labels_url":"https://api.github.com/repos/nlbdev/produksjonssystem/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/nlbdev/produksjonssystem/issues/100/comments","events_url":"https://api.github.com/repos/nlbdev/produksjonssystem/issues/100/events","html_url":"https://github.com/nlbdev/produksjonssystem/issues/100","id":322832186,"node_id":"MDU6SXNzdWUzMjI4MzIxODY=","number":100,"title":"Bytt fra threading til multiprocessing","user":{"login":"josteinaj","id":295481,"node_id":"MDQ6VXNlcjI5NTQ4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/295481?v=4","gravatar_id":"","url":"https://api.github.com/users/josteinaj","html_url":"https://github.com/josteinaj","followers_url":"https://api.github.com/users/josteinaj/followers","following_url":"https://api.github.com/users/josteinaj/following{/other_user}","gists_url":"https://api.github.com/users/josteinaj/gists{/gist_id}","starred_url":"https://api.github.com/users/josteinaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josteinaj/subscriptions","organizations_url":"https://api.github.com/users/josteinaj/orgs","repos_url":"https://api.github.com/users/josteinaj/repos","events_url":"https://api.github.com/users/josteinaj/events{/privacy}","received_events_url":"https://api.github.com/users/josteinaj/received_events","type":"User","site_admin":false},"labels":[{"id":910919061,"node_id":"MDU6TGFiZWw5MTA5MTkwNjE=","url":"https://api.github.com/repos/nlbdev/produksjonssystem/labels/L","name":"L","color":"ff6604","default":false,"description":"Stor oppgave"},{"id":910921526,"node_id":"MDU6TGFiZWw5MTA5MjE1MjY=","url":"https://api.github.com/repos/nlbdev/produksjonssystem/labels/Pri-3","name":"Pri-3","color":"7070ff","default":false,"description":"Lav prioritet"},{"id":1764772792,"node_id":"MDU6TGFiZWwxNzY0NzcyNzky","url":"https://api.github.com/repos/nlbdev/produksjonssystem/labels/Ytelse%20og%20stabilitet","name":"Ytelse og stabilitet","color":"333333","default":false,"description":""},{"id":732940740,"node_id":"MDU6TGFiZWw3MzI5NDA3NDA=","url":"https://api.github.com/repos/nlbdev/produksjonssystem/labels/forbedring","name":"forbedring","color":"84b6eb","default":false,"description":""}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-14T14:06:22Z","updated_at":"2020-01-10T15:40:48Z","closed_at":"2020-01-10T15:40:47Z","author_association":"MEMBER","body":"Vi vil trolig få bedre ytelse ved å bytte fra threading-modulen og over til multiprocessing-modulen i Python:\r\n\r\nhttps://docs.python.org/3/library/multiprocessing.html"},"comment":{"url":"https://api.github.com/repos/nlbdev/produksjonssystem/issues/comments/573086089","html_url":"https://github.com/nlbdev/produksjonssystem/issues/100#issuecomment-573086089","issue_url":"https://api.github.com/repos/nlbdev/produksjonssystem/issues/100","id":573086089,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MzA4NjA4OQ==","user":{"login":"josteinaj","id":295481,"node_id":"MDQ6VXNlcjI5NTQ4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/295481?v=4","gravatar_id":"","url":"https://api.github.com/users/josteinaj","html_url":"https://github.com/josteinaj","followers_url":"https://api.github.com/users/josteinaj/followers","following_url":"https://api.github.com/users/josteinaj/following{/other_user}","gists_url":"https://api.github.com/users/josteinaj/gists{/gist_id}","starred_url":"https://api.github.com/users/josteinaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josteinaj/subscriptions","organizations_url":"https://api.github.com/users/josteinaj/orgs","repos_url":"https://api.github.com/users/josteinaj/repos","events_url":"https://api.github.com/users/josteinaj/events{/privacy}","received_events_url":"https://api.github.com/users/josteinaj/received_events","type":"User","site_admin":false},"created_at":"2020-01-10T15:40:47Z","updated_at":"2020-01-10T15:40:47Z","author_association":"MEMBER","body":"Det er komplisert å gå over fra threading til multiprocessing. Jeg tror ikke vi kommer til å gjennomføre dette 100%. Om noe så kanskje directory.py-trådene kunne vært egne prosesser, mens resten av systemet kjører i hoved-prosessen. Jeg tror det har mere for seg å flytte krevende prosesser ut i separate docker containere, f.eks. Pipeline 2, Ace, og lignende.\r\n\r\nArbeidet jeg har gjort med multiprosessering ligger her, i tilfelle vi vil ta opp igjen denne tråden ved en senere anledning: https://github.com/nlbdev/produksjonssystem/tree/multiprocessing\r\n\r\nMen jeg tror det er like greit å lukke denne saken inntil videre."}}
{"actor":{"display_login":"josteinaj"}}