Reply To: why does it take so long to access the server on a PC?

#15917
rpedde
Participant

@jtbse wrote:

I think you are experiencing the difference between RCP and DAAP. When DAAP (iTunes) needs the track listing, it doesn’t return until it has received meta data for all of the tracks.

On my setup (approximately 8000 tracks), it takes close to 50 seconds after clicking on the libary in iTunes before I can see the tracks. On the SoundBridge it returns in less than 5 seconds.

I don’t think there’s anything that Ron can do about this…it’s just the way that Apple has implemented DAAP sharing in iTunes.

Well, I could always do it the way apple does… it stores the whole db in memory. It returns the db much faster, but just look at the cpu/memory info of iTunes running some time to see why I don’t — it would flatten a slug.

Still, I think I can store the expensive queries in memory (playlists) and speed up connections significantly.

In fact, in the svn code right now, it does just that. It seems to connect much faster, although I haven’t actually tested it on a memory-starved device like the slug.

— Ron