Load balancing using nginx + tomcat + memcached

Source: Internet
Author: User
Nginx + tomcat + memcached load balancing nginx tomcat memcached load balancing cluster configuration

An error occurred while logging on to the project.



Reply to discussion (solution)

This is the configuration in tomcat 6.0.

Here is php. let's go to the java Forum.

Here is php. let's go to the java Forum. Many php users use memcached, so they only come to the php module.


Here is php. let's go to the java Forum. Many php users use memcached, so they only come to the php module.

Memcache itself is only a k-v memory structure
Obviously, your session has read/write problems in memcache.
Check whether your java memcache read/write operations are normal.



Here is php. let's go to the java Forum. Many php users use memcached, so they only come to the php module.

Memcache itself is only a k-v memory structure
Obviously, your session has read/write problems in memcache.
Check whether your java memcache read/write operations are normal.

I know that memcached uses a key-value pair to implement caching, but I don't know when to read or retrieve it.
Is there any other way to write a filter in my program for implementation?

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.