<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>流水号 on 冯威的博客</title><link>https://fwhyy.com/tags/%E6%B5%81%E6%B0%B4%E5%8F%B7/</link><description>Recent content in 流水号 on 冯威的博客</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 14 Sep 2019 23:30:19 +0800</lastBuildDate><atom:link href="https://fwhyy.com/tags/%E6%B5%81%E6%B0%B4%E5%8F%B7/atom.xml" rel="self" type="application/rss+xml"/><item><title>dotNET Core实现分布式环境下的流水号唯一</title><link>https://fwhyy.com/2019/09/implementation-of-unique-pipeline-number-in-distributed-environment-by-dotnet-core/</link><pubDate>Sat, 14 Sep 2019 23:30:19 +0800</pubDate><guid>https://fwhyy.com/2019/09/implementation-of-unique-pipeline-number-in-distributed-environment-by-dotnet-core/</guid><description>&lt;h2 id="业务背景"&gt;业务背景&lt;/h2&gt;
&lt;p&gt;在管理系统中，很多功能模块都会涉及到各种类型的编号，例如：流程编号、订单号、合同编号等等。编号各有各自的规则，但通常有一个流水号来确定编号的唯一性，保证流水号的唯一，在不同的环境中实现方式有所不同。本文将介绍在单机和分布式环境中保证流水号唯一的方式。&lt;/p&gt;</description></item></channel></rss>