Skip to content

Instantly share code, notes, and snippets.

Brant Burnett brantburnett

Block or report user

Report or block brantburnett

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
brantburnett / docker-compose.override.yml
Created Sep 30, 2019
Docker Compose Couchbase Example
View docker-compose.override.yml
version: '3.4'
# This file applies override values that are add to the values in the first file when run in Visual Studio
# The idea is that you might use docker-compose up on the command line for the first file for other testing outside VS
- "80"
brantburnett /
Last active Nov 3, 2019
Couchbase EC2 NVMe Userdata Script
# Include as user data during instance startup, or run as root using sudo
# Assumes that you are using an i3 instance type with NVMe instance storage attached
# Set swappiness to zero
sysctl vm.swappiness=0
echo "vm.swappiness = 0" >> /etc/sysctl.conf
# Disable transparent huge pages
cat > /etc/init.d/disable-thp <<- 'EOM'
brantburnett /
Created Oct 4, 2016
Proposal for handling synchronous methods in the .Net Standard version of the Couchbase .Net SDK

Couchbase .Net Standard 1.5 Sync Methods


In .Net Core, .Net Standard, and other related technologies Microsoft has moved away from synchronous method implementations for any method that may involve latency. Instead, they favor only offering async methods. This is especially true for any methods that involve I/O, such as network connections, streams, file access, etc. This forces the consuming developer to recognize the inherently asynchronous nature of the operation and develop their application based on this knowledge. It becomes a syntax-level and compiler recognized way to ensure that developers recognize the delays involved in the operation they are performing.

brantburnett /
Created Jul 22, 2016
Discussion regarding different approaches to implementing .Net Core support in the Couchbase .Net Client

Couchbase .Net Core Support


This document describes various approaches that might be used to add .Net Core support to the Couchbase .Net SDK. It is based upon some preexisting work that has already been completed, detailed in

Understanding .Net Standard

It is important to understand the basic precepts behind .Net Standard in order to understand this document.

You can’t perform that action at this time.