Java Weekly, Issue 421 – Java周刊,第421期

最后修改: 2022年 1月 21日

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

1. Spring and Java

1.Spring和Java

>> The best way to use the Spring Transactional annotation [vladmihalcea.com]

>> 使用Spring事务性注释的最佳方式 [vladmihalcea.com]

Let’s revisit the good old @Transactional: the correct abstraction layer, propagation policies, isolation levels, read-only transactions, and more!

让我们重新审视一下好的旧@Transactional正确的抽象层、传播策略、隔离级别、只读事务,以及更多!。

>> Dynamic Inserts and Updates with Spring Data JPA [thorben-janssen.com]

>> 使用Spring Data JPA进行动态插入和更新 [thorben-janssen.com]

Dynamically include only the fields that are relevant for insert/updates with Spring Data JPA – a hidden performance gem useful in some scenarios.

通过Spring Data JPA动态地只包括与插入/更新有关的字段–这是一个隐藏的性能宝石,在某些情况下很有用。

>> Spring Data JDBC – How Can I Do a Partial Update of an Aggregate Root? [spring.io]

>> Spring Data JDBC – How Can I Do a Partial Update of an Aggregate Root? [spring.io]

Handling partial updates in Spring Data JDBC: reduced views over aggregates roots, custom methods, and raw SQLs.

在Spring Data JDBC中处理部分更新:通过聚合根、自定义方法和原始SQL减少视图。

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Benchmarking Kafka vs Chronicle for Microservices: which is 750 times faster? [blog.vanillajava.blog]

>> Benchmarking Kafka vs Chronicle for Microservices: which is 750 times faster?[blog.vanillajava.blog]

An interesting benchmark comparing Chronicle Queue to Apache Kafka – kafka might not be the best tool for the job especially for latency intensive applications!

一个有趣的基准,将Chronicle Queue与Apache Kafka进行比较 – Kafka可能不是最好的工具,特别是对于延迟密集型应用!

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Cost of Attrition [benjiweber.co.uk]

>>减员成本 [benjiweber.co.uk]

Losing someone can’t be always compensated by just hiring a new replacement! a good perspective on more hidden costs of attrition.

失去一个人不可能总是通过仅仅雇用一个新的替代者来补偿!关于自然减员的更多隐藏成本的好观点

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Polar Bear Prediction [dilbert.com]

>> 北极熊预测 [dilbert.com]

>> Taking it Personally [dilbert.com]

>> Taking it Personally [dilbert.com]

>> Catbert Doesn’t Make The Rules [dilbert.com]

>> Catbert Doesn’t Make The Rules [dilbert.com]

5. Pick of the Week

5 本周精选

>> jChampionsConference – a crazy roster of speakers, really really solid talks, and entirely free 🙂

Next »

Java Weekly, Issue 422

« Previous

Java Weekly, Issue 420

>> jChampionsConference–疯狂的演讲者名单,真的非常扎实的讲座,而且完全免费 🙂

Next

Java Weekly,第422期

Previous

Java Weekly, issue 420

文章系列导航结束