Skip to content
Main Menu
  • Home
  • About

Desk Shell

Technology Makes Life Better!

  • Home
  • About

balanced binary search tree implementation

2025-12-192026-03-22 Leon Xie

In this blog post “Balanced Binary Search Tree“, I introduce two balanced binary search trees, which are AVLTree and RedBlackTree. AVLTree is efficient for search. Its time complexity is O(logN) for search, insertion and deletion. It usually takes one top-down… Read More

data-struct, treedata-struct, red black tree, treeLeave a comment

an introduction to young generation collection

2025-09-222026-03-22 Leon Xie

In the post ‘brief introduction to java generation memory‘, I explained the functionality of the young generation and old generation. These two generation spaces consist of the main heap of the java application. In fact, there is a third generation… Read More

javajava, jvmLeave a comment

balanced binary search tree

2025-09-152026-03-22 Leon Xie

Recently I am reading books about trees, which are data structures that can be used to stored data elements. Among various types of trees, balanced binary search tree (I will use BBST for short in this post) is a notable… Read More

data-structdata-structLeave a comment

brief introduction to java generation memory

2025-08-312026-03-22 Leon Xie

Java VM uses a generational garbage collector, which relies on the below two observations: Most allocated objects will become unreachable quickly There are few references from older object to younger objects According to the above hypothesis, Java VM divides the… Read More

javajavaLeave a comment

a few words about RSA

2025-08-162026-03-22 Leon Xie

Symmetric Key Cryptography is used to transfer a message securely between two endpoints using a shared secret key. The message is encrypted using a shared secret key in one endpoint and transferred to the other endpoint. Then the message is… Read More

rsa, tlsrsa, tlsLeave a comment

Diffie Hellman Key Exchange Algorithm

2025-08-112026-03-22 Leon Xie

In an interview, one may be asked how an security connection is established between two endpoints using TLS protocol. He may answer the below steps: 1. A client sends a ClientHello message to a server with the client capabilities 2.… Read More

tlstlsLeave a comment

recommend a website for tls handshake analysis

2025-08-082026-03-22 Leon Xie

These days I read a few articles about Transport Layer Security (TLS) protocol. I found two articles that are good enough to dive into the TLS handshake.   For TLS 1.2 https://tls.ulfheim.net/ For TLS 1.3 https://tls13.ulfheim.net/ These two articles analyze… Read More

tlstlsLeave a comment

an introduction to parallel garbage collection

2025-01-302026-03-22 Leon Xie

These days I am reading a book about Java Performance. One of its chapter is about Parallel Garbage Collection, which I think is really short and key-points focused. In this post, I will summarize some points that I consider useful.… Read More

java, jvmcollection, garbage, java, jvm, parallelLeave a comment

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

Posts pagination

1 2 … 9 Next

Recent Posts

  • balanced binary search tree implementation
  • an introduction to young generation collection
  • balanced binary search tree
  • brief introduction to java generation memory
  • a few words about RSA

Recent Comments

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

Archives

  • December 2025
  • September 2025
  • August 2025
  • January 2025
  • 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