Advance Python Series-Asynchronous Execution(Parallel Execution) With Thread Using Python

  Рет қаралды 11,496

Krish Naik

Krish Naik

3 жыл бұрын

github:github.com/krishnaik06/Machin...
(C++) CREST: Master Problem Solving and Become an Expert Coder: unacademy.com/batch/c-crest-m...
Educators
unacademy.com/goal/competitiv...
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for a few months and I love it! www.kite.com/get-kite/?...
All Playlist In My channel
Interview Playlist: • Machine Learning Inter...
Complete DL Playlist: • Complete Road Map To P...
Julia Playlist: • Tutorial 1- Introducti...
Complete ML Playlist : • Complete Machine Learn...
Complete NLP Playlist: • Natural Language Proce...
Docker End To End Implementation: • Docker End to End Impl...
Live stream Playlist: • Pytorch
Machine Learning Pipelines: • Docker End to End Impl...
Pytorch Playlist: • Pytorch
Feature Engineering : • Feature Engineering
Live Projects : • Live Projects
Kaggle competition : • Kaggle Competitions
Mongodb with Python : • MongoDb with Python
MySQL With Python : • MYSQL Database With Py...
Deployment Architectures: • Deployment Architectur...
Amazon sagemaker : • Amazon SageMaker
Please donate if you want to support the channel through GPay UPID,
Gpay: krishnaik06@okicici
Telegram link: t.me/joinchat/N77M7xRvYUd403D...
Please join as a member in my channel to get additional benefits like materials in Data Science, live streaming for Members and many more
/ @krishnaik06
Please do subscribe my other channel too
/ @krishnaikhindi
Connect with me here:
Twitter: / krishnaik06
Facebook: / krishnaik06
instagram: / krishnaik06

Пікірлер: 12
@kunalkumaraiml2365
@kunalkumaraiml2365 5 ай бұрын
Thank you so much sir, for such incredible content ⭐.
@sachinkun21
@sachinkun21 3 жыл бұрын
@krish great video as always. I have a couple of questions, when you set Max workers to None, did it automatically spawn max possible threads as the execution got completed in approx 1 sec? Also in case of multiple workers how can we map the result output back to it's function call as different function may have different execution times.
@Cybernetic1
@Cybernetic1 3 ай бұрын
Great content
@coolmantej50
@coolmantej50 3 жыл бұрын
Whats the difference between multithreading and multiprocessing and which one is faster to use
@rankushvishwakarma5658
@rankushvishwakarma5658 3 жыл бұрын
Thankyou sir
@bennguyen1313
@bennguyen1313 3 жыл бұрын
I'd like to improve my python's application performance, by passing a Multiprocessing pipe when instantiating the PyQt widget. One way I thought of doing is to create a custom class that extends both a pyqt widget and multiprocessing. For example this inherits from ONLY Qt, class MainWindowReceiver(QtWidgets.QMainWindow): def __init__(self, *args, **kwargs): super(MainWindowReceiver, self).__init__(*args, **kwargs) And can be instantiated without passing any argument: main = MainWindowReceiver() main.show() However, if I create a class that inherits from both PyQt AND multiprocessing, class MainWindowReceiver(QtWidgets.QMainWindow , mp.Process): super(Process, self).__init__(*args, **kwargs) then NONE of these work: out_pipe = mp.Pipe() p1 = MainWindowReceiver(out_pipe) #doesn't work p1 = MainWindowReceiver(pipe=out_pipe) #doesn't work p1 = MainWindowReceiver(,pipe=out_pipe) #doesn't work p1.show() 1) What does the syntax look like to construct a class that inherits from both PyQt & multiprocessing, such that instantiation its object, only requires the pipe argument? 2) Is there a way to pass a pipe to a PyQt Widget WITHOUT creating a multiple-inherited class?
@AjaySharma-by6kr
@AjaySharma-by6kr 3 жыл бұрын
Please implement it with Redis Queue also
@sparkersclubesports5743
@sparkersclubesports5743 Жыл бұрын
Where do we use this in ML model, can u explain its usage pls
@shreyasb.s3819
@shreyasb.s3819 Жыл бұрын
How to handle variables overlapping and conflict due multiple threads at a time execution and in correct results
@The_NoOne
@The_NoOne 3 ай бұрын
Sir isme async function dalna ho to kese kre
@vishalbharatbhaivanpariya9729
@vishalbharatbhaivanpariya9729 2 жыл бұрын
its not working at all
@nccamsc
@nccamsc 3 жыл бұрын
Asynchronous and parallel are 2 different concepts
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,4 МЛН
Each found a feeling.#Short #Officer Rabbit #angel
00:17
兔子警官
Рет қаралды 7 МЛН
the TRUTH about C++ (is it worth your time?)
3:17
Low Level Learning
Рет қаралды 607 М.
Advance Python-Decorators Indepth Implementation
17:02
Krish Naik
Рет қаралды 35 М.
Python Asyncio, Requests, Aiohttp | Make faster API Calls
17:56
Patrick Collins
Рет қаралды 124 М.
Parallelize Python Tasks with Joblib
13:33
NeuralNine
Рет қаралды 24 М.
Parallel table ingestion with a Spark Notebook (PySpark + Threading)
12:33
Shallow Copy Vs Deep Copy in Python
12:49
Krish Naik
Рет қаралды 70 М.
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,4 МЛН