Replicated State Library. RSL is the Azure Paxos implementation which is used by multiple products in Azure and Bing. It provides the traditional Paxos functionality in a real world implementation. RSL includes support for dynamic replica set reconfiguration, including dynamic growth/srinking of the cluster, and also service-healing (replica replacement). RSL automates the durability of the state (by means of both durable journal files, and periodic snapshots). RSL allows multi-rings per process, allowing a single process to be part of multiple rings at the same time. RSL is implemented in C/C++ and provides a C# wrapper that naturally integrates with C# applications. RSL is widely used in Azure for a large number of infrastructure components, ranging from Azure Fabric Controller, to Azure Storage.
Перейти к файлу
microsoft-github-policy-service[bot] 15c7eeb8a6
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-03-28 16:45:50 +00:00
.config
ossbuild
src
.gitignore
LICENSE
README.md
SECURITY.md

README.md

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

How to build

Prerequisite

Install the latest version of Git for Windows for working with the repo.

Install Visual Studio 2017 with Windows desktop C# and C++ support. Either Professional or Enterprise edition will work, Community edition is not tested.

NuGet should be already installed with Visual Studio 2017. If you choose to install MSBuild / .NET SDK / Windows SDK, then install the command line version. NuGet is required to restore several packages before the build.

Bootstrap the development environment

In Start Menu (or whatever equivalent), find "Visual Studio 2017", open "visual Studio Tools" folder, click "Developer Command Prompt for VS 2017". A command prompt will show up, where one may run MSBuild, C# and C++ compilers.

Change to the ossbuild directory in the repo, start PowerShell, and run ossbuild.ps1. The script will restore all required packages, generate a file for package definitions, and set several environment variables.

Build the source code

Go to any directory at root, src, or under src, run MSBuild like what you normally do. The binaries are saved at out directory under the repo root.

The projects are designed to be built in parallel. If the number of processor is 8 (check the environment variable NUMBER_OF_PROCESSOR), the recommended command to build is:

msbuild /m:8 /v:m /fl

The second argument sets the verbosity to minimal.

Build in Visual Studio IDE

Once in the bootstrapped PowerShell window, one can open any project or src\RSL.sln in VS IDE.