March 13, 2019

Relocating ticket Work via GIT

Mis-referencing work on branches and feature branches happens.

GIT provides renaming and history-altering tools to help us fix our silly mistakes.

This post runs through a rather simple way to relocate work from one ticketing reference setup to another using SourceTree GIT management tools.

February 13, 2019

Using Postman Environment Variables to Help Make Ease of API Development

When developing or testing APIs, Postman makes the job simple for us. There are many tools available that we can use to do our development or testing with ease. What I found to be most beneficial are environment variables. If you are working with many different environments, you may set up each with any authorization tokens, urls, or any other variables you find necessary to set. After setting up your variables and building your request, all that’s left is to select your environment and make your call.

January 13, 2019

Using insertDesignDocument to Add Views

If you have multiple views to set up, this is something that should not be overlooked. It is well worth the time setting up a service to import all of your views automatically. It will save both yourself and others the pain of manually adding views in Couchbase. 

December 13, 2018

Couchbase – Big OFFSETs can be a big problem

Dealing with large data sets and big data can often call for new techniques to optimize performance.  When you have a few million documents or rows, you can do things differently than when you have to deal with tens of millions of rows or documents in either a standard SQL database or a NoSQL database like Couchbase.  One thing we noticed at CKH is that in very large document stores, the OFFSET and LIMIT style pagination on both N1QL queries and Views in Couchbase was getting slow as the OFFSET grew larger.  This becomes a problem when you want to build efficient, consistent paging into your system.  Not to worry, Couchbase provides a solution.

November 13, 2018

Multi-stage Docker Builds

Docker is a great tool for deploying scalable web applications for a large variety of technologies ranging from Node.js, Python, MySQL, and more.  We have been using Docker at Computer Know How for some time but we recently ran into a challenge with an application we were setting up for Docker.