That's an interesting and useful feature. I'd come across this term several times but never had searched what it is really about. Thank you for sharing this knowledge with us, bro.
You have 4 microservices. One microservice (orchestrator) is built with AWS Lambda. This orchestrator Lambda will determine which one of the other three microservices to call based on the Lambda response. I need advice on what AWS services or design patterns to use to achieve this.
This should be async call and I believe we should go either adapter or service locator design pattern . I will describe more about it hopefully in weekend . You can feel free to share your thoughts
Hi Basanta, thanks for the knowledge share but aren't compression - decompression, kind of like serialization - deserialization and would make things slow in general if this is done every time for every request.
I came to know very good feature today. I faced this issue while performing load testing. if the payload is very huge then it will take lot of time When considering of average & 90th Percentile response times of API requests. I will implement this feature in my project sir then I will check. Thanks a lot sir. Can you please do one video for oauth2 authorization server and resource server with jwt token.
Just an FYI.. if you want to see the details of uncompressed data in Postman make sure you are using postman version 11.8 or higher. In earlier versions of postman, you won't be able to see the details of uncompressed data.
Hello basant, you told about the last optional property "server.compression.min-response-size" means response will not go beyond this. But it is not max-response-size. Please clear it.
Hi, Basant did you know how to get data from AWS FSx and store the data in mongodb using springboot. Could you please create a video with these requirements. Thanks
Hi bro, Thanks for sharing knowledge. What are all browsers support this compression technique and how to solve if any browser doesn't support this. Please help on this
Hi bro can you please clarify i am going to buy your course today. If you update the course will it on same course or are you going to launch another module?
I am using to specific api(specific endpoint) but not working all api acces when application propoties i added server.compression.enabled=true server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/json,application/xml pls guide me pls give me replay
Great Way of compressing the data.. Never used these properties.. Thanks!!
Thanks Basant, appreciate your efforts! God bless you😊
That's an interesting and useful feature. I'd come across this term several times but never had searched what it is really about.
Thank you for sharing this knowledge with us, bro.
thank u sir, we need this types of topics
thanks for useful information, as usual every video of yours can be used in real time scenarios of the project
absolutely 💯
Very helpful
Thank you
Great video📈
Gzip is very useful in compressing docker image as well.
You have 4 microservices.
One microservice (orchestrator) is built with AWS Lambda.
This orchestrator Lambda will determine which one of the other three microservices to call based on the Lambda response.
I need advice on what AWS services or design patterns to use to achieve this.
This should be async call and I believe we should go either adapter or service locator design pattern . I will describe more about it hopefully in weekend . You can feel free to share your thoughts
Thank you 🎉
Hi Basanta, thanks for the knowledge share but aren't compression - decompression, kind of like serialization - deserialization and would make things slow in general if this is done every time for every request.
This is not manual process buddy. Server and client will do this on the fly so i don't think any issues on it
Agreed to this @@Javatechie
I came to know very good feature today. I faced this issue while performing load testing. if the payload is very huge then it will take lot of time When considering of average & 90th Percentile response times of API requests. I will implement this feature in my project sir then I will check. Thanks a lot sir. Can you please do one video for oauth2 authorization server and resource server with jwt token.
Sure buddy 👍
Thanks sir ❤
Just an FYI.. if you want to see the details of uncompressed data in Postman make sure you are using postman version 11.8 or higher. In earlier versions of postman, you won't be able to see the details of uncompressed data.
Great
for GZip we no need to add any dependency right ? only configuration is enough ?
Thanks
Tq bro
can we apply this to specific end points??
Yes for that we need to write custom filter
How client will decompress it ?
Can we compress specific api response using gzip
I don't want to make all apis to compress
Yes ,you can create a custom filter to apply Gzip compression to specific endpoints only.
Hello basant, you told about the last optional property "server.compression.min-response-size" means response will not go beyond this. But it is not max-response-size. Please clear it.
Do we need to make any changes to httpclient/resttemplate when api returns data with gzip?
No not needed only adding the properties is enough. On the fly encoding and decoding will happen
@Javatechie Thanks for the update!!
Hi, Basant did you know how to get data from AWS FSx and store the data in mongodb using springboot. Could you please create a video with these requirements.
Thanks
Thanks giving information, but After i have implemented no change in Latency time but the data size reduced
Try with large payload you can find the difference
Will this work with RestTemplate or Web client?
Hi bro, Thanks for sharing knowledge. What are all browsers support this compression technique and how to solve if any browser doesn't support this. Please help on this
Almost all the browser support this buddy
does Angular support the decompression?
Irrespective of fronted language we do access them in browser right so browser has that capable to decompres
Hi bro can you please clarify i am going to buy your course today. If you update the course will it on same course or are you going to launch another module?
Is there any offline courses?
Regarding what buddy?
@@Javatechie training
No offline training buddy. I have online course
@@Javatechie okay
Instead having this on controller level, can we have this to specific API level ?
You can create a custom filter to apply Gzip compression to specific endpoints or API only.
Can we call the same api in react with no code update? For gzip at front end layer
Yes you can
I am using to specific api(specific endpoint) but not working all api acces when application propoties i added
server.compression.enabled=true
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/json,application/xml
pls guide me pls give me replay
You need to use filter if you want to apply this compression technique for specific api
@@Javatechie sir I already done dofilter method implementation but not working I checked also reverse pls make one video
How long will it take to compress and decompress? I dont think this would work for prod
It depends on your data size . Can you elaborate why it will not work for production?
Sir can i get an internship opportunity i will work unpaid also with you
gzip is build in but it's better to forget it in favor to brotli that is supported by 100% of modern devices
I will definately explore more about brotli
It doesn’t seem like a good approach 😅
Sir can i get an internship opportunity i will work unpaid also with you