3 ms·
Good question -- however, it's not completely static content. The hotel reviews and photos are more or less static (updated only on deployment), however a fair
by benhoyt 13y ago
Good question -- however, it's not completely static content. The hotel reviews and photos are more or less static (updated only on deployment), however a fair number of the features of the site are dynamic: user accounts, real-time pricing, search, recently-viewed hotels, etc.
See also my comment on reddit about design decisions: http://www.reddit.com/r/programming/comments/1qu5ai/saving_9_gb_of_ram_with_one_line_of_code_using/cdgjxom http://www.reddit.com/r/programming/comments/1qu5ai/saving_9...
- zhemao 13y agoHave you considered using something like Memcached or Redis then? There'd be some overhead sending data over a local TCP connection, but I think it would be a lot more memory-efficient.