Overview Occasionally you will need to monitor components which cannot be scraped. The Prometheus Pushgateway allows you to push time series from short-lived service-level batch jobs to an intermediary job which Prometheus can scrape. Combined with Prometheus’s simple text-based exposition format, this makes it easy to instrument even shell scripts without a client library. Data […] →Read more
Overview Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. A Prettier plugin must first parse the source code of the target language into a traversable data structure (Usually an […] →Read more
Overview — 翻译自 25-perfect-ai-prompts-for-java-developers "Suggest strategies for optimizing Java code for improved performance, including using bytecode optimization and efficient memory management techniques." 请建议优化 Java 代码以提高性能的策略,包括使用字节码优化和高效的内存管理技术。 "Explain the principles of Java concurrency and suggest ways to use concurrency techniques for improved code performance and scalability." 请解释 Java 并发的原理并建议使用并发技术来提高代码性能和可扩展性的方法。 "Suggest ways to optimize Java code for improved […] →Read more
Cloud Native Buildpacks (CNBs) transform your application source code into container images that can run on any cloud. With buildpacks, organizations can concentrate the knowledge of container build best practices within a specialized team, instead of having application developers across the organization individually maintain their own Dockerfiles. This makes it easier to know what is […] →Read more
DNS-F (DNS Failover) is a DNS-based mechanism supported by Nacos, a dynamic service discovery and configuration management platform, to provide failover support for service discovery. It works by allowing services to use DNS queries to retrieve IP addresses of available service instances, ensuring resilience and reliability when instances become unavailable. Here’s a breakdown of what […] →Read more
12 factor In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service. The twelve-factor app is a methodology for building software-as-a-service apps that: Use declarative formats for setup automation, to minimize time and cost for new developers joining the project; Have a clean contract with the underlying operating system, […] →Read more