Author
Fast Failover with Couchbase Server 5.0
Fast failover is one of the many improvements that come with the release of Couchbase Server 5.0 (now available for download). Failover is one of the important concepts to understand when it comes to distributed databases. The CAP theorem states...
Performance Testing and Load Testing Couchbase with Pillowfight
Performance testing and load testing are important processes to help you make sure you are production ready. For testing Couchbase Server clusters, there is an open-source command line utility called “cbc-pillowfight”. It’s part of libcouchbase. Before you begin You’ll need...
Distributed session management with ASP.NET Core and Couchbase
Distributed session is a way for you to store your session state outside of your ASP.NET Core application. Using Couchbase to store session state can help you when you need to scale your web site, especially if you don’t want...
Azure Functions and Lazy Initialization with Couchbase Server
Azure Functions are still new to me, and I’m learning as I’m going. I blogged about my foray into Azure Functions with Couchbase over a month ago. Right after I posted that, I got some helpful feedback about the way...
Powershell with the Couchbase REST API
PowerShell is a scripting environment / command line that comes with Windows and is also available for Linux and within Azure. Maybe you’ve used Postman or Fiddler to make HTTP requests. Those are great, but not necessarily the right tools...
Dependency Injection with ASP.NET Core and Couchbase
Dependency Injection is a design pattern that makes coding easier. It saves you the hassle of instantiating objects with complex dependencies, and it makes it easier for you to write tests. With the Couchbase.Extensions.DependencyInjection library (GitHub), you can use Couchbase...
Distributed caching with ASP.NET Core and Couchbase
Distributed caching can help to improve performance of an ASP.NET Core application. This is especially true for an ASP.NET application that’s deployed to a server farm or scalable cloud environment. Using Couchbase Server for caching is one of the many...
Aggregate grouping with N1QL / MapReduce
Aggregate grouping is what I’m titling this blog post, but I don’t know if it’s the best name. Have you ever used MySQL’s GROUP_CONCAT function or the FOR XML PATH('') workaround in SQL Server? That’s basically what I’m writing about...
Azure: Getting Started is Easy and Free
Azure is where Microsoft is spending a lot of its efforts lately. Microsoft is dedicated to making Azure a success. As someone who started working with Azure a little in the early days, I can say that it’s come a...
Azure Functions with Couchbase Server
Azure Functions are Microsoft’s answer to Amazon’s Lambdas or Google’s Cloud Functions (aka “serverless” architecture). They give you a way to deploy small pieces of code, and let Azure handle the underlying server. I’ve never used them before, so I...
SQL Server and Couchbase side-by-side (video)
SQL Server is compared (and contrasted) with Couchbase Server in this video. If you are averse to video, you can check out the corresponding blog post series I wrote a few months ago that covers the same material: Part 1...
Converting XML to JSON In C# Using Json.NET
Converting XML to JSON data that can be loaded into Couchbase Server can be accomplished with a little bit of .NET. Depending on the source of the data, you might be able to use a tool like Talend. But you...