期刊文献+

基于Go实现的分布式主键系统研究 被引量:1

Research on distributed primary key system based on Go
下载PDF
导出
摘要 随着时代的发展,互联网业务量的提升,越来越多的公司使用了微服务,在此趋势下,分布式主键变得越来越重要。目前,分布式主键的实现方式较多,有基于数据库自增的、基于UUID的、基于Redis自增的、基于数据库号段的。同时,越来越多的公司开始普及使用雪花算法,但是在使用过程中,存在着很多不足:其一,无论什么样的分布式主键都有着各自的缺陷,不能满足日益复杂的使用场景;其二,在业务开发过程中,为了满足各种各样的主键需求,需要实现不同的分布式主键。这加大了开发难度,也容易在分布式主键上产生很多问题,需要一个统一的分布式主键生成系统,支持多种类型的分布式主键,优化现有的分布式主键存在的问题。 With the development of The Times and the increase of business volume, more and more companies have used micro services. In this trend, distributed primary keys are becoming more and more important. At present, there are many ways to implement distributed primary keys, including those based on database increment, UUID, Redis increment, and database number segment. At the same time, more and more companies are beginning to popularize the snowflake algorithm. However, in the process of use, there are many deficiencies. First, various distributed primary key implementations have their own shortcomings and cannot meet increasingly complex usage scenarios. Second, in the process of business development, in order to meet the various primary key requirements, you need to realize different distributed primary keys. This makes development more difficult and creates many problems with distributed primary keys. In order to solve these problems, it is necessary to implement a unified distributed primary key generation system. In this system, it is necessary to support multiple types of distributed primary keys and optimize the problems existing in the existing distributed primary keys. Greatly emancipate the productivity of business developers, improve the efficiency of company development.
作者 秦攀科 李有卿 Qin Panke;Li Youqing(School of Computing,Henan Polytechnic University,Jiaozuo 454000,China)
出处 《无线互联科技》 2022年第15期51-55,共5页 Wireless Internet Technology
关键词 雪花算法 分布式主键 Grpc Go语言 snowflakes algorithm distributed primary key Grpc Go lang
  • 相关文献

参考文献15

二级参考文献58

  • 1宋云奎,吴文鹏,赵磊,莫剑峰,黄俊涛.基于Redis的分布式数据存储方法[J].计算机产品与流通,2020,0(8):106-106. 被引量:12
  • 2王伟晨.基于布隆过滤器算法的数据检索误判率研究[J].计算机产品与流通,2020,0(3):260-261. 被引量:2
  • 3钟兆超,钟福连.浅谈数据库主键的设计方法[J].硅谷,2008,1(20). 被引量:2
  • 4刘相,杨伟民,张幸.基于设计模式的EJB主键生成策略的研究[J].上海理工大学学报,2006,28(2):201-204. 被引量:3
  • 5A Universally Unique IDentifier(UUID)URN Namespace,http://tools.ietf.org/html/rfc4122.
  • 6CHANG F, DEAN J, GHEMAWAT S, et al. BigTable: a distributed storage system for structured data [J]. ACM transactions on computer systems, 2008, 26(2): Article No. 4.
  • 7DECANDIA G, HASTORUN D, JAMPANI M, et al. Dynamo: Amazon's highly available key-value store [C]// SOSP'07: Proceedings of the Twenty-First ACM SIGOPS Symposium on Operating Systems Principles. New York: ACM, 2007: 205-220.
  • 8CALDER B, WANG J, OGUS A, et al. Windows azure storage: a highly available cloud storage service with strong consistency [C]// Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles. New York: ACM, 2011: 143-157.
  • 9The Apache Software Foundation. Apache HBase [EB/OL]. [2015-06-09]. http://hbase.apache.org/.
  • 10LAKSHMAN A, MALIK P. Cassandra: a decentralized structured storage system [C]// Proceedings of ACM SIGOPS Operating Systems Review. New York: ACM, 2010: 35-40.

共引文献62

同被引文献7

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部