Discover java application performance, include the articles, news, trends, analysis and practical advice about java application performance on alibabacloud.com
xml| Performance
XML in Java: Document model, Part I: PerformanceResearch on the characteristics and performance of XML document model in Java
Document Options
This is the fifth article in the series "Become a Java GC expert". In the first in-depth Java garbage collection mechanism, we have learned the different GC algorithm flow, GC working principle, the new generation (young Generation) and the old generation (older Generation) concept. You should be aware of the 5 GC types in JDK7 and the impact of various types on your ap
local, and when the user actually accesses the next picture, due to the local cache, there is no need to download from the server side, so as to achieve the purpose of improving the user experience. https://zhuanlan.zhihu.com/p/25455672use of the flush mechanismThe idea of the flush mechanism is not to wait until the content of the Web page is fully loaded and write back to the client at once, but to return it partially. In Java Web technology, as lo
Performance | Optimization Java in the mid-90, after the emergence of praise, but also attracted some criticism. The winning admiration is mainly Java's cross-platform operability, the so-called "Write Once,run Anywhere". But because Java performance and operational efficiency compared with C, there is still a large ga
Analysis from four dimensions: factors that affect Java performance, dimensions of java
With the rapid development of the Internet industry, website interface design has become increasingly cool. It is true that the visual impact will play a significant role in website traffic. However, if the backend service does not meet the burst concurrency, the user experien
Have you read the String or StringBuffer written by cherami? As well as comments from netizens later, I feel it is necessary to thoroughly investigate this issue. Therefore, I wrote a simple test class and a script to run it. By modifying the test class to different parameters, and testing on different JDK, we found this problem really interesting. Let's get started.Step 1: PrepareTo facilitate subsequent testing, it is necessary to write a simple script:Echo test by jdk1.2.2/Opt/
11 simple Java performance tuning techniques, java Tuning
Most developers naturally think that performance optimization is complex and requires a lot of experience and knowledge. Well, it cannot be said that this is completely wrong. Optimizing applications to achieve optimal perfo
increase the number of Web servers, the Web server load balanced deployment, to solve the front-end performance bottleneck, if there is still read and write pressure on the database side, you can continue to add a MySQL server, MySQL for read and write separation deployment, Such a high-performance, high-reliability Web site system is built up. Second, site optimization case based on dynamic, static con
If your node server has no nginx in front of you, you may have done something wrong. -bryan Hughes
Node.js is the leading tool for building server-side applications using the most popular language-javascript. Because of the ability to provide both Web servers and application servers, Node.js is considered a key tool for development and deployment on a micro-service basis.
In back-end development, Node.js can replace or extend
read and write data. The channel represents the source or destination of the buffered data, which is used to read or write data to the buffer, and is the interface for accessing the buffer.
This paper mainly introduces the buffer and channel in NIO to improve the performance of the system.1. NiO's buffer class and channel
In the implementation of NIO, buffer is an abstract class. The JDK creates a buffer for each
deployed in EJB containers. Because both the product catalog and the ordering information need to be persisted, use JDBC to connect to the database and use JTA to complete the database access transaction.Figure 3 Java EE application exampleThen use Jsp/servlet to implement Web performance for your app: online catalogue browsing and online ordering. In order to s
long time ago. Jai (used for image processing) has not been actually upgraded for many years and seems to have not been used anywhere, it urgently needs a huge performance improvement to adapt to the advent of the multi-core GPU era, all these Java products used in the desktop field are either abandoned or become a chicken ribs.
The key point is that although we can use
performance.(4) using caching (cache)For objects or data that are often used without much change, you can store it in cache. This will increase the speed of access. This is especially important for result sets that are returned from the database.(5) Using a fast JDBC driver (Driver)Java provides four ways to access a database. Two of these are JDBC drives. One is a local drive that is outsourced with
the companion documentation for the Java EE component. If you are using a Java-bound application, you should refer to the application documentation to ensure that any changes you make do not affect application functionality.Back to top of pageBefore you beginAny type of opt
In our web project, our common Web application servers are tomcat, Weblogic, and WebSphere. They are infrastructure software for Internet applications, also called "middleware," which handles dynamic on-page requests, provides names, transactions, security, messaging, data access, and so on, and provides the development, deployment, operation, and management capabilities that should be built.How do we better monitor and diagnose
systems.In Java there is an open source project called Metrics, which captures the JVM and application-level performance parameters, and his author, Coda Hale, describes what Mertics is and why metrics is necessary in an application system, Videos and speeches can be downloaded separately on YouTube and SlideShare. Th
, you must first monitor the process that executes the Java program. Therefore, this article will explain the following questions:
How to monitor Java programs?
What parameters should be set for JVM?
How do I determine whether to modify the code?
Necessary knowledge for Java program optimization
The Java program ru
Before you start
About this series
Writing code for an application is only the first phase of the lengthy process required to deliver a robust product quality program. The code must be tested to verify its operation and accuracy. It is also often necessary to analyze the code to eliminate performance bottlenecks and resource waste (especially memory). Code must also be monitored to locate faults, identify
Michael Kopp is a technical analyst at compu-Ware's APM center excellence. He has worked as a designer and developer in the Java/Jee field for more than 10 years. In addition, Kopp also specializes in the structure and performance of virtual and cloud large-scale production deployment.
?
The new APM emphasizes the cost of each transaction and helps testers increase their strategic role in maxim
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.