Budget: 200 UAH Deadline: 1 day
Welcome to!
I looked at your code. You use a synchronous library of requests with an asynchronous code, so that makes no sense. It is possible not to use asynchronousness, but to run the function in different processes. The work will depend on the call and the specified flows in the code and on your PC.
Proposals are currently absent
-
Sergey Samoylenko
9 May 2020
с этим я и не смог пока разобраться ... https://ru.stackoverflow.com/questions/1122964/async-вызов-функции-с-http-request
-
Anton K. 9 May 2020Если надо как можно быстрее и пулл задач поддерживает паралельные запросы используйте второй метод.
-
Sergey Samoylenko
9 May 2020
https://ru.stackoverflow.com/questions/1122964/async-вызов-функции-с-http-request
-
Vadym Freelancer 9 May 2020чего только люди не придумают, чтоб про GIL не читать %)
запустил бы олдскульно по процессу на ядро и было б щасте
кстати, на с\о уже ответили -
Vadym Freelancer 9 May 2020перевожу: на с\о посоветовали использовать асинхронную библиотеку, потому что http.requets работает синхронно всегда
мультипроцессинг в самом примитивном варианте выглядит как запуск скрипта несколько раз
код почитаю уже завтра. есть полная версия? -
Sergey Samoylenko
9 May 2020
комментарии я понял - и понимаю, что async требует другого формата request - я пробовал - не получилось. побился головой об стенку - написал сюда. Multiprocessing сейчас пробую
Current freelance projects in the category Python
-
Not specified
Refinement of the Python program for the new Twitter (X) chat interface.
Desktop Apps 69 proposals 31 July
-
67 USD
Signal bot for trading
Bot Development 67 proposals 31 July
-
Not specified
Website parsing, bypassing Akamai protection
Data Parsing 47 proposals 30 July
-
448 USD
Development of an AI bot for receiving and processing orders from restaurants in Telegram with integration into 1C.
77 proposals 29 July
-
Not specified
Need to fix a bug in the current version of the bot.
Bot Development 87 proposals 27 July