• 14

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I have a web application hosted in Amazon EC2 as well as in Rackspace. Users can upload files through this application and also modify them. Those files are stored in local storage in each of these servers and are synchronized using unison. In order to avoid handling synchronization issues, I wanted to explore Amazon S3 using s3fs. It worked, but the performance was very poor, it was almost 10 times slower. Am I trying anything wrong? Is S3 should only be used for backup, and only local storage used for run-time updates? Please provide your comments.

Thanks, Srikanth

I would not recommend using s3 for run time operations. Local storage is attached to the Instance. Even if you use a EBS, it is still a single hop. But with s3 network latency plays a major role and kills the true real time experience.

If your users are fine with some delay then you can go ahead with s3, otherwise I would say that Local storage is much better for your operation.

  • 1
Reply Report
      • 2
    • Thanks for your reply. I tried S3QL rather than S3FS, and the performance was better. However, it was not as good as EBS. Anyway, I hope we can live with the slowness, whereas on the stability side S3 is good. Thanks.

Trending Tags