Sure, but why would you want to? Just use CloudFront. Amazon is gonna
do it better than you can. If you can't use CloudFront.... then you
can easily use mod_proxy to do what you are asking.

On Mon, Jan 12, 2009 at 9:57 PM, LostyJai <[email protected]> wrote:
>
> Is it possible to do like a load-balance for loading assets?
> Say I have like 3 instances of apache open, asset1.apache.com/
> asset2.apache.com/asset3.apache.com.
> Can I load 1/3 of the assets from each server?
>
> If so please tell me how.
>
> On Jan 12, 3:22 pm, "Carl Fyffe" <[email protected]> wrote:
>> That's what the docs say.
>>
>> On 1/11/09, Jay Fajardo <[email protected]> wrote:
>>
>>
>>
>> > Isn't S3 a pre-requisite for cloudfront?
>>
>> > Jay F
>>
>> > On 01 12, 09, at 5:29 AM, Carl Fyffe wrote:
>>
>> >> S3 is not the choice for this. But CloudFront definitely is:
>> >>http://aws.amazon.com/cloudfront/
>>
>> >> S3 is more for large files that don't get accessed all the time,
>> >> backups and the like. CloudFront is exactly what Losty needs. I had
>> >> forgotten all about CloudFront.
>>
>> >> On Sun, Jan 11, 2009 at 3:32 PM, Levi Rosol <[email protected]>
>> >> wrote:
>> >>> along these lines, what about using s3 for theme images, styles and
>> >>> scripts?
>> >>> I haven't done this yet, but wouldn't that also help?
>>
>> >>> any thoughts on what's involved with doing this?
>>
>> >>> --
>> >>> Levi Rosol
>> >>> Twitter: @LeviRosol
>>
>> >>> On Sun, Jan 11, 2009 at 2:18 PM, Carl Fyffe <[email protected]>
>> >>> wrote:
>>
>> >>>> I would play with pushing the images into an asset server. I would
>> >>>> set
>> >>>> up Apache and serve the images from a different domain. This
>> >>>> offloads
>> >>>> the processing of the images from Rails and Apache is really good at
>> >>>> it. You could even put it on the same VPS without an issue. Read
>> >>>> up on
>> >>>> offloading images to an asset server for more details about how and
>> >>>> why that will help.
>>
>> >>>> On Sun, Jan 11, 2009 at 3:41 AM, LostyJai <[email protected]>
>> >>>> wrote:
>>
>> >>>>> I usedhttp://site-perf.com/to check the performance of my site.
>> >>>>> When loading the images, the queues range from 1.5s to 8.5s towards
>> >>>>> the end.
>>
>> >>>>> The images are mostly part of a theme, but there is also some user
>> >>>>> pictures.
>> >>>>> I would say about 80% is theme, and 20% is user images.
>>
>> >>>>> The images range from 50kb to less then 1kb.
>>
>> >>>>> The site is hosted on a VPS server.
>>
>> >>>>> On Jan 11, 1:21 am, "Carl Fyffe" <[email protected]> wrote:
>> >>>>>> In general it isn't CE that is causing the slowdown.
>>
>> >>>>>> Here are some tips though:
>> >>>>>> Use Yahoo's Y-Slow to get some tips on how to make your site
>> >>>>>> faster.
>>
>> >>>>>> What are the 50 images for? User's pictures or are they part of a
>> >>>>>> theme you have built for the site?
>>
>> >>>>>> How big are the images? If you are loading large images then you
>> >>>>>> should make them smaller.
>>
>> >>>>>> Are you on shared hosting or vps? Vps will be better.
>>
>> >>>>>> On 1/10/09, LostyJai <[email protected]> wrote:
>>
>> >>>>>>> I was wondering how would I go about speeding up the load time
>> >>>>>>> of my
>> >>>>>>> community engine?
>> >>>>>>> I have about 50 images loading and it takes probably 8s-10s
>> >>>>>>> before I
>> >>>>>>> start seeing content.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to