-
Notifications
You must be signed in to change notification settings - Fork 54
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
Split backend connection by read and write #256
Comments
I would like to take this issue with focus on |
Currently, our In addition, because osquery nodes only check in every X minutes, we don’t need a 100% precise timestamp. We can tolerate a slight deviation (within less than X minutes) between the actual last-seen time and what’s stored in the database. This approximation would allow us to batch updates, thereby reducing the frequency of write operations. Furthermore, regarding the IP address:
I believe these changes would improve our system’s efficiency while still providing sufficient information about node activity. |
How about I make the columns |
Yes, it would be the next step. For now, caching them in memory already increased the performance significantly and would fit a lot of use cases. If we need to keep scaling up osctrl, it would be the same way as we did now. We just changed the backend from in-memory to Redis and it would be configurable. You can see the example here: https://github.com/zhuoyuan-liu/osctrl/blob/sync/tls/handlers/writers.go What I want to discuss is that we can merge these |
Specify read and writer endpoints for the backend so it can be handled more efficiently.
The text was updated successfully, but these errors were encountered: