西维蜀黍

【Distributed System】Distributed Tracing(分布式追踪)

What is Distributed Tracing?

Distributed tracing, also called distributed request tracing, is a method used to profile and monitor applications, especially those built using a microservices architecture. Distributed tracing helps pinpoint where failures occur and what causes poor performance.

  ...


【Cache System】缓存更新策略 - Cache Invalidation vs Cache Update

Invalidate Cache(淘汰缓存)VS Update Cache(更新缓存)

缓存更新时,Invalidate Cache VS Update Cache

  ...


【Cache System】缓存一致性 - Cache Inconsistency on Cache Invalidation

Background

We try to use cache invalidation to solve cache coherence, i.e., try to let the updated data to be reflected as soon as possible, but there may be cache inconsistency occuring.

In this post, I would like to point out them and see how we are going to solve them with some trade-off.

  ...


【Software Testing】Selenium

我们以使用 Python 为例。 Components At its minimum, WebDriver talks to a browser through a driver. Communication is two way: WebDriver passes commands to the browser through the driver, and receives information back via the same route. The driver is specific to the browser, such as ChromeDriver for Google’s Chrome/Chromium, GeckoDriver for Mozill   ...


【Software Testing】全链路测试(Full Chain Stress Test)

Background

Types of stress tests

Traffic Record

Record live traffic and playback directly in the live region. (Only can do for “GET” endpoint, i.e., the endpoints without writing DB operation)

Pros

  • 100% simulate the real user behaviour in Live env during normal days
  • Cover the full-chain (services) triggered by the endpoints stessed
  ...