Hi, I’m just getting started with lakeFS and a lit...
# help
u
Hi, I’m just getting started with lakeFS and a little confused about the workflow. In git, you usually commit -> push. For lakeFS, there’s no push, so if I want to add objects to my dataset in s3, how do I do that?
u
Welcome to the lake @Seungchan Lee!
u
Typically using lakeFS, you would have a production branch (main) and any type of transformation / ingestion will be done on a separate branch, and then, merged into main.
u
For example, let’s say you want to run an ETL against your data: 1. You create a branch from prod (main) - a zero clone copy operation 2. You make the changes on your isolated branch. 3. Once you are ready, you merge the changes back into main, promoting the data to production
u
OK great thanks - so when does commit happen?
u
When you execute it.
u
You branch out -> upload new data -> commit -> merge back to main if required?
u
For example, yes.
u
That’s a good ingest example.
u
Or for transformation, what I mentioned above.
u
Wait - I don’t see the difference? Is transformation workflow different? Isn’t it still branch out -> transform -> commit -> merge back?
u
(only mentioned it because you mentioned “upload new data”) You are correct that it is the same concept
u
Ah ok
u
What about if you’re running an automated workflow that does ETL? Is it basically the same process?
u
Yup
u
Do you use an airflow / dagster / kubeflow / other orchestrator?
u
Yes Flyte
u
Which is just another workflow engine - but for kubernetes
u
You will have the orchestrator run the ETL in a branch.
u
RIght
u
We have a good example with airflow:

https://youtu.be/HuQQUvmVjhU

u
OK this is helpful
u
I’ll watch it and then try it out with my project. Thank you!
u
Sure thing. Hope you enjoy lakeFS!
u
It looks very promising - thank you!
u
If you have additional questions, feel free to post those.
u
Definitely - thanks!
u
Oh sorry one more quick thing - I was planning to use mlflow for experiment tracking but a recent blog post in lakeFS mentions it can also track experiments. Any good resource for me to dig into how lakeFS does it and what the pros/cons are compared to something like mlflow?
u
That’s a great point. lakeFS will version the data on top of (as opposed to instead of).
u
Another resource available is

https://youtu.be/O0u72YHi7qY

u
We are actually working on another ML webinar that might be even more relevant. Stay tuned 🙂
u
OK thank you!
u
Enjoy!