Yesterday the application party again occurred session caused by memory overflow, two machines when machine, blood lesson.

Source: Internet
Author: User

Before introducing large-scale Internet applications, the session was specifically presented as a separate article.

Why, because it consumes resources with database connections, and basically the beginner + Level 1 programmer knows to shut down the database connection, but session management is very few people pay attention to.

"Enterprise-Class" application how big will not be larger than 100,000 users, and the Internet application of this easily billion-scale users, session management must not let the container itself to manage.

Some users only visit once, and you keep the data for him for a few 10 minutes or a few hours. What kind of machine can withstand such memory expansion.

Therefore, the management of the session is a necessary strategy for large-scale Internet applications.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.