Skip to Content
Escalando Python con Ray
book

Escalando Python con Ray

by Holden Karau, Boris Lublinsky
October 2024
Intermediate to advanced
268 pages
6h 56m
Spanish
O'Reilly Media, Inc.
Content preview from Escalando Python con Ray

Capítulo 5. Detalles del diseño del rayo

Este trabajo se ha traducido utilizando IA. Agradecemos tus opiniones y comentarios: translation-feedback@oreilly.com

Ahora que has creado y trabajado con funciones y actores remotos, es hora de aprender lo que ocurre entre bastidores. En este capítulo, aprenderás conceptos importantes de los sistemas distribuidos, como la tolerancia a fallos, la gestión de recursos de Ray y formas de acelerar tus funciones y actores remotos. Muchos de estos detalles son más importantes cuando se utiliza Ray de forma distribuida, pero incluso los usuarios locales se benefician. Conocer a fondo el funcionamiento de Ray te ayudará a decidir cómo y cuándo utilizarlo.

Tolerancia a fallos

La tolerancia a fallos se refiere a cómo un sistema gestionará los fallos de todo, desde el código de usuario hasta el propio marco o las máquinas en las que se ejecuta. Ray tiene un mecanismo de tolerancia a fallos diferente adaptado a cada sistema. Como muchos sistemas, Ray no puede recuperarse del fallo del nodo principal .1

Advertencia

Existen algunos errores no recuperables en Ray, que no puedes (de momento) desconfigurar. Si falla el nodo principal, el GCS o la conexión entre tu aplicación y el nodo principal, tu aplicación fallará y no podrá ser recuperada por Ray. Si necesitas tolerancia a fallos para estas situaciones, tendrás que desarrollar tu propia alta disponibilidad, probablemente utilizando ZooKeeper o herramientas similares de nivel inferior.

En general, la ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Patrones de Arquitectura con Python

Patrones de Arquitectura con Python

Harry Percival, Bob Gregory
Análisis de Texto Aplicado con Python

Análisis de Texto Aplicado con Python

Benjamin Bengfort, Rebecca Bilbro, Tony Ojeda
Planos para el análisis de textos con Python

Planos para el análisis de textos con Python

Jens Albrecht, Sidharth Ramachandran, Christian Winkler

Publisher Resources

ISBN: 9798341602809