using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; public unsafe class Model { public int Id { get; set[......]继续阅读

2022年3月29日 1条评论 106点热度 1人点赞 痴者工良 阅读全文

using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; public unsafe class Model { public int Id { get; set[......]继续阅读

2022年3月29日 1条评论 2554点热度 1人点赞 痴者工良 阅读全文

What is DDD Domain Model What is a domain model? A domain model is a software model that pertains to a specific business domain. Typically, a domain m[......] 继续阅读

2022年3月29日 0条评论 126点热度 0人点赞 痴者工良 阅读全文

阅读《实现领域驱动设计》做的小笔记。 什么是 DDD 领域模型 什么是领域模型?领域模型是关于某个特定业务领域的软件模型。通常,领域模型通过对象模型来实现,这些对象同时包含了数据和行为,并且表达了准确的业务含义。 领域模型即 DDD 中强调的建模,要设计一个模型,需要考虑三点: 为什么要建模; [......] 继续阅读

2022年3月29日 0条评论 2963点热度 0人点赞 痴者工良 阅读全文

提前配置 mysql,然后通过 docker 单机配置启动 NACOS。 docker run -itd -p 8848:8848 -p 9848:9848 -p 9849:9849 -e SPRING_DATASOURCE_PLATFORM=mysql -e MYSQL_SERVICE_HOST[......]继续阅读

2022年3月2日 0条评论 104点热度 0人点赞 痴者工良 阅读全文

提前配置 mysql,然后通过 docker 单机配置启动 NACOS。 docker run -itd -p 8848:8848 -p 9848:9848 -p 9849:9849 -e SPRING_DATASOURCE_PLATFORM=mysql -e MYSQL_SERVICE_HOST[......]继续阅读

2022年3月2日 0条评论 2539点热度 0人点赞 痴者工良 阅读全文

Docker Apache Pulsar is a cloud-native distributed messaging and streaming platform originally created by Yahoo!. It is now a top-level project of the[......] 继续阅读

2022年2月24日 0条评论 4259点热度 0人点赞 痴者工良 阅读全文

Docker Apache Pulsar 是一个云原生的分布式消息传递和流媒体平台,最初由 Yahoo! 创建。现在是顶级 Apache 软件基金会项目. 而 pulsar-manager 是管理 Pulsar 的一个 web 工具。 https://github.com/apache/pulsar[......] 继续阅读

2022年2月24日 0条评论 4301点热度 0人点赞 痴者工良 阅读全文

Kubernetes Logging and EFK Logging Solution This article mainly references the following two articles and integrates and translates their contents. ht[......] 继续阅读

2022年2月14日 0条评论 3134点热度 0人点赞 痴者工良 阅读全文

Kubernetes 日志 和 EFK 日志方案 本文主要参考以下两个文章,对文章内容进行翻译整合。 https://devopscube.com/kubernetes-logging-tutorial/ https://devopscube.com/setup-efk-stack-on-kuber[......] 继续阅读

2022年2月14日 0条评论 3132点热度 0人点赞 痴者工良 阅读全文

During the New Year's holiday, I studied some domain-driven design knowledge. Here is a summary. In domain-driven design, layered architecture is an i[......] 继续阅读

2022年2月14日 2条评论 3562点热度 0人点赞 痴者工良 阅读全文

过年假期在学习了一些领域驱动知识,这里做个汇总。 在领域驱动设计中,程序进行分层,是其重要的一部分,因此这里以分层开始,逐步了解 DDD 中的一些概念。 数据映射层 首先第一步是数据库,数据库这一部分是持久层,负责实体对象和数据库表的映射以及数据库连接配置、数据库上下文配置、ORM 配置等,数据库和[......] 继续阅读

2022年2月14日 2条评论 3598点热度 0人点赞 痴者工良 阅读全文

Kubernetes Monitoring When your application is deployed to Kubernetes, it becomes challenging to see what is happening inside the containers. Once a c[......] 继续阅读

2022年2月13日 0条评论 2078点热度 0人点赞 痴者工良 阅读全文

Kubernetes 监控 当你的应用部署到 Kubenetes 后,你很难看到容器内部发生了什么,一旦容器死掉,里面的数据可能就永远无法恢复,甚至无法查看日志以定位问题所在,何况一个应用可能存在很多个实例,用户的一个请求不指定被哪个容器处理了,这使得在 Kubernetes 中对应用进行故障排除较[......] 继续阅读

2022年2月13日 0条评论 2056点热度 0人点赞 痴者工良 阅读全文

Database Sharding Generally speaking, database sharding has the following methods: Hash-based sharding: Calculating the hash value based on the ident[......] 继续阅读

2022年2月6日 0条评论 2777点热度 0人点赞 痴者工良 阅读全文

分库分表 一般来说,数据库分库分表,有以下做法: 按哈希分片:根据一条数据的标识计算哈希值,将其分配到特定的数据库引擎中; 按范围分片:根据一条数据的标识(一般是值),将其分配到特定的数据库引擎中; 按列表分片:根据某些字段的标识,如果符合条件则分配到特定的数据库引擎中。 分库分表的[......] 继续阅读

2022年2月6日 0条评论 2737点热度 0人点赞 痴者工良 阅读全文

What to Write Not long ago, I wrote a project using C#, which utilizes the Kubernetes API Server to retrieve information and monitor Kubernetes resour[......] 继续阅读

2022年1月24日 0条评论 120点热度 2人点赞 痴者工良 阅读全文

写什么呢 前段时间使用 C# 写了个项目,使用 Kubernetes API Server,获取信息以及监控 Kubernetes 资源,然后结合 Neting 做 API 网关。 体验地址 http://neting.whuanle.cn:30080/ 账号 admin,密码 admin123 [......] 继续阅读

2022年1月24日 0条评论 2568点热度 2人点赞 痴者工良 阅读全文

rsync is a data mirroring and backup tool for Linux systems. Using the fast incremental backup tool Remote Sync allows for remote synchronization, sup[......] 继续阅读

2022年1月21日 0条评论 138点热度 0人点赞 痴者工良 阅读全文

rsync 是 linux 系统下的数据镜像备份工具。使用快速增量备份工具Remote Sync可以远程同步,支持本地复制,或者与其他 SSH、rsync 主机同步。 rsync 可以镜像保存整个目录树和文件系统。可以很容易做到保持原来文件的权限、时间、软硬链接等等。无须特殊权限即可安装。 快速:第[......] 继续阅读

2022年1月21日 0条评论 3543点热度 0人点赞 痴者工良 阅读全文
1181920212254