One request in your system results some threads and 10,000 requests results a lot more. This will eventually cause your system to run out of threads as more and more requests are in place. So how do we efficiently handle this case? Solution is NIO. Read on to see how to make one thread do another job like sending another request instead of waiting for the response send by a request.
#java #io #nio #middle #senior
https://medium.com/thinkspecial/reactive-nio-non-blocking-input-output-37c5cb44bf07
#java #io #nio #middle #senior
https://medium.com/thinkspecial/reactive-nio-non-blocking-input-output-37c5cb44bf07
Medium
Reactive NIO (Non Blocking Input/Output)
Plugging and playing with AOL Cyclops in a Springboot application. ♻️
When you design and build applications at scale, you deal with two significant challenges: scalability and robustness. You should design your service so that even if it is subject to intermittent heavy loads, it continues to operate reliably. Check this amazing article and see how Message Queues, Spring Boot and Kubernetes can change the game.
#architecture #microservices #spring #springboot #kubernetes #middle #senior
https://learnk8s.io/blog/scaling-spring-boot-microservices
#architecture #microservices #spring #springboot #kubernetes #middle #senior
https://learnk8s.io/blog/scaling-spring-boot-microservices
Learnk8s
Scaling SpringBoot with Message Queues and Kubernetes
You should design your service so that even if it is subject to intermittent heavy loads, it continues to operate reliably. But how do you build such applications? And how do you deploy an application that scales dynamically?
Right now JetBrains has 48 hours sales with 50% off the standard 1st year price for all IDEs!
#news #jetbrains #ide
https://www.jetbrains.com/promo/friends/
#news #jetbrains #ide
https://www.jetbrains.com/promo/friends/
JetBrains
Monthly and yearly plans with JetBrains Toolbox
You love reactive streams. Great. The application you are working on is non-reactive and full of blocking calls. Not so great. In this article you will explore options to bridge reactive and non-reactive code and potentially make applications more performant.
#java #refactoring #middle #senior
https://itnext.io/how-to-make-legacy-code-reactive-2debcb3d0a40
#java #refactoring #middle #senior
https://itnext.io/how-to-make-legacy-code-reactive-2debcb3d0a40
Medium
How to Make Legacy Code Reactive
You love reactive streams. Great. The application you are working on is non-reactive and full of blocking calls. Not so great. In this…
The use of if..else chaining in some cases may not be considered the cleanest code you have ever come with. In this article the author will take you through some alternatives and how to end up with an elegant looking block using Optionals.
#java #refactoring #middle
https://codeburst.io/replace-your-if-else-if-nested-if-not-null-then-get-blocks-with-java-8-optional-s-ed9695a6331e
#java #refactoring #middle
https://codeburst.io/replace-your-if-else-if-nested-if-not-null-then-get-blocks-with-java-8-optional-s-ed9695a6331e
Medium
Replace your if..else if…/ nested if-not-null -then-get blocks with Java 8 Optional(s)
Optional is a welcome inclusion in Java 8, famously as an alternative for null values. The main intent of Optional was supplying non-null…
Java Magazine, July/August 2018
Libraries in Java are available today to do almost anything that is required, and for the most part, they’re open source and freely available. To help you navigate such a wide body of work, Java Magazine dedicated an entire issue to them. Learn the mechanics of library operations, look at the most popular one for creating PDF files, see how to convert pre-Java 9 libraries to Java modules and much more.
Don’t miss it!
#java #news #magazine
http://www.javamagazine.mozaicreader.com/JulyAugust2018#&pageSet=0&page=0&contentItem=0
Libraries in Java are available today to do almost anything that is required, and for the most part, they’re open source and freely available. To help you navigate such a wide body of work, Java Magazine dedicated an entire issue to them. Learn the mechanics of library operations, look at the most popular one for creating PDF files, see how to convert pre-Java 9 libraries to Java modules and much more.
Don’t miss it!
#java #news #magazine
http://www.javamagazine.mozaicreader.com/JulyAugust2018#&pageSet=0&page=0&contentItem=0
Mozaicreader
Java Magazine, July/August 2018
View the digital edition of Java Magazine: July/August 2018.
Get familiar with the most important and meaningful DevOps metrics to monitor at your software development organization. Learn how they can assist you to evaluate the success of DevOps usage in your company. Optimizing any of them can help you make releases faster and create products your clients will love.
#devops #metrics #middle
https://dzone.com/articles/8-meaningful-devops-metrics-you-should-trust
#devops #metrics #middle
https://dzone.com/articles/8-meaningful-devops-metrics-you-should-trust
dzone.com
8 Meaningful DevOps Metrics You Should Trust - DZone DevOps
Learn about the eight most important and meaningful DevOps metrics to monitor at your software development company, like deployment frequency and lead time.
When you work with a few thousands of items performance isn't a concern. But, in some extreme situations, when we have to travel over a few millions of items several times, performance will become a pain. In this article on dealing with collections in Java you will learn more about the forEach loop and how it compares to C style and Stream API.
#java #collections #junior #middle
https://dzone.com/articles/iteration-over-java-collections-with-high-performa
#java #collections #junior #middle
https://dzone.com/articles/iteration-over-java-collections-with-high-performa
DZone
Iteration Over Java Collections With High Performance
This post looks at collections in Java, specifically the forEach loop and how it compares to C style and Stream API, concluding that rewriting loops is most effective.
Learn about Zipkin and Jaeger, how they work to add request tracing to your logging routine, and how to choose which one is the right fit for you.
#debug #testing #jaeger #zipkin #middle #senior
https://dzone.com/articles/zipkin-vs-jaeger-getting-started-with-tracing
#debug #testing #jaeger #zipkin #middle #senior
https://dzone.com/articles/zipkin-vs-jaeger-getting-started-with-tracing
dzone.com
Zipkin vs. Jaeger: Getting Started With Tracing - DZone Microservices
Learn about Zipkin and Jaeger, how they work to add request tracing to your logging and monitoring, and how to choose which one is right for your microservices.
Check this analysis from a survey of the DZone community with a lot of detailed diagrams regarding the popularity of microservices, what programming languages are used the most and which are the prevailing frameworks, tools and trends in the microservices world.
#microservices #statistics #trends
https://dzone.com/articles/dzone-research-microservices-priorities-and-trends
#microservices #statistics #trends
https://dzone.com/articles/dzone-research-microservices-priorities-and-trends
DZone
[DZone Research] Microservices Priorities and Trends
This research from DZone's 2018 user survey looks at trends in tools, frameworks, and more for developing applications with microservices architecture
The Java concurrent API and the streaming API are very interesting and powerful tools that we all using Java should learn how to use in a responsible way so we can deliver better and more performant applications. It might take some time to get used to these new concepts, especially when starting working with them, but it is just a matter of practice and good engineering techniques until we are experts on these areas.
#java #collections #junior #middle
https://hackernoon.com/collect-or-not-collect-your-java-stream-733821507ce
#java #collections #junior #middle
https://hackernoon.com/collect-or-not-collect-your-java-stream-733821507ce
Hackernoon
Collect or not Collect your Java Stream?
New releases from the last time:
#releases #spring #hibernate
Spring Framework 5.1
https://spring.io/blog/2018/07/26/spring-framework-5-1-goes-rc1
Hibernate 5.3
https://www.thoughts-on-java.org/hibernate-5-3/
#releases #spring #hibernate
Spring Framework 5.1
https://spring.io/blog/2018/07/26/spring-framework-5-1-goes-rc1
Hibernate 5.3
https://www.thoughts-on-java.org/hibernate-5-3/
Spring Framework 5.1 goes RC1
Level up your Java code and explore what Spring can do for you.
Evolving the Java Language Principles and Directions
As Java is approaching middle age you may raise the question where would it be in the next years. Don't miss to watch this talk with Brian Goetz.
#java #javafuture
https://www.youtube.com/watch?v=A-mxj2vhVAA
As Java is approaching middle age you may raise the question where would it be in the next years. Don't miss to watch this talk with Brian Goetz.
#java #javafuture
https://www.youtube.com/watch?v=A-mxj2vhVAA
YouTube
Evolving the Java Language with Brian Goetz
Evolving the Java Language Principles and Directions with Brian Goetz
Project Amber: http://openjdk.java.net/projects/amber/
Project Valhalla: http://openjdk.java.net/projects/valhalla/
0:00 ➠ Principles
9:05 ➠ Evolution and Programming Languages
12:11…
Project Amber: http://openjdk.java.net/projects/amber/
Project Valhalla: http://openjdk.java.net/projects/valhalla/
0:00 ➠ Principles
9:05 ➠ Evolution and Programming Languages
12:11…
The new version of the HTTP protocol, HTTP/2 lets the server push content to the client before the client requests the particular content. In this great article our colleague Peter Verhas will focus mostly on the server push functionality in the Servlet 4 API and will provide very useful tips how to test it.
#java #http #middle
https://www.javacodegeeks.com/2018/07/http-2-server-push.html
#java #http #middle
https://www.javacodegeeks.com/2018/07/http-2-server-push.html
Java Code Geeks
HTTP/2 Server Push | Java Code Geeks - 2020
Interested to learn more about HTTP 2? Then check out our article where we see the new version of the HTTP protocol and the differences with the old ones!
Want to learn how to compile Java code and significantly reduce startup time? Check out this post on using GraalVM in Java to learn more.
#java #tuning #senior
https://dzone.com/articles/natively-compile-java-code-for-better-startup-time
#java #tuning #senior
https://dzone.com/articles/natively-compile-java-code-for-better-startup-time
dzone.com
How to Natively Compile Java Code for Better Startup Time - DZone Java
In this article, we took a look at how GraalVM can reduce startup time — when compared to OpenJDK 10 — and Docker image size for Java-based programs.
Joshua Bloch covers some highlights from the third edition of “Effective Java”, concentrating on streams and lambdas. If you do not have time to read the book or you only need to upgrade your Java 8 skills then this article is for you!
#java #architecture #junior #middle
https://www.infoq.com/presentations/effective-java-third-edition?useSponsorshipSuggestions=true&utm_source=presentations_about_java&utm_medium=link&utm_campaign=java
#java #architecture #junior #middle
https://www.infoq.com/presentations/effective-java-third-edition?useSponsorshipSuggestions=true&utm_source=presentations_about_java&utm_medium=link&utm_campaign=java
InfoQ
Effective Java, Third Edition - Keepin' it Effective
Joshua Bloch covers some highlights from the third edition of “Effective Java”, concentrating on streams and lambdas. The recently released edition of Effective Java contains one new chapter, fourteen new items, and numerous changes to existing items.
This amazing article covers very useful topics how to secure you Spring Boot based application. If you haven't considered security on you project this is your starting point! Don't miss it!
#spring #springboot #middle
https://developer.okta.com/blog/2018/07/30/10-ways-to-secure-spring-boot
#spring #springboot #middle
https://developer.okta.com/blog/2018/07/30/10-ways-to-secure-spring-boot
Okta Developer
10 Excellent Ways to Secure Your Spring Boot Application
Spring Boot is one of the most popular Java frameworks. If you're developing Spring Boot apps that handle sensitive data, you should make sure they're secure. This article gives you some tips on how to build more secure Spring Boot applications.
Though Docker and Vagrant do similar things, they're very different. Understand the differences so you can choose the right one for your development environment.
#containers #docker #vagrant #middle
https://dzone.com/articles/vagrant-vs-docker-which-is-better-for-software-dev
#containers #docker #vagrant #middle
https://dzone.com/articles/vagrant-vs-docker-which-is-better-for-software-dev
dzone.com
Vagrant vs. Docker: Which Is Better for Software Development Environments? - DZone DevOps
In order to choose the right one for your software development environment, learn the differences between Docker and Vagrant, like security, speed, and more.
An interesting article about the differences between CTO, VP of Engineering and Program Manager.
https://medium.com/engineering-leadership/defining-roles-cto-and-or-vp-engineering-f1c7563643a3
https://medium.com/engineering-leadership/defining-roles-cto-and-or-vp-engineering-f1c7563643a3
Medium
Defining roles: CTO and/or VP Engineering
When technical titles get overloaded / confused
After seeing several APIs removed as part of Java 10, Java 11 looks to remove some more APIs. Check this post to loot at them and their potential replacements.
#java #java11 #news
http://marxsoftware.blogspot.com/2018/08/apis-to-be-removed-from-java-11.html
#java #java11 #news
http://marxsoftware.blogspot.com/2018/08/apis-to-be-removed-from-java-11.html
Blogspot
APIs To Be Removed from Java 11
After seeing several APIs removed as part of Java 10 , Java 11 ( JSR 384 ) looks to remove some more APIs. In the recent OpenJDK java-se-sp...