IRC Logs for #circuits Wednesday, 2017-07-26

*** Workster has joined #circuits00:31
*** Workster has quit IRC00:31
*** Workster has joined #circuits00:31
*** Workster has quit IRC00:36
*** chilli0 has quit IRC01:19
*** Workster has joined #circuits01:31
*** Workster has quit IRC01:31
*** Workster has joined #circuits01:31
*** pankaj has joined #circuits02:01
*** pankaj has quit IRC02:08
*** pankaj has joined #circuits02:08
*** chilli0 has joined #circuits02:22
chilli0prologic, I have a function that is blocking, and I'd like to use that function in a circuits web server02:23
chilli0how can I call that function without it blocking the page request? should it be an event that is fired02:23
prologicuse a Worker02:29
prologiceither as a process ppol or threa dpool02:29
prologicbut generally blocking functions (often) end up being CPU bound anyway02:29
prologicso I'd go with a process pool Worker02:29
prologicThe pattern to follow here is => https://bitbucket.org/ccaih/ccav/src/846b536691089eabe560448590c17b9499fdb41c/src/ccav/api/map.py?at=default&fileviewer=file-view-default#map.py-13502:32
prologicIf you could open an issue to document this and even better if you could submit a PR that adds such a pattern to our docs that would be even beter02:32
chilli0prologic, thanks for that, I'll give it a go :)02:34
chilli0what you working on there?02:35
chilli0 Climate Change and Adaptation Visualization02:35
chilli0i seee02:35
chilli0nice :)02:35
prologicOld project from years ago D02:45
*** chilli0 has quit IRC06:01
*** pankaj has quit IRC11:16
*** ke4roh__ has joined #circuits13:00
*** pankaj has joined #circuits14:19
*** Romster has quit IRC14:42
*** pankaj has quit IRC14:43
*** pankaj has joined #circuits14:45
*** Romster has joined #circuits14:54
*** pankaj has quit IRC15:19
*** Workster has quit IRC17:02
*** Workster has joined #circuits17:03
*** Workster has quit IRC17:03
*** Workster has joined #circuits17:03
*** pankaj has joined #circuits18:23
*** pankaj has quit IRC18:31
*** pankaj has joined #circuits19:32
*** pankaj has quit IRC19:57
*** ke4roh__ has quit IRC21:15

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!