liupeirong / MLOpsManufacturing

Demonstrate samples and good engineering practice for operationalizing machine learning solutions.
Other
21 stars 9 forks source link

Change business logic to be server instead of forver loop #83

Open liliankasem opened 3 years ago

liliankasem commented 3 years ago

Currently the business logic edge module uses while loop to run forever:

async def continuous_loop():
    while True:
        time.sleep(100)

A good potential improvement for this edge module is to replace that behaviour with running a server instead