0

I have a node.js application server. It serves my api and dynamic web pages. The database is not on the server.

I want to continuously scp files into the server. Would that cause slow downs or block web requests or would it only have a minor impact?

Thanks.

migrated from stackoverflow.com Jul 16 '12 at 12:13

This question came from our site for professional and enthusiast programmers.

1

It depends on the amount of data being transferred, the available bandwidth to the server and the speed of the transfer, it is all relative.

  • Indeed; even if it doesn't block the Node.js event loop, if you saturate the network it can degrade the performance of your application/server. – Michelle Tilley Jul 15 '12 at 5:56
  • The amount of data being transferred is small. I'm using an amazon ec2 'small' instance and is transferring 20kb files every second. It sounds like it should be fine right? – Harry Jul 15 '12 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.