medium-sized website services, and occupy the siege team of more than 60% of the crowd. In the focus on large-scale portal sites, small and medium-sized web portal technology development and practical experience is worth sharing.Whether a large portal site or a small or medium-sized vertical type site will pursue stability, performance and scalability. The technical experience of large-scale web site sharing is worth learning and borrowing, but the i
Guide
Understanding the application's input/output (I/O) model means the difference between the planned processing load and the brutal actual usage scenario. If the application is small and does not serve a high load, it may have little impact. But as the application load goes up, using the wrong I/O model may cause you to stomp around and be scarred.
As with most scenarios where multiple solutions exist, the focus is not on which approa
Whether a large portal site or a small or medium-sized vertical type site will pursue stability, performance and scalability. The technical experience of large-scale web site sharing is worth learning and borrowing, but the implementation to more specific practice is not applicable to all sites, other language development sites I dare not say more, but the Java development system, I can still you to plug in
1 Introduction
One of the main design principles of the Java SE 6 (Java Platform Standard Edition 6) is to target performance flaws, with some of the most popular Java benchmark tests and close collaboration with the Java community to determine the most critical areas of
, more siege engineers are unknown to some of the fledgling small and medium-sized Web services, but also occupy the siege of the ranks of more than 60% of the crowd. In the attention of large portal sites, small and medium-sized portal technology development and combat experience is worth sharing.
Both large portal sites and small and medium-sized vertical types of Web sites will be able to pursue stability, performance, and scalability. The technica
is divided evenly into three parts, the eldest brother occupies two, and the younger generation occupies a copy. Reference Sun Java System application Server Enterprise Edition 8.2 Performance Tuning guide), this ratio is not suitable for all situations, especially when local variables in your application are far greater than the global variables, and a large nu
, the young generation is older than the old generation) 2 (that is, the JVM heap memory is evenly divided into three portions, the annual boss occupies two portions, while the young generation occupies one portion. See Sun Java System Application Server Enterprise Edition 8.2 Performance Tuning Guide. This ratio is not suitable for all situations, especially whe
generation. This value has a great impact on the system performance. Sun officially recommends 3/8 of the total heap configuration. From, you can seeTotal heap size = Young Generation size + Old Generation size, XMS and xmx do not include perm size.
-Xss128k: Set the stack size for each thread. After JDK 256, the size of each thread stack is 1 MB, and the size of each previous thread stack is K. The memory size required for more application
help message.
Note: thejcmd utility can be used to dynamically interact with Java Flight Recorder (JFR) in a JVM that is already running. You can use it for unlock commercial features, Enable/start/stop flight recordings, and obtain various status messages from The system. For a list of examples, see the Java Flight Recorder Runtime guide a
I. Introduction:
A recent project requires performance testing, which consists of several applications offering services, the framework of which is Alibaba's open source service Framework Dubbo. About the introduction of Dubbo, the Internet also has a lot of information, I just did a rough understanding, there is no in-depth study, the relevant information address is as follows: http://www.iteye.com/magazines/103,http://alibaba.github.io/ dubbo-doc-s
In any system, the log is a very important part, it is a reflection of the system operation of the important basis, but also the necessary clues to troubleshoot problems. Most people recognize the importance of the log, but how many people think carefully about how to log, the impact of the log on the performance of how much? Let's talk about the performance of Java
the performance log generated by the application.
If we have the data, let's look at data. If all we have is opinions, let's go with mine.
Jim Barksdale
This is a data for the king of the era, exaggerated a little, the data can guide everything!If we do not want to use the aggressive services that APM is trying to provide, we can only build our own services, such as AOP to collect thread-
1. BlackBerry Object handler to be sufficient
Programs cannot consume too many object handles
2. Or the BlackBerry object Handler, in Persistant store persistent object handles is also limited, to save the use
Reference: Performance of the persistent store
(BlackBerry manuals Help > documentation for developers > Java Development Guides and API Reference > D ATA storage-development
code is formatted, comprehensive comments, beautiful and easy to read.11, detailed record system operation log, help the operation and maintenance personnel for system analysis and troubleshooting.12, using Ehcache two cache, Spring MVC static load cache and other mechanisms to improve system performance.13, the data persistence layer is divided into hibernate and MyBatis two big architectures. 2 sets of systems, in addition to the data persistence l
JVM Memory Overflow/insufficiency/outofmemoryerror/garbage collection vicious circle is a problem that needs to be solved and is not uncommon.Recommended to read the official T roubleshooting Guide forJava SE 6 with HotSpot VMS > troubleshooting Memory Leaks
The first clear question -the GC log is the most accurate way to determine the memory problem, because the nature of the Java memory problem i
. If the application you are publishing is not a relative directory, but a war package, then you need to read the following chapters below. If it is ear (EJBs), then you need to read some of the following User Guide advanced content. 1 jar Package There are two jar packages in Javamelody.zip, one is Javamelody.jar and the other is Jrobin-x.jar. Copy the two jar packages to the Web-inf/lib directory in the webapp corresponding to the war package. Or
1th Course Introduction and construction of Project framework 1-1 Java High concurrency Mall Second kill optimization Guide 1-2 Project Environment Building (ECLIPSE) 1-3 Project Environment Building (IDEA) 1-4 integrated mybatis 1-5 installing Redis 1-6 integrated Redis on 1-7 integrated Redis under 1-8 integrated Redis 2nd Chapter Implementation of user login and distributed session function 2-1
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.