-
Notifications
You must be signed in to change notification settings - Fork 990
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
Support for faster processing #898
Comments
Can you share some more details on how you are using this and how you measure the IO? Is this filesystem I/O, network I/O or something else? |
It's filesystem IO, it's local VM not EBS mount. It will connect to MySQL using this package --> read logs --> apply business logic --> Write the data to destination MySQL. If you look at the top command output, it doesn't use the memory. Do we have any buffers to do these operations in memory. I am talking about the business logic which involves some lookups(on another table) based on events in the binary logs.
|
You can run golang's built-in profiling to see the bottleneck. And this package does not use much filesystem IO, can you check what's the call stack? |
I am using this driver to get the data from MySQL, apply some business logic and put it back to another MySQL[Downstream].
This process takes up some IO but memory usage is fairly less, I have use parallel threads to improve but all taking up IO and not using memory. Is there a way that we can make use of memory as a buffer?
The text was updated successfully, but these errors were encountered: