baidu / baidu/tera

the solution to hot spot request

Open
#959 0 comments 0 reactions 0 assignees View on GitHub
class/enhancement module/ts stat/will-do-later
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

1. 并发compact,之前讨论过多次
2. 读写全是热点的tablet全内存存储
可以设置某些tablet全内存,可以传递到bfs,bfs负责将tablet的所有sst全内存存储。分裂后子tablet可以继承
3. 对与单独的写热点,可以在compact时候,提前通知bfs将某些sst文件,全内存加载。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by understanding the existing compaction path and how tablet and SST storage decisions are passed to BFS. The issue proposes concurrent compaction, all-memory storage for selected tablets, and preloading SST files for write hotspots, but names no files or tests. Done would require a decided design and validation of the chosen hotspot-storage behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, databases, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.