What are the pros and cons of hosting a PHP/MySQL website on a personal home laptop while offloading storage to S3 and distribution to CDN? ...
-
I am concerned about the costs of running an EC2 instance and not happy with i/o speeds . Instead I am thinking of using my laptop for the web application . To give you an idea about the app ( It is a user-generated site with video uploads and profiles . I`ll be using php mysql with memcached ) My PC : Windows 8 (can be changed to Ubuntu or any linux distro) , 4GB RAM , AMD A8 , (512 MB + 2gb ) video memory . Workflow : User visits the website and uploads a video . Using a file processing service , the file is uploaded to my S3 store . It is then transcoded using AWS transcoder and the URLs for playing are stored back to my database on the laptop . Amazon cloudfront is used as CDN . I can free up any amount of spcae required for mysql (in TB range) if required , although seems unnecessary given how it will only be text . Should I be worried about my upload speeds ?They are pathetic at 512 kbps on a good day . But , if I have offloaded the heavy duty work of video upload and transcoding , the only thing that remains to be served is text and I can find ways to minimize their impact for every user .I can sacrifice and not run any other major applications while the website is up . I plan to use a lot of memcached queries . Ec2 for same amount of storage and memory are very expensive to me (the main reason behind this complicated decision ) . Is there any minor or important link I`m missing ? Thank you for helping .
-
Answer:
Look at the http://aws.amazon.com/sdkforbrowser/. You may be able to craft a static web page hosted in S3 that removes the need to upload video via a dedicated web server and: uses web identity federation for authentication uploads directly from browser to S3 (CORS) optionally appends info about uploads to an SQS queue (again CORS) You will need to trigger the transcoding, but could perhaps do that from a t1.micro EC2 instance that you launch from the spot market to keep costs down.
Jarmo Dee at Quora Visit the source
Related Q & A:
- What are the pros and cons of having a pet rabbit?Best solution by Yahoo! Answers
- What are the pros and cons of buying a house using an FHA loan?Best solution by Personal Finance and Money
- What are the pros and cons of being a Corporate or International Lawyer?Best solution by Yahoo! Answers
- What are the pros and cons of haveing a paypal?Best solution by Yahoo! Answers
- What are the pros and cons of being a Pampered Chef consultant?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.