empiredan opened a new issue, #1195: URL: https://github.com/apache/incubator-pegasus/issues/1195
In the near future, the new metric framework will provide a service that process requests for queries. For example, given 2 parameters (may be regex) of which one is an entity type (say, *replica*), and another is the name of a metric that belongs to the entity, the metric framework will perform queries over the whole registry for the targeted metrics. However, both metric entity and registry have protected their reads/writes by **mutex**. This will lead to performance problem once lots of queries (i.e. reads) are launched. The solution will be using **rwlock** which is more appropriate to support the scenario of few writes and numerous reads. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
