Skip to content
Example of a C# pattern for handling long running jobs in a REST microservice or other cloud environment, using Couchbase as the backing data store
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CouchbaseRestfulJobPattern
couchbase
.dockerignore
.gitignore
CouchbaseRestfulJobPattern.sln
LICENSE
README.md
docker-compose.dcproj
docker-compose.override.yml
docker-compose.yml

README.md

Couchbase Restful Job Pattern

This repository provides an example of a C# pattern for handling long running jobs in a REST microservice or other cloud environment, using Couchbase as the backing data store. However, this pattern could be used for any distributed data storage mechanism capable of atomic writes for lock management.

More information about this example is available on my blog: https://btburnett.com/couchbase/microservices/rest/2018/12/06/a-restuful-job-pattern-for-a-csharp-microservice.html

Prerequisites

  1. Visual Studio (sorry, no VSCode at the moment)
  2. Docker for Windows
  3. Docker must be configured for Linux containers (the default)
  4. The drive where this project lives must be shared within Docker

Running the Sample

Just set the startup project in Visual Studio to be the "docker-compose" project and hit F5. A copy of Couchbase is built into the docker-compose project and will be started and configured within a Linux container.

Note: The first time you run the project it may take a while as it downloads all the required Docker images and configures Couchbase.

You can’t perform that action at this time.