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, AI tools, local voices and reading.
7–12 / 13 articles
Development
Symmetric encryption and asymmetric encryption are two different encryption methods that play important roles in data security and information transmission.
Development
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
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
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
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
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.