home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
MovPic v1.0.0 Beta: Dynamic Actors = extremly slow
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tourettes" data-source="post: 546221" data-attributes="member: 10858"><p>Sometimes huge data amounts aren't possible to be handled with "real-time" queries but instead you need to take a different approach and turn the responsibilities upside down. Instead of generating the results always on the fly it could be possible to generate that data only when inserting new data (importing a new movie) to the database. I'm not sure how Moving Pictures handles the current situation and not sure how easy such different approach would be, would it be even possible (some categories can be build based on the watched status? So it would require MP plugin side to do DB updates for categories). But in general that is pretty good way to improve performance to a different level (with especially good scalability as the UI wont create x*y*z... like queries where the performance drops radically when data amounts increase). Unfortunately it works only if the data is pretty static, meaning that application side wont do that much changes into it.</p><p></p><p>This is what was done for the EPG pretty recently, as in the worst case there could have been few second delays for a button press as the SQL queries needed to be run for the huge amount of EPG data (with complex recording rules).</p></blockquote><p></p>
[QUOTE="tourettes, post: 546221, member: 10858"] Sometimes huge data amounts aren't possible to be handled with "real-time" queries but instead you need to take a different approach and turn the responsibilities upside down. Instead of generating the results always on the fly it could be possible to generate that data only when inserting new data (importing a new movie) to the database. I'm not sure how Moving Pictures handles the current situation and not sure how easy such different approach would be, would it be even possible (some categories can be build based on the watched status? So it would require MP plugin side to do DB updates for categories). But in general that is pretty good way to improve performance to a different level (with especially good scalability as the UI wont create x*y*z... like queries where the performance drops radically when data amounts increase). Unfortunately it works only if the data is pretty static, meaning that application side wont do that much changes into it. This is what was done for the EPG pretty recently, as in the worst case there could have been few second delays for a button press as the SQL queries needed to be run for the huge amount of EPG data (with complex recording rules). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
MovPic v1.0.0 Beta: Dynamic Actors = extremly slow
Contact us
RSS
Top
Bottom