From gavin.jackson at gmail.com Thu Aug 7 07:11:06 2014 From: gavin.jackson at gmail.com (Gavin Jackson) Date: Thu, 7 Aug 2014 15:11:06 +1000 Subject: [Canberra-PUG] Don't forget, new location tonight! Message-ID: Hi guys, Just a quick reminder that the meeting tonight will be held at the new location - the Peoplebank boardroom in civic. More details can be found here: https://plus.google.com/u/0/events/cadq1c6sfl329mqokh9b76js6to Tonights talk (at 6pm) is "Using Python to automate geoprocessing" by Jonah Sullivan. Cheers, Gav {e} gavin.jackson at gmail.com {mb} 0422 443 980 {skype} gavin6252 {twitter} @gavz {blog} www.gavinj.net {g+} profiles.google.com/gavin.jackson -------------- next part -------------- An HTML attachment was scrubbed... URL: From gavin.jackson at gmail.com Sat Aug 30 00:49:41 2014 From: gavin.jackson at gmail.com (Gavin Jackson) Date: Sat, 30 Aug 2014 08:49:41 +1000 Subject: [Canberra-PUG] CPUG - September Meeting - Database Scaling and Listen/Notify Message-ID: Hi all, Still a few more days left of winter and we can definitely see the seasons changing! To celebrate this lets meet up to discuss python and databases! Thursday 4th September at 6pm **PLEASE NOTE: NEW MEETING LOCATION - PeopleBank Offices** Pizza, drinks and location are kindly sponsored by Peoplebank. For latest details, and to rsvp for the event - please click here: https://plus.google.com/u/0/events/c19u0obm4tkb63ia2qoqt4jfc8g *Presentation 1* Coding for Scale, when one database doesn't cut it (40 mins) - Daniel Black, Openquery *Presentation 1 Abstract* So you code away, have a nice project, people start using it, and then quite rapidly the database can't keep up. You've optimised every query, and adding more servers can't be made to work with your code and you're in a pickle. Sure you can scale up the server to a point, but you've reached a limit where you need to add more. And now you've got a not-so-nice new project to re-implement it. I'll talk about how to rewrite that code (or write it correctly first) so code can actually can operate on more that one database server. Because the type of database cluster can vary, and database developers drop functionality like immediate consistency and call them features too, we'll look at those deficiencies/features and describe workaround features so your application can do the right thing with more database servers. I'll provide examples from MySQL, MariaDB version 10 and Galera however concepts apply to other database too. *Daniel Black - Bio* Working at Open Query (http://openquery.com.au) as MySQL/MariaDB engineer, linkedin profile: http://au.linkedin.com/pub/daniel-black/90/884/a4a *Presentation 2* Building asynchronous email notifications using postgresql listen/notify, twisted and psychopg (20 mins) - Gavin Jackson, Les Mills Asia Pacific *Presentation 2 Abstract* Postgresql has a pretty cool feature called LISTEN/NOTIFY that (when used with twisted and psychopg) allows you to register code to a listen channel and execute when a notify message is sent to that channel. We use this internally to trigger immediate emails to users when system events occur (for example, when a new user is registered, a welcome email gets sent out immediately). For more details, check out: http://www.divillo.com/ *Gavin Jackson - Bio* Software Engineering Manager at Les Mills Asia Pacific (lots of Python/Java/Postgresql), check out www.gavinj.net, add me to your linked in network http://au.linkedin.com/in/gavin6252/? Cheers, Gav {e} gavin.jackson at gmail.com {mb} 0422 443 980 {skype} gavin6252 {twitter} @gavz {blog} www.gavinj.net {g+} profiles.google.com/gavin.jackson -------------- next part -------------- An HTML attachment was scrubbed... URL: