BloomFilter can be used to quickly determine duplicate values from big data
Category: Java
Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let application developers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture.
How to solve tomcat exception error:Invalid character found in the request target
How to solve tomcat exception error:
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
Distributed system unique id generation algorithm Twitter Snowflake
In a distributed system, how to solve the unique sequence problem, how to solve the duplication id problem, there are currently many algorithms can be solved, today we introduce a classic solution: Twitter SnowFlake
JVM performance tuning monitoring tool hprof use detailed
Ⅰ Problem In real-world enterprise Java development, sometimes we encounter the following problems: OutOfMemoryError Memory leak Thread deadlock Lock Contention Java process consumes too much CPU …… These problems may be overlooked by many people in daily development (for example, some people encounter the above problems just restart the server or increase the memory, but […]
Ali Open Source Java Diagnostic Tool-Arthas
Arthas is an open source tool for Java developed by Alibaba recently. It mainly for diagnosing the problems of java. I. Overview This tool can help you do the following things: Which jar package loaded this class from? Why do you code throws various kinds of Exceptions? If you encounter problems on product environment , […]
Java problem diagnosis tool–Greys-Anatomy
Introduce a very useful Java process monitoring tool, which can print out the average time and maximum time consumption of each method in the Java class, which is very helpful for troubleshooting delays in Java programs. The name of this tool is: Greys-Anatomy. Greys positioning is a professional JVM business problem location tool. Since it […]
Use AWS SDK for Java 2.0,Set S3 object public access
Use regular to replace the src of the img tag
Requirement: Due to system switching, it is required to patch the src attribute of the img tag in the webpage content in the database. For example: After the replacement is required: Use regular to solve, the code is as follows (ApiUtil.java static method) Java code collection code Test code: Java code collection code The key […]