Brave New Rapidly Changing World - Java Software Engineering Weekly Newsletter
Oleksandr StefanovskyiHello remote workers!
The third week of isolation. I hope that you all doing well. A lot of people feel tired of this situation and start doing crazy things like singing on the balconies and jangling toilet paper. Brian Norgard from Tinder said in his twitter, "You are not bored, you are boring". There are so many actions you can do at home. Don`t be boring. You could teach your kid programming "Coding With Ari, for Kids at Home" as Troy Hunt did or you could bake bread as Andy Jones or to build a robot if you are lonely.
In case you suddenly have a few more hours of free time you could invest it in learning something new cause the world is changing right now and you should do the same, you should adapt to the new world we face right now. Charles Darwin said, "It is not the strongest of the species that survives but the most adaptable".
Martin Fowler wrote an article "How to do effective video calls" and it is pretty good. I pretty sure that you know most of that intuitively, but it is still worth highlighting for one more time.
Only lazy didn't write the article about remote work this fortnight. But still, there are so few of them worth reading. Here is an article from Jan Hölter and Jan Coupette "Remote teamwork – experience report from a distributed team". Don`t miss it.
👉 Firebreaks and Rapid Repairs - "A firebreak in daily life are pre-built areas that stop you from acting stupidly on autopilot and give you a shot to reboot the behaviors you want." -- I've shared this notion with you before, but I think it's worthy of rereading it at our new environment. Take 15 minutes every week to see which areas or behaviors you want to fix to readjust your body and mind.
Java
- Getting Started With RSocket: Spring Boot Request-Stream - A quick example of client-side and server-side data streaming with the RSocket protocol.
- Your own Kubernetes controller – Developing in Java - A nice intro to the Fabric8 Java API for monitoring and managing state in a Kubernetes cluster.
- Implementing DDD Building Blocks in Java - And a collection of DDD design challenges when mapping a domain model to persistence technology like JPA.
- Docker Compose for Spring Boot application with PostgreSQL - In this blog post, you will learn how to configure Spring Boot application with PostgreSQL for running with Docker Compose.
- GraphQL server in Java: Part III: Improving concurrency - the idea behind GraphQL is to reduce the number of network round-trips by batching multiple, often unrelated requests, into a single network call. This greatly reduces latency by delivering many pieces of information at once. It’s especially useful when multiple sequential network round-trips can be replaced with a single one.
- N+1 query problem with JPA and Hibernate - The N+1 query problem happens when the data access framework executed N additional SQL statements to fetch the same data that could have been retrieved when executing the primary SQL query.
- LazyInitializationException – What it is and the best way to fix it - The LazyInitializationException is one of the most common exceptions when working with Hibernate. There are a few easy ways to fix it. But unfortunately, you can also find lots of bad advice online.
Databases
- 9 Offbeat Databases Worth A Look — Popular, well-tested databases have a huge benefit in sense of community, documentation, and proven performance, but keeping an eye on newer or less common databases can prove educational (or, in the best case, perfectly suited to your unusual use cases!)
- MeiliSearch: Fast, Open Source Full-Text Search Database — Think of this as a zero-config alternative to Elasticsearch. It’s built-in Rust and supports things like tolerating typos in queries, filters, synonym checks, and is well suited for fast ‘as you type’ searches.
- NASA to Launch 247 Petabytes of Data Into AWS, But.. — …they possibly forgot about the potential egress costs. (If my wrangling with the Amazon S3 calculator is right, that’d be over $12m just to download the entire dataset once?)
- MongoDB Helping Developers Tackle COVID-19 — MongoDB, Inc. is giving out free MongoDB Atlas (their database-as-a-service platform) credits for those detecting, understanding and stopping the spread of COVID-19.
- AWS Adds Role-Based Access Control to Amazon DocumentDB — DocumentDB is AWS’s ‘MongoDB compatible’ document database service and now you can grant users roles (e.g. read, readWrite or dbOwner).
Tools
- Screen - Control each other’s apps with a new screen-sharing tool
- SymmetricDS: An Open Source Database Replication System — A Java-powered system supporting one-way or multi-master replication, including transformations, across many databases including Oracle, MySQL/MariaDB, Postgres, SQL Server, SQLite, MongoDB, and more.
You could check out previous issues at my site, telegram or twitter.