fread chunk size

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cyberrate
Forum Newbie
Posts: 1
Joined: Tue Dec 15, 2009 3:26 am

fread chunk size

Post by cyberrate »

Hi,

I'm working on download control application using fread() and I was wondering what is the optimal chunk size? I have seen that usually people use 2048, 4096 or 8192 how does it affect the performance and what is in your opinion the optimal size?

Thanks.
Post Reply