Java Weekly, Issue 246 – Java周刊》第246期

最后修改: 2018年 9月 13日

中文/混合/英文(键盘快捷键:t)

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Bootiful GCP: Supporting Observability with Spring Cloud GCP Stackdriver Trace (6/8) [spring.io]

>> Bootiful GCP: Use Spring Cloud GCP to Connect to Other GCP Services (7/8) [spring.io]

A brief look at distributed tracing using Spring Cloud Sleuth, and a quick example of how to consume another GCP service using either its direct Java SDK or its REST API. Very cool.

简要介绍一下使用Spring Cloud Sleuth的分布式跟踪,以及如何使用其直接的Java SDK或其REST API来消费另一个GCP服务的快速示例。非常酷。

>> Stackwalking in Java with StackWalker and Stream API [4comprehension.com]

A good introduction to the JEP-259 Stack-Walking API that lets you lazily traverse stack traces using the Stream API.

对JEP-259 Stack-Walking API的一个很好的介绍,它可以让你使用Stream API快速地遍历堆栈痕迹

>> What’s New in JUnit 5.3 [medium.com]

An overview of the latest features in JUnit 5, including parallel test execution, and finally, native support for the maven surefire and failsafe plugins.

概述JUnit 5的最新功能,包括并行测试执行,以及最后,对maven surefire和failafety插件的原生支持

>> Thread pool self-induced deadlocks [nurkiewicz.com]

A solid write-up about deadlocks in general, plus a scenario showing how the incorrect use of a thread pool can easily lead to deadlock.

一篇关于死锁的可靠文章,以及一个显示如何不正确使用线程池很容易导致死锁的场景

>> Property-based Testing in Java: Stateful Testing [blog.johanneslink.net]

And, a clever approach to testing application state, in which you model expected behaviors as a finite state machine and then check whether invariants and postconditions hold. Good stuff.

还有,一种测试应用程序状态的聪明方法,在这种方法中,你将预期行为建模为一个有限状态机,然后检查不变量和后置条件是否成立。好东西。

Also worth reading:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> On supporting Continuous Testing with FITR test automation (republished) [ontestautomation.com]

If you want your automated tests to be a valuable part of your CI/CD strategy, first make sure that they are focused, informative, trustworthy, and repeatable — the four pillars of continuous testing.

如果你想让你的自动化测试成为你的CI/CD策略的一个有价值的部分,首先要确保它们是集中的、有信息的、可信的和可重复的–持续测试的四个支柱

>> Keystone Real-time Stream Processing Platform [medium.com]

A high-level overview of the architecture and design principles of Netflix’s Keystone platform, along with some of the challenges faced in implementing a data pipeline and SPaaS at large scale.

对Netflix的Keystone平台的架构和设计原则的高层次概述,以及在大规模实施数据管道和SPaaS时面临的一些挑战

>> Build Once, Run Anywhere: Externalize Your Configuration [reflectoring.io]

A good write-up touting the merits of decoupling configuration parameters from deployed artifacts.

一篇很好的文章,吹捧了配置参数与部署工件脱钩的优点

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Can’t Squeeze Blood from a Turnip [dilbert.com]

>> Thank You for Your Candor [dilbert.com]

>> Big Brother is Watching [dilbert.com]

4. Pick of the Week

4.本周精选

>> Real Work vs. Imaginary Work [m.signalvnoise.com]

Next »

Java Weekly, Issue 247

« Previous

Java Weekly, Issue 245

Next

Java周刊。第247期

Previous

Java Weekly, Issue 245