Skip to main content

Search CooLWJ

选择搜索范围,输入关键词后按回车。

Language

Technology & everyday life

Development, AI tools, local voices and reading.

Development

7–12 / 13 articles

Development

The Art of Encryption and Decryption

Symmetric encryption and asymmetric encryption are two different encryption methods that play important roles in data security and information transmission.

Development

Technology from a Global Perspective—The Evolution of Java Multithreading

On 2022-09-22, JDK19 was released. Its biggest highlight was support for virtual threads, adding another major member to the lightweight thread family. Virtual threads free the JVM from relying on the operating system to schedule threads, allowing the JVM to schedule them itself. In fact, early on, Sun implemented JVM-scheduled threads in its virtual machine for the Solaris operating system. Considering complexity and maintainability, it ultimately returned to the operating-system-scheduled threading model.

Development

The 3 Best Ways to Build Docker Images with SpringBoot

This article introduces 3 techniques for building SpringBoot applications into Docker images using Maven. (1)Use build-image built into spring-boot-maven-plugin. (2)Use Google's jib-maven-plugin. (3)Use dockerfle-maven-plugin.

Development

rabbitmq consumers “disappear for no apparent reason”

Around 17:12 on 9/1, we discovered a large number of “unacked” messages (messages received but not yet manually acknowledged) in the shadow queue. After some time, the number of “unacked” messages had not decreased, yet the consumer logs showed no new messages arriving, the reason turned out to be。。。

Development

Upgrade your website’s images to WebP

WebP is a new image format developed by Google. It supports lossy compression, lossless compression, and transparency, with compressed files smaller than JPEG, PNG, and other formats. It can therefore save bandwidth, reduce page load times, and reduce users' data usage. Android and iOS apps can easily support WebP by incorporating Google's decoding library. On the web, however, WebP support is still not very widespread. According to Can I Use, currently only Chrome, Opera, and Android's WebView support WebP. But with so many advantages, can we use WebP images on web pages?

Development

Introduction to Using Spring Cache

springcache was released with spring3.1. It encapsulates and abstracts cache usage, allowing cached results to be retrieved simply by adding annotations to methods. Precisely because it uses annotations, it resolves the coupling between business code and caching code: existing code can immediately support caching without intrusive changes to business code, allowing developers to use caching transparently.

Choose your theme

Your theme applies across the site.