#Jonah Librach
1 messages · Page 1 of 1 (latest)
Hi 👋
That's very much up to your application architecture
I know, how should I architect it :p
However, a good approach that will allow you to scale and perform multiple operations in response to webhook events, is to use a message/task queue or stream process
I'm asking because I've never done something like that before
That way you can do time consuming tasks like writing to a database after you respond to the webhook
message/task queue. I see
Are those libraries for python/flask?
RabbitMQ is a general purpose task queue system, Celery is a Python based async task runner
But these are just suggestions. Flask is a very popular web application framework and I'm willing to bet there are many tutorials available on how to wire it up with task queues or stream processing (like Kafka)