Published On: July 29th, 2023Categories: AI News

Integrate Distributed Ray Serve Deployment with Kafka | by Rostyslav ...

Learn how to simply combine Ray Serve Deployment with asynchronous Kafka Consumer

Image is generated by Midjourney

Ray is a modern open source framework that allows you to create distributed applications in Python with ease. You can create simple training pipelines, do hyperparameter tuning, data processing and model serving.

Ray allows you to create online inference APIs with Ray Serve. You can easily combine several ML models and custom business logic in one application. Ray Serve automatically creates an HTTP interface for your deployments, taking care of fault tolerance and replication.

Ray ecosystem. Source: https://docs.ray.io/en/latest/ray-air/getting-started.html (APACHE 2.0 licence )

But there is one thing that Ray Serve misses for now. Many modern distributed applications communicate through Kafka, but there is no out-of-the-box way to connect Ray Serve service to Kafka topic.

But don’t panic. It will not take too much effort to teach Ray Serve to communicate with Kafka. So,…

Continue reading this article at;

https://towardsdatascience.com/integrate-distributed-ray-serve-deployment-with-kafka-181403f4e194?source=rss—-7f60cf5620c9—4

https://towardsdatascience.com/integrate-distributed-ray-serve-deployment-with-kafka-181403f4e194?source=rss—-7f60cf5620c9—4
towardsdatascience.com

Feed Name : Towards Data Science – Medium

kafka,python,mlops,distributed-systems
hashtags : #Integrate #Distributed #Ray #Serve #Deployment #Kafka #Rostyslav

Leave A Comment