Exploring and Sharing Software, Architecture, Tools and Techniques

  • 19 Sep 2020

    Memoized Function with TTL

    Lodash.memoize creates a function that memoizes the result of the function passed as a parameter. This is great if you want cache the result of an expensive function. However, lodash.memoize ...

  • 31 Aug 2017

    Amazon EC2 Container Service Deployment using Terraform

    Overview We have a number of individual micro-services and want to have a continuous delivery system with an on demand deployment to various internal and external environments. After using ...

Next  

Next  

  • Memoized Function with TTL

    Lodash.memoize creates a function that memoizes the result of the function passed as a parameter. This is great if you want cache the result of an expensive function. However, lodash.memoize doesn’t support a TTL or expiry, but it does let you customise the underlying cache it uses. So, if for example you want to cache the...

  • Amazon EC2 Container Service Deployment using Terraform

    Overview We have a number of individual micro-services and want to have a continuous delivery system with an on demand deployment to various internal and external environments. After using codeship for a while we decided to use Jenkins CI to implement our pipeline to give us a little more control. Furthermore, to reduce costs we...

  • A Multi-Threaded Background Processing Pipeline for .NET

    In this article I’ll be illustrating an architecture for a background processing pipeline in .NET. I use a similar architecture as part of my PhD project to process large amounts of data coming from Kinect using Open CV on a background thread. In my application each frame contains approx 9MB of data and Kinect runs...

  • Kinect for Xbox One Colour Depth Map using Helix Toolkit and WPF

    The Helix Toolkit is one of the easiest ways I’ve found to quickly add 3D features to a WPF Application.   KinectV2 (Kinect for XBox One) is a motion capture device designed for gaming. It comes with a free SDK making it super easy to build KinectV2 apps for windows. In just a few lines of code...

  • Backing up your Multi-Site WordPress Blog to AWS S3

    Today I’ll be demonstrating how to back up a wordpress blog to Amazon S3 storage using the free version of the BackWPup plugin. If you are already hosting your wordpress site on AWS, then backing up to S3 makes sense. S3 is a robust, secure and easy to use cloud storage solution. S3 is not...