Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1880

Threading + efficient data handling system (PYTHON)

by dylan6 - 29 March, 2023 - 11:36 PM
This post is by a banned member (dylan6) - Unhide
dylan6  
Infinity
167
Posts
25
Threads
3 Years of service
#9
(03 April, 2023 - 11:08 PM)seinen Wrote: Show More
(03 April, 2023 - 11:06 PM)dylan6 Wrote: Show More
(03 April, 2023 - 06:01 PM)seinen Wrote: Show More
Hey, why do you wanna use python multithreading, it's so trash tbfh i know python & the GIL makes it almost crash your whole cpu lol

edit : also it might not be efficient to load millions of lines in py, this would slow down & be heavy in memory ?

more suitable way would be golang, this would handle everything better & make it even more faster with LOT less cpu usage & mem usage, get yo hands on a golang dev for this if u want a very efficient code ;)

already got this completed, and you are just so wrong here.
you just dont update the list instantly and instead make it a queue.

cpu usage at 500 threads currently for me takes less than 3% cpu of my ryzen 7 5800x. no clue what u r talking about. 
we are just printing here explained in the thread..

okay so queue work line per line ? thought shit needed to lead instantly mb

is it using multithreading or multiprocessing ?

it is multithreaded, and it is already completed and works perfectly.
If you enjoyed my content I shared, consider leaving a like and +repping to encourage me to continue providing contributions

Note: I do not provide support on site regarding my shop, please contact on telegram and be sure to read our terms
https://discordu.sellix.io
https://t.me/discordustock
 
This post is by a banned member (CabinetWhimp) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)