search for: transportaion

Displaying 1 result from an estimated 1 matches for "transportaion".

Did you mean: transportation
2004 Aug 06
1
About threads and bitrates and bytes...
...24 = 20 KByte] Once the producer (which reads a local mp3 file) did read enough byte[] from the file (buffer=20KB) and send them to his bus, he waits the difference in time he has until 1 sec is full. Thus effectivly sending 20 KByte/s. So far this results in the producer to sleep for ~975 ms (transportaion of byte[] through bus taking ~25ms), thus I have an Idle thread running around. The ~25ms per producer would allow me to serve 40 producers (1000ms/25ms) with one server. This number seemed to be far too low, so I thought about a way to increase idle time for the producers. I came up with this...