-
Snowflake是Twitter提出来的一个算法,其目的是生成一个64bit的整数:
![image](https://user-images.githubusercontent.com/21978475/87948868-d7788280-cad7-11ea-9a34-f74d6390129b.png)
- 1bit:一般是符号位,不做处理
- 41bit:用来记录时间戳…
-
Activities' serialization_id is used as a score for a Redis ordered set by the timeline storage. Redis scores are represented in IEEE 754 double-precision floating-point format. Converting a serializa…
-
**What's Happening?**
Twitter currently prioritizes tweets with high engagement, such as likes, retweets, and comments, in users' timelines and search results. While this may seem like a good way to …
-
When someone do a "retweet with comment", it's not possible to middle-click the quoted tweet to open it in a new tab, like in Legacy Twitter.
-
[Chapter 07] 분산 시스템을 위한 유일 ID 생성기 설계
- 궁금한 점 혹은 이야기하고 싶은 주제 코멘트로 정리
- 추가로 같이 보면 좋을 것 같은 기술 블로그, 아티클 등 공유
-
# Feature Branch
Current feature branch for this issue: [not created yet](../tree/feature/issue-12345/projectname-branchversion).
## Progress
- [ ] Decide how to create a user identification …
-
## 1단계. 문제 이해 및 설계 범위 확정
- ID의 특성? -> 유일, 정렬 가능
- ID는 항상 1만큼 커져야 하는가? -> 시간의 흐름에 따라 커지지만 언제나 1씩 증가하지는 않는다
- ID는 숫자로만 구성? -> YES
- 시스템 규모? -> 초당 10,000 ID 생성 가능해야 한다
### 요구사항
- 유일
- 숫자로만 구성
-…
-
Follow up the discussion here https://github.com/uuidjs/uuid/issues/303#issuecomment-576587582 and see what we do.
-
Hello
It's my first time contributing to bbs so sorry if I do anything wrong.
Starting from hours ago, I think Iran blocked cloudflare's CDN. It looks like that Iran blocks all SNI's which go to clo…
-
# Description
To improve Core Web Vitals, we can cache pages that aren't regularly updated using Django's caching. In Memory caching is available so you don't have to run up a redis server or anyth…