~/talk

The Java API and Cross Language Programming on Ray

Talkat Ray Summit 2020 · on Thursday, 2020-10-01· at 17:25· Virtual 1, Virtual· [java, distributed-systems]
name:Hao Chen
links:none on file
slides:none on file

Ant Group reports a Java API released with Ray 1.0 that turns Java static methods and classes into Ray tasks and actors with ObjectRef futures, Maven dependency and ray.init support, and a C++ co-worker layer plus thin language wrappers to avoid duplicate code. Cross-language invocation lets Python create and call Java actors (and vice versa), auto-serializes primitives, lists, maps and actor handles, and chains stack traces via cross-language exceptions. Production use at Ant Group since 2017 validates the approach.

AI-written summary · about

  1. 0:00Intro
  2. 1:33Why Java
  3. 2:27Ray's 2 basic concepts
  4. 3:09Design principles of Ray Java API
  5. 3:49Java API: Tasks
  6. 5:23Java API: Actors
  7. 6:54Java API: Options
  8. 7:20Java API: Type safety
  9. 8:59Java API: More features
  10. 9:27Use Ray in your Java project
  11. 10:11Old architecture
  12. 11:16Refined architecture: C++ core worker
  13. 12:12C++ Core worker (cont'd)
  14. 13:38Why cross-language programming
  15. 14:30The traditional solution: GRPC
  16. 16:09The Ray solution
  17. 17:57Supported features
  18. 18:10Cross-language data serialization
  19. 19:24Cross-language exceptions
  20. 20:46Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.