WindmillWWindmill
Powered by
developerD
Windmill•2y ago•
3 replies
developer

Windmill Loops vs. Python Loops of wmill.run_async

Hello, Windmill Community

Can someone break down for me what would be the difference between looping with Windmill Built-in loops vs this:

def main():
    for ...:
        wmill.run_function_async(...)
def main():
    for ...:
        wmill.run_function_async(...)


I'm only able to perceive that the options from below is way faster... but why is that?

Are builtin loops synchronous or behaving different in wome way... because, no matter which option, the database will have all the queue info AFAIK

Best regards,
Erick.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

[python] subdependencies breaking wmill module installation
developerDdeveloper / help
2y ago
windmill cache vs redis
BravoBBravo / help
16mo ago
Python Dependency hell in windmill
JacobJJacob / help
11mo ago
PowerShell in Windmill: Data Passing Through For Loops
typera5Ttypera5 / help
17mo ago