Partner – DBSchema – NPI EA (tag = SQL)
DbSchema is a super-flexible database designer, which can
take you from designing the DB with your team all the way to
safely deploying the schema.
The way it does all of that is by using a design model, a
database-independent image of the schema, which can be shared in a
team using GIT and compared or deployed on to any database.
And, of course, it can be heavily visual, allowing you to
interact with the database using diagrams, visually compose
queries, explore the data, generate random data, import data or
build HTML5 database reports.
>> Take a look at
DBSchema
Partner – Aegik AB – NPI EA (tag = SQL)
Slow MySQL query performance is all too common. Of course
it is. A good way to go is, naturally, a dedicated profiler that
actually understands the ins and outs of MySQL.
The Jet Profiler was built for MySQL only, so it can do
things like real-time query performance, focus on most used tables
or most frequent queries, quickly identify performance issues and
basically help you optimize your queries.
Critically, it has very minimal impact on your server's
performance, with most of the profiling work done separately - so
it needs no server changes, agents or separate services.
Basically, you install the desktop application, connect to your MySQL
server, hit the record button, and you'll have results
within minutes:
>> Try
out the Profiler
Course – LSD – NPI EA (tag=Spring Data JPA)
Spring Data JPA is a great way to handle the complexity of
JPA with the powerful simplicity of Spring Boot.
Get started with Spring Data JPA through the guided reference
course:
>>
CHECK OUT THE COURSE
Partner – Digma – NPI EA (tag = Debugging)
Repeatedly, code that works in dev breaks down in production.
Java performance issues are difficult to track down or predict.
Simply put, Digma provides immediate code
feedback. As an IDE plugin, it identifies issues with your
code as it is currently running in test and prod.
The feedback is available from the minute you are writing
it.
Imagine being alerted to any regression or code smell as you're
running and debugging locally. Also, identifying weak spots that
need attending to, based on integration testing results.
>>
Enable code feedback in your IDE.
Of course, Digma is free for developers.
Partner – Bellsoft – NPI EA (cat = Spring/DevOps)
30% less RAM and a 30% smaller base image for running a Spring
Boot application? Yes, please.
Alpaquita Linux was designed to efficiently run containerized
Java applications.
It's meant to handle heavy workloads and do it well.
And the Alpaquita Containers incorporates Liberica JDK Lite, a
Java runtime tailored to cloud-based services:
>> Try
Alpaquita Containers now.
Partner – Lightrun – NPI EA (cat=Spring)
We rely on other people’s code in our own work. Every
day.
It might be the language you’re writing in, the framework you’re
building on, or some esoteric piece of software that does one thing
so well you never found the need to implement it yourself.
The problem is, of course, when things fall apart in
production - debugging the implementation of a 3rd party
library you have no intimate knowledge of is, to say the least,
tricky.
Lightrun is a new kind of debugger.
It's one geared specifically towards real-life production
environments. Using Lightrun, you can drill down into running
applications, including 3rd party dependencies, with real-time
logs, snapshots, and metrics.
Learn more in this quick, 5-minute Lightrun tutorial:
>> The
Essential List of Spring Boot Annotations and Their Use
Cases
Lots of interesting writeups on Java 9 this week.
Here we go…
1. Spring and Java
Java 9 will be out in a week – this is the right time to get to know the JPMS better.
There multiple ways of configuring a Spring context – some can (maybe even should) involve Groovy and Kotlin.
JUnit 5 has just been released – time to start putting it to work.
A very interesting write-up about simulating scheduleAtFixedRate and scheduleWithFixedDelay with RxJava.
Using an if statement can be both good practice – as well as a code smell – it’s important to know when to use it.
Lombok is a great tool that can bring some fresh breath to Java and make some boilerplate go away.
It’s important to know the semantics of tools we’re using – otherwise, for example, we might end up with unintentional sequential processing where parallel was expected.
Also worth reading:
Webinars and presentations:
Time to upgrade:
2. Technical
A comprehensive guide to NoSQL from the non-technical viewpoint 🙂
A cool proxy solution I didn’t know about until this writeup.
Also worth reading:
3. Musings
Microservices are not silver bullets – they should be used when you need them and not because you want them.
Also worth reading:
4. Comics
And some cool Dilberts of the week:
5. Pick of the Week