Alternative Degree
Alternative Degree
  • 11
  • 9 075
Nginx as a reverse proxy - A closer look at Nginx worker processes and worker connections
#nginx #performance #tomcat
In this video we talk about nginx performance tuning. We look at some of the key directives related to worker processes and worker connections. We also walk through a quick demo using, nginx(acting as a reverse proxy), tomcat and jmeter. In this demo we simulate performance bottleneck with nginx as well as tomcat.
Source code shown in the demo is available here github.com/alternativedegree/nginx-tuning
Intro 00:00
Nginx Directives 02:49
Code Walkthrough & Demo : 06:05
Load Test Using Jmeter: 15:15
Identifying Performance Bottlenecks: 16:00
Links to my other videos
Tomcat worker threads: Load Shedding - czcams.com/video/NGw3duBQT88/video.htmlsi=_yQwna-AElWXCW_K
Microservices Circuit Breaker: czcams.com/video/BMGemteo9r8/video.htmlsi=BQbQQMmD27Bjd9EQ
Java Parallel Streams : ForkJoin Pool - czcams.com/video/mUsRBDR4Xdg/video.htmlsi=GqXYRRiP8xc1QNwn
zhlédnutí: 47

Video

Microservices - Circuit Breaker Pattern
zhlédnutí 78Před rokem
In this video we are going to talk about how to implement Circuit Breaker pattern using Resilience4j for SpringBoot microservices. It talks about what is the problem that needs to be solved, how to solve it with circuit breaker and code walkthrough on how to implement it. GitHub: github.com/alternativedegree/circuit-breaker Resilience4j CircuitBreaker: resilience4j.readme.io/docs/circuitbreaker...
Spring Boot - Tomcat Worker Threads : Load Shedding
zhlédnutí 1,5KPřed 2 lety
In this video we are going to talk about tomcat worker threads & Load Shedding for a Spring Boot Embedded tomcat application. When a service is under load shedding is an option to fail fast the incoming requests. We are going to take a deep-dive on why we need load shedding, how do we it and what are the advantages of it. We are also going to cover how to perform load shedding and still make su...
AWS API Gateway - WebSocket API - Metrics
zhlédnutí 357Před 3 lety
#AWS #ApiGatewayWebsocket #Websockets #Metrics #ApiGatewayWebSocketMetrics In this video we are going to look into some of the important metrics to be monitored for AWS API Gateway WebSocket. This video also talks about Messages Per Second limit, for which there is no proper documentation available online. It also talks about the API Gateway throttling limits and cloudwatch alarms that need to ...
AWS API Gateway - Websocket API | Develop and Publish Websocket API
zhlédnutí 658Před 3 lety
In this video we will talk about how to develop and publish a Websocket API using AWS API Gateway, AWS Lambda and DynamoDB. Websocket APIs - docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api.html wscat can be downloaded from here - www.npmjs.com/package/wscat #AWS #APIGateway #Lambda #Websocket
Java - ParallelStreams - ForkJoinPool
zhlédnutí 2,3KPřed 3 lety
In this video we talk about ForkJoinPool - commonPool - customized pool - ParallelStreams and use of ForkJoinPool To know more about basics of multithreading and executor service please watch my previous videos Java Multithreading| Introduction | Extend Thread - czcams.com/video/F2TkIojBdws/video.html Java Multithreading | Runnable Interface - czcams.com/video/pPVRvh6pb_I/video.html Java Execut...
Java - Executor Service | Executor Framework - Part 2
zhlédnutí 333Před 3 lety
In this video we are going to talk about various ways to create a thread pool using ExecutorService - newCachedThreadPool and how is it different from a newFixedThreadPool - newSingleThreadExecutor and how is it different from a newFixedThreadPool(1) - newScheduledThreadPool You can look into my last video to learn about the basics of ExecutorService and newFixedThreadPool czcams.com/video/9DvD...
Java - How to use ExecutorService | Executor Framework - Part 1
zhlédnutí 3,4KPřed 3 lety
This video talks about the basics of ExecutorService. It explains the importance of thread pools in java. Executor framework provides components to manage worker threads. You can create a thread pool by calling one of the factory methods in Executors class newFixedThreadPool - Fixed number of threads newCachedThreadPool - Thread pool size is not limited newSingleThreadExecutor - A Single thread...
Java Multithreading | Runnable Interface | Part 2
zhlédnutí 109Před 3 lety
In this video we will look into how to create a thread in Java by implementing Runnable interface. It is considered a good practice to implement a Runnable interface to create a thread, rather than extending Thread class. We will explore three different ways to create a Runnable interface - Create a separate class which implements Runnable interface - Create an anonymous class which implements ...
Java Multithreading | Introduction - Extend Thread | Part 1
zhlédnutí 255Před 3 lety
Multithreading is one of interesting and challenging topics in Java. In this video we talk about the following - why we need multithreading - how do we create a thread in Java using Thread class - Create a thread / Start a thread / Name a thread / Wait for a thread #Java #Multithreading #Thread #Programming #Concurrency
How to Install JDK(15.0.1) on a Mac - Java on Mac
zhlédnutí 75Před 3 lety
How to install JDK on a mac - This video helps you install Java/JDK on a mac. Steps to Install Java: 1. Check to see if java exists: java -version 2. Download java from this link www.oracle.com/java/technologies/javase-downloads.html 3. Launch the installer and follow the steps 4. To check where is java installed run the following command in a terminal /usr/libexec/java_home -v15 How to Set up ...

Komentáře

  • @manjunathmali5310
    @manjunathmali5310 Před měsícem

    Thanks a lot man, really helpful.

    • @alternativedegree135
      @alternativedegree135 Před měsícem

      Thank you 🙂. Let me know if there is any other topic on which you would like me to come up with a video.

  • @justinking684
    @justinking684 Před rokem

    Really Great. Thanks for sharing

  • @1aaaref
    @1aaaref Před 2 lety

    This was very to the point and helpful. Thank you for sharing. Waiting for the next videos.

  • @venkatasiva9517
    @venkatasiva9517 Před 2 lety

    Very good explanation 👍 keep go on . One suggestion if you don't mind , can you please change your ppt background color to some brighter colour like white with black font on it . Thanks much 👍

  • @venkatasiva9517
    @venkatasiva9517 Před 2 lety

    Hi Alternative Degree, Very good information with clear explanation . Please do proceed with new concepts. its been a while. Thanks..

    • @alternativedegree135
      @alternativedegree135 Před 2 lety

      Thank you Venkata Siva. I have posted a new video about Load shedding. Please watch it and share your feedback.

    • @venkatasiva9517
      @venkatasiva9517 Před 2 lety

      @@alternativedegree135 Sure 👍

  • @sakinashaikh7027
    @sakinashaikh7027 Před 2 lety

    Please post the next videos of the series

    • @alternativedegree135
      @alternativedegree135 Před 2 lety

      Thanks for your comment. Please let me know if you have any specific topic that you would like me to cover.

  • @MrFastmani
    @MrFastmani Před 3 lety

    This was a good explanation, Thanks for the session

  • @gregchen4023
    @gregchen4023 Před 3 lety

    I do not agree with you regarding the garbage collection. Idle threads do not result in garbage collection.