![]() To reiterate, by default the number of worker threads matches the number of cpus of the computer so we can utilize all cpus, with a minimum value of three. ![]() This will see most improvements on single cpu systems and conversely also high end systems with more than 16 cpus. In this release we have made improvements to how the concurrency works. If we have multiple threads than the cpu can service a different request whilst waiting for results. This is because SongKong gets much of its data from the internet so once a request is made to the Internet it just waits for the results, so no cpu is being used. If the computer has only one cpu we still have at least three worker threads. The key threads that do most of the work are called the worker threads.īy default the number of worker threads matches the number of cpus of the computer so we can utilize all cpus H2 1.4 uses a completely different database format for greatly improved performance.Ĭoncurrency SongKong is a multi-threaded application, this means there can be more than one thread of activity going on at the same time. We have moved from H2 1.3 to H2 1.4, this is not a minor change. We have now gone through all queries and made a number of performance improvements to reduce the database load. Hibernate provides a useful abstraction from the database, but it can lead to inefficient database querying. SongKong uses Hibernate on top of the H2 database. Minimal Data stored in memory so SongKong is scalable huge music collections. Quicker reloading of files instead of having to access fileystem This is quite a technical blog post but I thought some of you may find it interesting.īetter Database Performance SongKong stores your music metadata in a database, this means we can: Better Performance In this new release we have made many changes to improve performance, these fall into two categories database and concurrency.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |