From purpleidea at gmail.com Wed Mar 1 21:21:42 2017 From: purpleidea at gmail.com (James) Date: Wed, 01 Mar 2017 16:21:42 -0500 Subject: [mgmt] Metaparameters Message-ID: <1488403302.7468.7.camel@gmail.com> Dear mgmt hackers, I've just posted a new blog post about all the engine metaparameters in mgmt. Feel free to have a read! Questions are welcome either in the post or here! https://ttboj.wordpress.com/2017/03/01/metaparameters-in-mgmt/ If you're in to twitter sharing, here is a link to fav/rt: https://twitter.com/purpleidea/status/837047820200865793 Lastly, this also talks more extensively about the semaphore feature which was recently added to git master. Thanks to Felix for his quick review of my blog post. I was able to incorporate some helpful suggestions thanks to his read through. Happy hacking, James -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: From purpleidea at gmail.com Sat Mar 11 14:11:56 2017 From: purpleidea at gmail.com (James) Date: Sat, 11 Mar 2017 09:11:56 -0500 Subject: [mgmt] release: 0.0.10 Message-ID: <1489241516.11076.14.camel@gmail.com> I've just released version 0.0.10 of mgmt! NEWS 57 files changed, 1991 insertions(+), 752 deletions(-) * There's a new resource called `KV`. Short examples exist, but I haven't yet published a whole integration showing the usefulness. * A major race was fixed. The issue of what to do with BackPokes during start/pause was never previously solved. I had this as an open issue on my whiteboard for a while, and I finally got some time to work through it. The answer wasn't that difficult, but I think it was shrouded in some tunnel vision. See the commit messages and source comments for the details. * The GAPI grew four new associated World API methods: StrWatch, StrGet, StrSet, StrDel, and the associated etcd backed implementations. These are quite useful when combined with the KV resource. * There are now P/V style counting semaphores available as metaparams. This is particularly cool because the implementation is (AFAIK, assuming no bugs) dead-lock free! This is mentioned in my recent blog post. * See the git log for more NEWS, and sorry for anything notable I left out! BUGS * There's a `concurrent map write` bug in the semaphore implementation which is fixed in git master. Since it was a race, it was only caught after this release was made. I should also figure out if the sema check should go after the BackPoke or not. MISC We're still looking for new contributors, and there are easy, medium and hard issues available! You're also welcome to suggest your own! Please join us in #mgmtconfig on Freenode IRC, or ping this list if you'd like help getting started! THANKS Thanks (alphabetically) to everyone who contributed to the latest release: James Shubin, Julien Pivotto, Michael Borden. We had 3 unique committers since 0.0.9, and have had 30 overall. Happy hacking, James -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: From purpleidea at gmail.com Thu Mar 16 13:57:44 2017 From: purpleidea at gmail.com (James) Date: Thu, 16 Mar 2017 09:57:44 -0400 Subject: [mgmt] release: 0.0.11 Message-ID: <1489672664.18516.9.camel@gmail.com> I've just released version 0.0.11 of mgmt! NEWS ?20 files changed, 579 insertions(+), 126 deletions(-) * Added a missing mutex around the semaphore map which prevents occasional panics * Removed exec pollint param which is not needed because of the poll metaparam * Fixed a state rechecking bug in exec resource (things are faster now) * Fixed the major annoyance of exec resources receiving main's signals. If we would ^C the main mgmt, the child processes would receive this too which was incorrect. * Fixed the deadlock on resource errors. This meant that previously if a resource failed, we would deadlock the graph from shutting down. This was bad and I'm glad it's now fixed. Sorry about that! * Improved the backpoke logic to not require semaphores since we used to take the lock even when we were going to backpoke which was unnecessary. * Added fast pausing to the graph. This means that a ^C or a pause transition used to wait for the whole graph to roll through, but it now finishes after the currently running resources finish executing. Read the commit messages for more background here including the discussion about a possible Interrupt() addition to the resource API. * See the git log for more NEWS, and sorry for anything notable I left out! BUGS * We're in pretty good shape now. There are some small issues, but nothing major that I don't know about. MISC We're still looking for new contributors, and there are easy, medium and hard issues available! You're also welcome to suggest your own! Please join us in #mgmtconfig on Freenode IRC, or ping this list if you'd like help getting started! THANKS Thanks (alphabetically) to everyone who contributed to the latest release: James Shubin, Julien Pivotto We had 2 unique committers since 0.0.10, and have had 30 overall. Happy hacking, James @purpleidea -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: From purpleidea at gmail.com Thu Mar 16 13:58:10 2017 From: purpleidea at gmail.com (James) Date: Thu, 16 Mar 2017 09:58:10 -0400 Subject: [mgmt] release: 0.0.11 Message-ID: <1489672690.18516.10.camel@gmail.com> I've just released version 0.0.11 of mgmt! NEWS ?20 files changed, 579 insertions(+), 126 deletions(-) * Added a missing mutex around the semaphore map which prevents occasional panics * Removed exec pollint param which is not needed because of the poll metaparam * Fixed a state rechecking bug in exec resource (things are faster now) * Fixed the major annoyance of exec resources receiving main's signals. If we would ^C the main mgmt, the child processes would receive this too which was incorrect. * Fixed the deadlock on resource errors. This meant that previously if a resource failed, we would deadlock the graph from shutting down. This was bad and I'm glad it's now fixed. Sorry about that! * Improved the backpoke logic to not require semaphores since we used to take the lock even when we were going to backpoke which was unnecessary. * Added fast pausing to the graph. This means that a ^C or a pause transition used to wait for the whole graph to roll through, but it now finishes after the currently running resources finish executing. Read the commit messages for more background here including the discussion about a possible Interrupt() addition to the resource API. * Prometheus support has been updated! * See the git log for more NEWS, and sorry for anything notable I left out! BUGS * We're in pretty good shape now. There are some small issues, but nothing major that I don't know about. MISC We're still looking for new contributors, and there are easy, medium and hard issues available! You're also welcome to suggest your own! Please join us in #mgmtconfig on Freenode IRC, or ping this list if you'd like help getting started! THANKS Thanks (alphabetically) to everyone who contributed to the latest release: James Shubin, Julien Pivotto We had 2 unique committers since 0.0.10, and have had 30 overall. Happy hacking, James @purpleidea -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: