-
Deploy Sharded MongoDB Cluster on Ubuntu 22.04
On Ubuntu 22.04, to set up a MongoDB cluster, you must first install MongoDB on each node in the cluster. While you can use the apt-get command to install MongoDB, the default version available in Ubuntu’s official package repositories may be outdated. To ensure you’re using the latest version, install MongoDB directly from the official…
-
Fixing Git:git@gitlab.com: Permission denied(publicly) with VSCODE on macOS
Recently, I switched my gitlab repository from https authorization to ssh authorization. When I was generating the ssh key. I set a passphrase. And with the newer version of macOS, on default the ssh agent might not be able to auto remember this passphrase which could lead to an error when using the integrated version…
-
How to Share GRPC Proto Buffers Files Across Microservices
In this article, I will briefly introduce the ways of sharing GRPC Proto Buffers files across different microservices. Background: The Problem of Proto Buffers File Sharing Between the Clients and Servers Nowadays, more and more projects are using MicroService Structure. But after we broke our project data processing pipeline into microservice, it’s very important for…
-
An Implementation of eTOM Model as A User Account Management Database Design
In this article, I’m going to introduce a way of designing the user management system. I will represent those models by diagram or Prisma models. Introduction to the eTOM Model The classic eTOM model(Enhanced Telecom Operation Map) is a classic business process framework that is used widely by telecom service providers as an account manager…
-
Kafka Partition, Explained-(What is Kafka Partition)
Partition plays a core role in Kafka, it affects Kafka’s storage structure and the way Kafka produce and consume messages. It’s very important for us to fully understand the partition before we do a deep dive into the Kafka. In this article, I will show the concept, structure and the role it plays in Kafka.…
-
Obtain Ubuntu Server Raid Information And Data Restoration
Introduction Nowadays, there are many servers using Ubuntu Server as the operation system. And in production environment, it’s very important for the developers to set up the servers with raid configuration to speed up the disk IO and provide data protection. Mostly, for our developers, we are not the ones to set up the servers.…