|
|
#1
|
||||
|
||||
Re: New Music Additions
Whatever you finally decide to do, keep website performance in mind. The now playing section and shout continue to suffer connectivity loss.
About the query, one other bell or whistle might be to search on release year. Not all new adds are actually new releases. |
#2
|
||||
|
||||
Re: New Music Additions
Quote:
To explain this... Assume it is about noon. The current song started at noon and it is exactly 6 minutes in length. That section of the page will be static until 12:06:00. The information that is displayed could be obtained at noon and cached on the web server. At 6 mins past the noon hour, the page <iframe> needs to be refreshed in any browsers connected. This would be done by setting the refresh on the <iframe> when the new song loads. But you ask, what happens if a user arrives at exactly 3 mins past noon? Well, the refresh interval would be computed from the following: <track finish time> - <user arrival time> In this example: <12:06:00> - <12:03:00> is 3 minutes. This would be set as this user's refresh timeout on the <iframe>. This is all pie-in-the-sky unless we can get NTP up and functioning on the streaming server. The performance hit now is that EVERY user causes a database query to the streaming server to pull over the information and CPU time to format this information. Quote:
Performance-wise... Unlike the ON-THE-AIR/Dedication/RECENTLY-PLAYED (I often shorthand this as OTA/Ded/RP) section which automatically refreshes (and all too often), this feature would be a form. The USER would need to click on a link to pull up the form. Much like Jim's present list of additions news item, it is not (or will not be) a part of the main page load.
__________________
VAXman -- Watcher of the moon, watcher of all. ----------------Mopper of the moon, mopper of all. -------------------- Aural Moon's Janitorial Services ---------------------and Restroom Supplies, and Techno-patsy -- ![]() Last edited by VAXman : 02-10-2008 at 09:45 AM. |
#3
|
||||
|
||||
Re: New Music Additions
Quote:
Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
All times are GMT -5. The time now is 09:03 PM. |