Postgres-BDR, MongoDB, Hexastores, Sophia, Go, Powershell and more - Compose's Little Bits 44


Postgres-BDR goes 1.0, MongoDB updates the stable and development branches, a look at Hexastores, Sophia's key/value storage gets rows, Go goes 1.7, PowerShell goes open source, Github makes page publishing easier, GnuPG gets fixed randomness, Apple talks Black Hat and the world of Wikipedia in a Wikiverse - All the links that have crossed Compose's content curators web filters this week - It's Compose's Little Bits.


Postgres-BDR 1.0 - The 2ndQuadrant developers have announced Postgres-BDR 1.0, their multi-master bi-directional replication system for PostgreSQL. It's based on PostgreSQL 9.4.9 and is said to support up to 48 nodes. BDR has been the source for PostgreSQL enhancements like logical replication, replication slots and background workers, but the developers still have features in BDR they don't expect to see in PostgreSQL 9.6 or 10 and are pushing on with developing the next BDR, based on PostgreSQL 9.6.

MongoDB updates - The development only MongoDB 3.3 branch, which will become 3.4, has been updated with MongoDB 3.3.11. Interesting additions include wire protocol compression using Snappy for intra-cluster communications and an $bucketAuto stage for the aggregation framework. Meanwhile, MongoDB Inc have also rolled out MongoDB 3.2.9 in the current stable version of MongoDB with range of fixes.

Hexastores - An interesting data structure for representing graph data is the hexastore and one it turns out you can do in PostgreSQL rather neatly. As an added bonus there's a pointer to the paper on Hexastores and a link to Hexastores in Redis.

Sophia - Coming up on the Little Bits radar is Sophia - a RAM-Disk hybrid transactional key/value store. It's been about for three years and just got a new 2.2 release which adds row storage to its capabilities and a new storage architecture which claims O(1) complexity for read, writes and scans.


Go 1.7 - It's here! Go 1.7, with smaller executables and better performance in compiling and a bit of extra speed when running, has been released. The Go Vendor support (for handling external dependencies) is now locked in and the optional context package has proven so useful, it's now baked into Go's standard libraries net, net/http and os/exec. There's plenty more so head over to the release notes for the details.

PowerShell for all - Microsoft announced they have made PowerShell open source and then doubled down by releasing an alpha of their Linux and Mac OS X ports. PowerShell's thing is passing objects rather than character streams and strings through pipelines, making it easier to use when orchestrating automation or building configuration management. Don't expect it to become anyone's default shell on Linux in the near future, but there's some ideas in there worth checking out. Or you can read the inevitable frictions of when cultures collide.

Github for publishing - Github pages have been about for a while, but now Github have made it even easier to publish with simpler publishing process which lets you select the docs folder of a project to publish, rather than the entire repository. Now your code and documentation can live in the same repository - so one less excuse for not keeping the docs up to date.


GnuPG - The GnuPG project issued a fix when it was discovered that the libcrypt and GnuPG random number generator could be predicted after 4096 bits of output. The good news is apparently this is "unlikely" to weaken any keys generated, but it's also a reminder that random numbers are hard to make.

Apple's Black Hat - The video of Apple's unprecedented presentation of how they manage security across their cloud, given at Black Hat 2016, is now online and full of interesting security content.


Wikiverse - Bored of seeing Wikipedia in two dimensions with no allusions of travelling through a linked three dimensional universe of information? Then try where, although you'll max out currently at 5% of Wikipedia, your graphical travel through the data will be exquisite. It stands on the shoulders of many previous Wiki-visualisations but as we get better at managing information, we're getting better at rendering it too.

Did you know Compose is having a conference at the end of September? Check out the DataLayer conference before the Early Bird ends.

Dj Walker-Morgan
Dj Walker-Morgan is Compose's resident Content Curator, and has been both a developer and writer since Apples came in II flavors and Commodores had Pets. Love this article? Head over to Dj Walker-Morgan’s author page to keep reading.

Conquer the Data Layer

Spend your time developing apps, not managing databases.