Hi

> I have noticed that skywalking use heap buffer to cache tracing data.

It could cause data loss, but that is intentional. Because we need to keep
memory safe.

Back to what your asking, if you want to build a local file system based
cache, I think you should submit a design, including
1. What is the file write/read model
2. When should activate this feature, and how
3. What is performance? And do you have available benchmark result between
memory write and file write in high concurrency situation.
more if you thing need to say.

You could use this[1] as design doc template. Look forward to your detail.

[1]
https://docs.google.com/document/d/1biRE3Bc0cTbs7qnBozUuAxCmeP5n8y0JKJAyzqitLnM/edit

Sheng Wu 吴晟
Twitter, wusheng1108


Aries <[email protected]> 于2020年7月14日周二 上午10:13写道:

> Hi all:     I have noticed that skywalking use heap buffer to cache
> tracing data. It usually cause data loss. Because of this problem, I want
> to add a high-performance  file storage to skywalking,so that tracing data
> can be saved to disk.      If tracing data saved to file,skywalking will
> have strong ability to accumulate data and we do not have to care about how
> many tracing data provided or whether  OAP server working, data had saved.
>    Do we need this feature? Any suggestions?            Thanks

Reply via email to