Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 CLOUD


  4 deployment modes of Redis

As a high-performance in-memory database, Redis is widely used in current mainstream distributed architecture systems. To improve system fault tolerance, using multiple instances of Redis is also inevitable, but the complexity is much higher than that of a single instance. This article mainly introduces the four deployment modes of Redis and their advantages and disadvantages.StandaloneStandalone mode is to install a Redis, start it, and business connects to it and that's all. The specific installation and startup steps are not repeated here. Standalone mode is also used in many scenarios, suc...

3,896 0       CLUSTER SENTINEL MASTER-SLAVE STANDALONE REDIS


  Why is single threaded Redis so fast

Redis is a high-performance, in-memory key-value database. According to official test reports, it can support around 100,000 QPS (queries per second) on a single machine. However, Redis uses a single-threaded architecture in its design.Why does Redis still have such high performance with a single-threaded design? Wouldn't it be better to use multiple threads for concurrent request processing?In this article, let's explore why Redis has a single-threaded architecture and still maintains its speed. The focus is on the following four aspects:Data storage in memoryEfficient data structuresSingle-t...

6,061 0       MULTI-THREADING SINGLE-THREADED REDIS


  Google transferred a domain name to a Chinese company for free

Google just completed a domain transfer to another company in China. The interesting part is that this domain transfer is for free. The story begins with a recent tweet from the CEO Dash Huang of a Chinese game company called X.D. Network Inc who claims that they obtained the domain name taptap.cn from Google for free.From the tweet, Mr. Huang expressed his appreciation to Google for freely transferring the domain name taptap.cn to their company. Their company launched some product called taptap which is a game lookup community and they were trying to register the domain name bu...

1,353 0       TAPTAP TAPTAP.CN GOOGLE


  Kubernetes Authentication & Authorization 101

If we want to build a system with user modules, Authentication and Authorization are something that we can never ignore, though they could be fuzzy to understand.Authentication (from Greek: αὐθεντικÏŒς authentikos, “real, genuine”, from αὐθέντης authentes, “author”) is the act of proving an assertion, such as the identity of a computer system user — from wikiAuthorization is the function of specifying access rights/privil...

2,290 0       KUBERNETES AUTHENTICATION AUTHORIZATION RBAC


  Install Kubernetes with minikube and docker on Ubuntu

When someone just wants to play around Kubernetes on its local environment without accessing to Cloud provider resources, one can set Kubernetes up on local environment with minikube with single node mode.This post will provide a simple guideline on how to set up KUbernetes with minikube and docker on Ubuntu.Before all the steps can be started, you may need to first set up kubectl which is a command line tool to operate on Kubernetes resources.Post that, can ensure that docker is installed on Ubuntu, in case it's not installed, can follow below steps.Update local software repository databasesu...

1,812 0       UBUNTU DOCKER KUBERNETES MINIKUBE


  A walk through of different ways accessing Kubernetes application

When a web application is deployed on KUbernetes, to access the application, there must be some set up needs to be done so that external users can access the resource within the Kubernetes clusters. IN this post, we will walk through different ways to access application from outside.Before exploring different ways, let's set up a simple nginx eb application which will just serve the nginx welcome message when loading.# deployment.yamlapiVersion: apps/v1kind: Deploymentmetadata: name: nginx-deploymentspec: selector: matchLabels: app: nginx replicas: 2 # tells deployment to run 2 pods...

5,468 4       LOADBALANCER NODEPORT CLUSTERIP SERVICE PORT FORWARD KUBERNETES INGRESS


  Breakdown Kubernetes Container Runtime

Keeping on learning Kubernetes piece by piece and having a deeper understanding of its advantages, I am no longer shocked at its rapid development and popularity.Though backed by big companies like Google is undoubtedly the push, its design, features, and convenience are the biggest attraction. Most of all, it disintegrates the monolithic Internet system governance and lifecycle and offers a new management method.Kubernetes is a set of concepts, including various resource types like Pod, Deployment, control plane, and different components like Node, APIServer, etcd, etc., which may take years ...

1,971 0       CONTAINER KUBERNETES


  Kubernetes: Docker out

Recently,The hottest news in the Kubernetes circle that docker will be deprecated has been confirmed by the release of 1.20.Docker support in the Kubelet is now deprecated and will be removed in a future release. The Kubelet uses a module called “dockershim” which implements CRI support for Docker and it has seen maintenance issues in the Kubernetes community. We encourage you to evaluate moving to a container runtime that is a full-fledged implementation of CRI (v1alpha1 or v1 compliant) as they become available. — from Kubernetes 1.20 changelogThe news caused a tremend...

3,184 0       KUBERNETES DOCKER DOCKERSHIM