*I try to perform multi-process analysis in the code to analyze the data of
a certain file, but the code cannot perform the join normally, and there is
no method to perform multiprocessing.Process. May I ask what I did wrong,
please forgive me for not knowing how to format in the google group
On Mon, Feb 22, 2021 at 3:48 AM Marcelo Magallón <
marcelo.magal...@grafana.com> wrote:
> Thanks Ben.
>
> On Thu, Feb 18, 2021 at 1:37 PM Ben Kochie wrote:
>
>> The problem with what you're proposing is you're getting an invalid
>> picture of data over time. This is the problem with the original
I use prometheus client to process back-end data in multiple processes, and
multiple processes cannot join during operation. Below is my code,Why not
wait at the position of p.join()?
class CustomCollectorA(object):
def collect(self):
with open("./data", 'r') as load_f:
I use prometheus client to process back-end data in multiple processes, and
multiple processes cannot join during operation. Below is my code,Why not
wait at the position of p.join()?
class CustomCollectorA(object):
def collect(self):
with open("./qdata_coins", 'r') as load_f:
I use prometheus client to process back-end data in multiple processes, and
multiple processes cannot join during operation. Below is my code
def collect(self):
with open("./qdata_coins", 'r') as load_f:
load_dict = json.load(load_f)
n = len(load_dict) // 100
i =
5 matches
Mail list logo