Hi All, I want my users to veiw the thumbnail avatar''s of their contacts before sending a message. Is it a good idea to store this info on the users pc. so that I can benefit on performance. If the answer to the above question is YES. How can I do it in rails3. Any direction. Regards, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Using the users system to store that information will not gain you anything. Maintaining that each time a user makes a request to your server would be a maintenance nightmare. You would be better off looking into Rails caching on the server side for speed. B. Sent from my iPhone On Feb 23, 2011, at 12:55 AM, Bhasker Harihara <harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi All, > > I want my users to veiw the thumbnail avatar''s of their contacts before sending a message. > > Is it a good idea to store this info on the users pc. so that I can benefit on performance. > > If the answer to the above question is YES. How can I do it in rails3. Any direction. > > Regards, > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thank you, shall have a look at it. On Wed, Feb 23, 2011 at 7:05 PM, Bryan Crossland <bacrossland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Using the users system to store that information will not gain you > anything. Maintaining that each time a user makes a request to your server > would be a maintenance nightmare. You would be better off looking into Rails > caching on the server side for speed. > > B. > > Sent from my iPhone > > On Feb 23, 2011, at 12:55 AM, Bhasker Harihara <harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > Hi All, > > I want my users to veiw the thumbnail avatar''s of their contacts before > sending a message. > > Is it a good idea to store this info on the users pc. so that I can benefit > on performance. > > If the answer to the above question is YES. How can I do it in rails3. Any > direction. > > Regards, > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 23 February 2011 14:31, Bhasker Harihara <harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thank you, shall have a look at it.But don''t bother about trying to optimise performance until it is all working and you know that there is a performance issue. It is very rare for the bottlenecks to end up being where you think they are when you start out. Get it all working then analyse the system and optimise the bits that need optimising. Make sure your automated tests are comprehensive and then you can re-factor secure in the knowledge that if you break anything during re-factoring your tests will let you know. Colin> > On Wed, Feb 23, 2011 at 7:05 PM, Bryan Crossland <bacrossland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> >> Using the users system to store that information will not gain you >> anything. Maintaining that each time a user makes a request to your server >> would be a maintenance nightmare. You would be better off looking into Rails >> caching on the server side for speed. >> B. >> >> Sent from my iPhone >> On Feb 23, 2011, at 12:55 AM, Bhasker Harihara >> <harihara.bhasker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Hi All, >> >> I want my users to veiw the thumbnail avatar''s of their contacts before >> sending a message. >> >> Is it a good idea to store this info on the users pc. so that I can >> benefit on performance. >> >> If the answer to the above question is YES. How can I do it in rails3. >> Any direction. >> >> Regards, >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.