-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what about implement a buffer writer syncer? #663
Comments
We added |
Yes, and this can be done by a timer loop goroutine. Like this:
|
Exactly! I'd prefer to automatically start the goroutine in whatever constructor we expose (rather than making the user do it), and we'll also need to expose the ability to cleanly shut down the goroutine to avoid resource leaks. |
@akshayjshah when u plan to release buffer sink capability ? Would be glad to test it. Thx for great project. |
I am also very interested in this, mostly to reduce ops/s as that drives cost on cloud storage instances. |
anyone currently doing this? |
@zplzpl |
@hnlq715 bro , take care yoursellf,bless for you |
Hi, any update about that? |
Is there any documentation on how to use |
Oops, you're right, there's significant room for improvement here. |
Support sync through a buffer writer, zap should be faster...
Just like golang/glog does.
https://github.com/golang/glog/blob/master/glog.go#L841
Glad to send a PR if you guys are interested :-)
Simple Demo:
The text was updated successfully, but these errors were encountered: