Record the entire process of troubleshooting Redis memory growth problem in a production environment!

Record the entire process of troubleshooting Redis memory growth problem in a production environment!

Recently, the DBA reported to me that an online Redis resources have exceeded the pre-designed capacity, and the capacity has been expanded twice.

The memory growth is still continuing. We hope that the business side will check whether the capacity growth is normal, and if it is normal, restart Evaluate the use of resources, if it is abnormal, we need to find out the problem as soon as possible and provide a solution for processing.

Authentication

Authentication

This article listing some important security measures that you need to check when you are designing, testing, and publishing your API.

Do not use Basic Auth to use standard authentication protocols (e.g. JWT, OAuth). Don’t make authentication, token generating, password storing these wheels, use standard ones.

Authentication

Authentication

A page showing Hydejack-specific markdown content.

Advantages and Disadvantages of usin token-based authentication.

JavaScripten (v6)

Hydejack v6 adds a layer of JavaScript, effectively turning the whole site into a single page app.

Hydejack has always featured a JavaScript-heavy sidebar, but other than that, JS has been used sparingly. This changes with this release, which adds a ton of (optional) code that changes the feel of the theme dramatically.

Heap Basic Concepts?

Heap Basic Concepts?

Heap Basic Concepts. Heap Operations. Question Examples Graph.

Heap (Priority Queue) is used to maintain the min/ max value within a dynamically changing data collection. 使用Heap来维护一个不断变化数据集中的最优值。 性质 -> 堆序性: 任意一个节点 小于 它的所有后续节点 descendent 逻辑 Logical 角度来讲:Theoretically, 在脑子里 Heap 是用 Complete Tree 来表示的。

Introducing Hydejack (v3)

Hydejack is a pretentious two-column Jekyll theme, stolen by @qwtel from Hyde. You could say it was.. hydejacked.

Unlike Hyde, Hydejack is very opinionated about how you are going to use it.

Features

Features include:

  • Touch-enabled sidebar / drawer for mobile, including fallback when JS is disabled.
  • Github Pages compatible tag support based on this post.
  • Customizable link color and sidebar image, per-site, per-tag and per-post.
  • Optional author section at the bottom of each post.
  • Optional comment section powered by Disqus.
  • Layout for posts grouped by year
  • Wide array of social media icons on sidebar.
  • Math blocks via KaTeX.

Pagination