Skip to content
Main Menu
  • Home
  • About

Desk Shell

Technology Makes Life Better!

  • Home
  • About

data consistence between cache and database — cache aside

2024-03-232024-04-14 Leon Xie

One question that may be frequently asked during an interview is that how you ensure data consistence between cache and database in an application. In this post, I will introduce some possible solutions and their drawbacks. While some of them… Read More

database, rediscache, cache aside, consistence, database, redisLeave a comment

an introduction to channels in golang

2024-02-142024-03-24 Leon Xie

Channels are commonly used to communicate messages among goroutines in golang. In this post, I will briefly introduce the channels in golang. Goroutines are light-weight threads in golang. When a goroutine wants to communicate with another goroutine, it can use… Read More

golangchannel, golangLeave a comment

introduce curl command

2023-03-182023-03-18 Leon Xie

Recently I used curl command a lot in several Continuous Integration projects. I wrote this post to summarize a few commonly-used options. -s This option enables silent mode,  in which progress bar and error messages will not shown -S This… Read More

curl, linuxcurlLeave a comment

two useful clients about ssh and vnc in ubuntu

2023-02-202023-03-19 Leon Xie

I used Ubuntu Linux as development environment heavily in my daily work. It took me some time to find some useful tools. In this post, I record two of them as below: 1) vnc client Vinagre is the default remote… Read More

linux, sshlinux, ssh, ubuntu, vncLeave a comment

variable indirect expansion in bash

2023-01-132023-03-19 Leon Xie

Usually in Bash scripting, we define a variable by giving it a name. and reference it later by using that name in the form of ‘${variable_name}’. This is the usual use case. However, there is another unusual use case. The… Read More

bash, linuxbash, linuxLeave a comment

a few tips for apt configuration

2022-12-022023-04-02 Leon Xie

apt or apt-get is widely used as the package manager in Debian Linux and its downstream Linux distribution, such as Ubuntu. There are a lot configuration parameters. In this post, I will mainly describe two of them. 1. Acquire::https::Verify-Peer Due… Read More

apt, debian, linux, ubuntuapt, debianLeave a comment

use ip command to show statistics about transferred and received packages

2022-03-172022-09-17 Leon Xie

The traditional ifconfig command can show the statistics about transferred and received packages on any network interface card in Linux. However, ifconfig command has been deprecated. ip command is the successor. The -s option can be used in ip command… Read More

linuxifconfig, ip, linuxLeave a comment

2022 is a new start point

2022-02-032024-03-23 Leon Xie

2022 Chinese Spring Festival starts a new year for Chinese people. Recalling the life in 2021, I made a important decision in my lifetime. I moved from one city to another city, which is far from my hometown. This change… Read More

uncategorizedLeave a comment

pitfall when using docker file mount

2021-09-16 Leon Xie

A few days ago I mounted a file in the docker host to a file in a docker container when starting a docker container. However, when I edited the file in the docker host, the file change was not reflected… Read More

dockerdocker, nano, vimLeave a comment

a good book about iptables

2021-09-112021-09-11 Leon Xie

iptables is widely used in Linux to manipulate network packets. There are a lot of blog posts about its usage. I also recommend one here: https://www.frozentux.net/documents/iptables-tutorial/ This book contains many use cases and command parameter explanation about iptables. It alos… Read More

iptables, linuxiptables, linuxLeave a comment

Posts pagination

1 2 … 9 Next

Recent Posts

  • data consistence between cache and database — cache aside
  • an introduction to channels in golang
  • introduce curl command
  • two useful clients about ssh and vnc in ubuntu
  • variable indirect expansion in bash

Recent Comments

  • John on raw.githubusercontent.com的DNS记录被污染了
  • Anonymous on disk block size vs filesystem block size
  • Leon Xie on hello world

Archives

  • March 2024
  • February 2024
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • March 2022
  • February 2022
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • February 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018

Categories

  • ansible
  • apt
  • bash
  • certificate
  • curl
  • data-struct
  • database
  • debian
  • docker
  • etcd
  • git
  • golang
  • gradle
  • helm
  • iptables
  • java
  • jenkins
  • junit
  • jvm
  • kubernetes
  • linux
  • mariadb
  • maven
  • nginx
  • nodejs
  • npm
  • openssl
  • oracle
  • prometheus
  • python
  • redis
  • rhel
  • robot
  • route
  • rsa
  • springboot
  • sql
  • ssh
  • tls
  • tree
  • ubuntu
  • uncategorized
  • zookeeper

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © All rights reserved.
Education Mind by Axle Themes