Skyrocket Your API Performance with These Techniques
HTML-код
- Опубликовано: 31 май 2024
- Head to cutt.ly/spring_micro and use Coupon Code DCBFEST to get a HUGE Discount on the course.
🎟 Join this channel to get access to perks:
/ @dailycodebuffer
RECOMMENDED COURSES
🎬 Spring Boot + React Full Stack Web Application with Tailwind CSS - • Spring Boot + React Fu...
🎬 Spring Security Full Course | From Registration to Login - • Spring Security Tutori...
🎬 Microservices using SpringBoot | Full Example - • Microservices using Sp...
🎬 Event-Driven Microservices with CQRS Design Pattern - • Implement CQRS Design ...
🎬 Implement SAGA Design Pattern using Spring boot and Axon Framework - • Implement SAGA Design ...
🎬 Spring Data JPA Tutorial | Full In-depth Course - • Spring Data JPA Tutori...
🎬 Deploy Springboot Microservices to Kubernetes Cluster - • Deploy Springboot Micr...
🎬 Automate Microservices deployment with Github Actions - • GitHub Actions Tutoria...
🎬 Go / Golang Full Course for Beginners - • Golang Tutorial for Be...
🎬 Node JS Full Course for Beginners: Learn in 2 Hours - • Node JS Full Course fo...
🎬 Express.js Tutorial - Beginner | 2021 - • Express.js Tutorial - ...
🎬 Redis CLI Tutorial | Complete Course - • Redis CLI Tutorial | C...
BE MY FRIEND:
👨💻. Website: www.dailycodebuffer.com/
👨🏫 Facebook: / dailycodebuffer
🐦 Twitter: / dailycodebuffer
📸 Instagram: / dailycodebuffer
🎮 GitHub: github.com/dailycodebuffer
MY FAVOURITE GEAR:
👨💻 My Macbook Air M1: amzn.to/3eFXlID
💻 ASUS ROG Zephyrus G14, 14": amzn.to/32xsXhf
💻 ASUS ROG Zephyrus G14, 14" (US): amzn.to/3xa6X6m
🎤 My Main Mic: amzn.to/3qDl0z0
🎤 My Main Mic (US): amzn.to/3awzUj7
🎙 My Secondary Mic: amzn.to/3sOZCJW
🖥 My LG Monitor: amzn.to/3zhLY3e
🖱 My Mouse: amzn.to/3eDpRKT
⌨️ My Keyboard: amzn.to/32xthMZ
RECOMMENDED BOOKS:
📙 Mastering Spring Boot 2.0 (Kindle): amzn.to/3HsOiHu
📙 Mastering Spring Boot 2.0 (US): amzn.to/3tHNUy5
📙 Building Microservices(Kindle): amzn.to/3gsA1jL
📙 Building Microservices(US): amzn.to/3dDnfNn
📙 Spring Boot in Action: amzn.to/32Nf3qW
📙 Spring Boot in Action (US): amzn.to/32DkeX9
📙 Spring Microservices in Action: amzn.to/3mQ4sCH
📙 Spring Microservices in Action(US): amzn.to/32G3Hl7
🎻 MUSIC:
🎵 Hear the Noise (Sting): ruclips.net/user/audiolibrary...
“Sound effects obtained from www.zapsplat.com“
#api #performance #DailyCodeBuffer - Наука
Head to cutt.ly/spring_micro and use Coupon Code DCBFEST to get a HUGE Discount on the course.
Another way of increasing the performance is:
- Use of async HTTP client e.g use of Webclient over RestTemplate (Reactive Prog.)
In my last project we used async Executors for initiating rest calls, then some business logic and then future.get() and callback
Spring WebFlux with a streaming API....
That way you can start presenting data to the user as it becomes available. User experience is much better, none of the 20 sec wait with a spinning wheel.
Very good, short and precise..
Keep sharing spring boot tips...Tnx..
could you please provide complete example on asyn logging for an application
Very nice.
Can you plz explain with example
DB indexing is another way to improve the API performance
Good job 👍🏻
Hi Bro!
Can you make the viedo on code reviews and shotcut with spring and java.
small databases can be entirely stored in memory, rather than in redis cache. For eg: we can read the whole data from database and store the data in a map during application startup and use this in memory map for the processing of each request.
Note: this approach can only be used when the database is used only to read data and there are no write transactions.
Can you share any reference where this was implemented?
Won't it affect the performance of the machine entirely when there is increase in db data or no of apps?
@@willwarasug.t.8126 yes it would. this approach can only be used when the data set is of limited size.
I have never seen this kind of approach, can you explain?
I want 2 more ways to improve the performance of API's:
1. db indexing
2. creating the view's
What about reactive programming? Sorry if I've repeated somebody :)
awesome video, thank you ☺️
Glad you liked it!
Isn't connection pooling handled by springboot itself? I see hikaripool warning regularly on console.
Yes, We can provide the configuration
For spring boot 3 hikaripool is autoconfigured maybe
Can you show us how to implement async logging please
You can put your log in a queue and use background worker service to write log
any examples with springboot app? can you show realtime example
I will plan on it
@DailyCodeBuffer Please do some realtime tutorial on this and also Please make a video on Reactive Programming and use of webclient over restTemplate. Please add these to your bucket list and also keep posting videos on springBoot and RestAPIs. It'll help the rookie developers.
use of gRPC
great. btw the filter hurts the eyes ;)
Sorry about that
M