Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by boring_twenties

3 years ago

Bulk transfer applications should just use larger buffers

2 comments

boring_twenties

Reply

josefx  3 years ago

Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network?

  • boring_twenties  3 years ago

    Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities