Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

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

Resources

License

Releases

No releases published

Packages

No packages published