Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Aug 10, 2013 1:57 am 
Offline
Senior Newbie

Joined: Tue May 14, 2013 6:25 pm
Posts: 14
Hi, I have a photo sharing app in which my users are uploading hundreds of 5mb to 10mb images. My question is:

Is there a way to improve my users' upload speed?

I understand that this has a lot to do my users' internet speed / bandwidth and ISP. But is there anything that I could do on my end? Would putting a server closer to them help? i.e. My linode is in Fremont right now. Would putting my linode in Atlanta increase upload speed for my users in the east significantly or is this negligible?


Top
   
PostPosted: Sat Aug 10, 2013 2:10 am 
Offline
Senior Newbie

Joined: Fri Mar 08, 2013 5:47 am
Posts: 15
If your users are closer to Atlanta, that would not be a bad decision as long as the port filtering in that datacenter will not affect you. Dallas might also be a good option. Their ISP and geographical distance are the biggest variables, and there is nothing you can do to overcome their ISP's restrictions on throughput caps.


Top
   
PostPosted: Sat Aug 10, 2013 7:54 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
How fast are images uploading now? What is that speed in relation to the maximum upstream throughput of users' network connections? My home Internet connection has 1 Mb/s upstream, so at the absolute best, I'd be looking at 80 seconds for a 10 MB file. It's probably not worth worrying if it's taking 90 seconds...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sat Aug 10, 2013 7:55 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
FWIW, I'm in New Jersey with FIOS (75Mbit/s download speed). Doing some tests with https://www.linode.com/speedtest/ to see how quickly I can download:

Freemont: 9.21 MB/s
Dallas: 8.80MB/s
Atlanta: 9.02MB/s
Newark: 9.84MB/s
London: 7.42MB/s
Tokyo: 7.86MB/s

Now all of them _peaked_ at 9.95MB/s (basically maxed out my bandwidth) and sustained that rate, but different DC's took longer to get up to that speed, so for downloads of <100Mbytes this ramp up will have greater impact.

(Of course this was download, rather than upload, but I expect the same to be true)

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
PostPosted: Mon Aug 12, 2013 11:11 am 
Offline
Senior Newbie

Joined: Tue May 14, 2013 6:25 pm
Posts: 14
I am going to setup an upload server in Atlanta to see if it helps my US-east users.

In addition, is there a bandwidth limit for uploading into a linode? Is this limited by network or disk write?

I sometimes have 50 concurrent users uploading 5-10mb photos into the same node. Is this going to slow things down?


Top
   
PostPosted: Mon Aug 12, 2013 11:54 am 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
Disk IO can be a potential bottleneck. If you have one of the larger Linodes and don't mind doing a bit of tweaking with your web app, you could use a tmpfs mount for uploads. Since tmpfs is used to create RAM disks, files would be uploaded to RAM, and you can add in a way (e.g. cron job, or via PHP when uploads complete) to copy files to disk. Whether or not this is a good idea depends on your web app, however since RAM is faster than storage, you'd reduce latency caused by disk writes.

Generally, more users means more latency, however whether or not a measly 50 users will affect things depends on Linode's network. My best guess, no, but don't take my word for it.

_________________
Kris the Piki Geeker


Top
   
PostPosted: Mon Aug 12, 2013 2:40 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Linux uses write caching, so it's highly unlikely that disk IO would be a limitation.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group