Skip to main content

Search CooLWJ

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

Language

Technology & everyday life

Development, AI tools, local voices and reading.

Latest articles

19–24 / 25 articles

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.

AI & tools

What Is a Vector Database?

A vector database is a collection of data stored in mathematical form. Vector databases make it easier for machine learning models to remember previous inputs, enabling machine learning to support use cases such as search, recommendations, and text generation. Data can be identified using similarity metrics rather than exact matches, allowing computer models to understand its context.

Development

Java Thread Context

ThreadLocal is a commonly used utility class in the JDK’s java.lang package that provides thread context functionality. Its most common application is probably storing key information such as the user context after login.

Choose your theme

Your theme applies across the site.