Better way to get player statistics? #4276
Azimkin
started this conversation in
APIs and Development
Replies: 2 comments
|
You should use Query API and SQL aggregation functions ( https://github.com/plan-player-analytics/Plan/wiki/APIv5-Query-API |
0 replies
|
Thanks for the reply. I rewrote my old code with direct SQL, but then realized that every database request from PLAN is sync and will be performed sequently (no diff whether its query or execute). Now I will try to use my own connection pool for async execution if there is no other way to do it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there, I have tried to get player statistics from PLAN? but realized that my way is EXTREMELY slow (30-100s for query). I wrote this code a few month ago, after some research in source code of the plugin. Could you please help me resolve these speed issues.
All reactions