top | item 41496033

Sail – Unify stream processing, batch processing and compute-intensive workloads

79 points| chenxi9649 | 1 year ago |github.com

15 comments

order

ignoreusernames|1 year ago

From the announcement “As of now, we have mined 1,580 PySpark tests from the Spark codebase, among which 838 (53.0%) are successful on Sail. We have also mined 2,230 Spark SQL statements or expressions, among which 1,396 (62.6%) can be parsed by Sail”

Kinda early to call this a drop in replacement with those numbers no?

But, with enough parity this project could be a dream for anybody dealing with spark’s dreadful performance. Kudos to the team

Kydlaw|1 year ago

The next paragraph explains that: "When looking at the test coverage numbers alone, Sail’s capability may seem limited. But we have found that there is a long tail of failed tests due to formatting discrepancies, edge cases, and less-used SQL functions, which we will continue tackling in future releases."

I am with you that it is still very very early. I'll personally keep an eye on the project.

anonzzzies|1 year ago

Bit off topic; we are looking for something like this but with a facility for untrusted users to run sandboxed code instead of trusted code. All that I found (but I am relatively new to this field) are hacky and, worse, slow solutions.

bobbiechen|1 year ago

What kind of sandboxing are you looking for, and what's the threat model? (My contact info is in my profile as well if you prefer)

log4shell|1 year ago

What is your use case?

log4shell|1 year ago

It is refreshing to see multiple projects with arrow/datafusion trying to bank on existing and user friendly spark's API instead of reinventing the API all over again.

There is likes of comet and blaze that replace execution backend of spark with datafusion and then you have single process alternatives like sail trying to settle in "not so big data" category.

I am watching evolution of projects powered by datafusion and compatible with spark with keen eye. Early days but quite exciting.

cybergorilla|1 year ago

This looks interesting, but the docs are really lacking, to the point where it is barely understandable.

I see some potential wins on it, such as it being a Rust-based, Spark-compatible and better suited for single processor environments, but they are just not explained or developed enough.

johanneskanybal|1 year ago

Been on hacker news long enough to take bold claims like this with a few cups of salt but bookmarked so some kind of interest sparked (hah!).

mikymoothrowa|1 year ago

Is this for distributed data processing like spark is?

The documentation has nothing to indicate that it is.

rajman187|1 year ago

From the documentation [1]

> The mission of Sail is to unify stream processing, batch processing, and compute-intensive (AI) workloads. Currently, Sail features a drop-in replacement for Spark SQL and the Spark DataFrame API in single-process settings.

[1] https://docs.lakesail.com/sail/latest/

binary132|1 year ago

"In single-process settings"

nobody uses Spark for this outside of unit testing

TiredOfLife|1 year ago

Note. This is not Laravel Sail - the docker environment.