Automatically translated.View original post

1-1-1 rule

Make the first Pipeline as small as possible (1-1-1 rule)

Many people have already started doing Data Pipeline "lost," not because they are not good at it.

But because starting with too big a job,

(Multiple source / multiple stage / multiple destination)

The result is often a project that

- Didn't finish as planned.

- It's not clear at what point the problem was.

- Must be repeatedly solved to waste time and exhaustion.

To have the first Pipeline "actually end" and "reliable."

There is a simple but functional core to organizational thinking: 1-1-1 rules.

1-1-1 What are the rules?

1) 1 Source

Let's start with the "single source" data first.

E.g. single table in DB / single CSV file / single Google Sheet

2) 1 Transform

Do "only" or "one main rule" transformation.

e.g. dedupe / standardize time / filter status / single aggregate

Reason: When there are too many steps in the first place, it is difficult to verify the accuracy. If there is no good logs recording is a simple verification system.

3) 1 Output

Send to a "single destination" with real users.

Such as 1 table in warehouse / 1 daily file / 1 metric on dashboard.

Why would 1-1-1 work?

Because it allows the first Pipeline to have a controllable scope.

And easy to verify / correct with clarity in 4 important matters:

Where does the data come from? → What converts? → Where does it go? → Who is the user?

Pipeline didn't start with "tools."

But starting with clear boundaries and responsibilities, and then expanding in a conventional way,

# data apipeline # logs # Data Quality # transform

2/2 Edited to

... Read moreจากประสบการณ์ตรงในการทำ Data Pipeline หลายโปรเจกต์ พบว่าแนวทาง 1-1-1 rule นี้ช่วยลดความซับซ้อนตั้งแต่เริ่มต้นได้อย่างมาก ผมเริ่มโดยเลือกข้อมูลจากแหล่งเดียว คือฐานข้อมูลเดียวกัน ทำให้ไม่ต้องกังวลเรื่องการดึงข้อมูลจากหลายที่ ที่อาจมีความขัดแย้งกันของข้อมูล หรือความแตกต่างในโครงสร้าง เช่นเดียวกับที่ 1-1-1 rule แนะนำให้เริ่มจาก 1 Source จากนั้นทำขั้นตอนการแปลงข้อมูลไว้แค่ขั้นตอนเดียว อาจเป็นการจัดเรียงเวลาให้เป็นมาตรฐานเดียวกัน หรือกรองข้อมูลตามสถานะที่ต้องการ ซึ่งช่วยให้ตรวจสอบผลลัพธ์ได้ง่ายขึ้น ในบางโปรเจกต์ที่ผ่านมา ถ้าหลาย Transform ทับซ้อนกันจะหาจุดที่เกิดปัญหายากมาก ต้องย้อนกลับไปทบทวนทุกขั้นตอนเสมอ สำหรับ output การส่งออกข้อมูลให้เป็น 1 จุดที่ชัดเจน เช่น ตารางเดียวใน Data Warehouse หรือไฟล์รายวันเดียว ช่วยลดความซับซ้อนต่อผู้ใช้งาน และทำให้การวัดผลหรือการตรวจสอบข้อมูลทำได้เร็วขึ้น เพราะรู้ว่าข้อมูลอยู่ปลายทางเดียว สิ่งสำคัญที่ผมเจอสำหรับการทำ Pipeline แบบนี้คือ ระบบตรวจสอบความถูกต้องของข้อมูล (Quality Assurance) เช่น ตรวจสอบจำนวนแถวข้อมูล, การทำซ้ำ (Idempotency), และความสดใหม่ของข้อมูล (Data Freshness) ที่ช่วยให้มั่นใจว่า Pipeline นั้นรันแล้วข้อมูลที่ได้ไว้ใจได้จริง นอกจากนี้การบันทึก logs อย่างละเอียดช่วยให้การแก้ไขปัญหาง่ายขึ้นมาก สำหรับใครที่กำลังเริ่มต้นทำ Data Pipeline อยากแนะนำให้ตั้งเป้าแบบ minimum viable pipeline ตามแนวทาง 1-1-1 rule นี้ก่อน จะช่วยให้โฟกัสสิ่งที่สำคัญจริง ๆ ไม่หลงทางและไม่เสียเวลาในขั้นตอนไม่จำเป็น เมื่อมันสำเร็จและเสถียรค่อยขยายต่อได้อย่างมั่นคงและเป็นระบบมากขึ้น ท้ายสุด การโฟกัสแก้ไขที่ขอบเขตเล็ก ๆ ทำให้มองเห็นภาพชัดเจนว่าแต่ละขั้นตอนมีปัญหาหรือข้อผิดพลาดตรงไหนบ้าง และพร้อมสำหรับการพัฒนา pipeline ที่ซับซ้อนขึ้นในอนาคตอย่างมีประสิทธิภาพ

Related posts

The 5-3-1 Rule of Fashion
By following the 5-3-1 Rule of Fashion, you can effortlessly put together polished, expensive-looking outfits without overspending. . . #styletips #stylehack #fashiontipsforwomen #wardrobeessential #fashionblogger
That fashion board

That fashion board

2906 likes

Booty building rule #1
NEVER skip these moves. #gymrats #fitnessforwomen #exercisetips #glutegrowingtips
kaylas_fitlab

kaylas_fitlab

19 likes

5-1-1 pregnancy rule!
hello ◡̈ The 5-1-1 rule is how you should determine when it’s time to go to the hospital! The rule is if your contractions are every 5 minutes, lasting 1 minute each, for at least 1 hour! It’s also important to watch for other signs like more intense contractions, back pain, water breaking, v
mom | sierra ◡̈

mom | sierra ◡̈

882 likes

#1 rule to stop caring what others think:
i used to be absolutely crippled by obsession over what other people thought about me. i was so insecure about how me and my life looked to others, i wasn’t even living for myself anymore. but once you start to build the life and character you really want for yourself - and once you grow enough
carley ◡̈

carley ◡̈

89 likes

Rule Number 1: F*ck What They Think
Let’s be real: too many of us live for the opinions of others. We shrink ourselves, hold back our dreams, and stay quiet just to avoid judgment. But here’s the truth: people will always have something to say—whether you’re doing bad or good. So why not live life unapologetically and let their opini
Erica Del Valle

Erica Del Valle

133 likes

rule #1 never make God #2 🌸✝️🤍
Crystal Ortiz

Crystal Ortiz

20 likes

Rule #1 Never make God #2
Nadia lang

Nadia lang

2808 likes

rule 1:never skip a jj edit🌊🏄
sophie✨💖

sophie✨💖

21 likes

80/20 Rule✨
With the new year brings new goals! I’ve always been pretty strict on my diet and a little more lenient when it came to fitness but 2025 is the year I will be going hard on both ! I’m committing myself to consistent nutrition, exercise, and truly committing myself to content creation. I feel as
Jenn Alexandra 💫

Jenn Alexandra 💫

2007 likes

#1 Rule When Upcycling
There are no rules when upcycling!!! Let your scissors do its magic🎀 #upcycling #thrifted #handmade #bohemian #wearableart
patchedgal

patchedgal

1175 likes

Rule #1
frances Mouzon

frances Mouzon

14 likes

8+8+8 Rule
The “8+8+8 rule” is a simplified guideline for balancing time across three key areas of life each day. It suggests dividing a 24-hour day into three equal parts of 8 hours each: 1. 8 hours for work – This is the time for your job, school, or primary daily responsibilities. 2.
essynotes

essynotes

45.3K likes

The #1 Rule to Stop Caring About What Others Think
Hi friends 🍋 People are too busy thinking about themselves to care about you as much as you think they do. Why This Works: ✅ People forget things quickly – That embarrassing moment? That “cringe” thing you said? No one remembers it as much as you do. ✅ Everyone is focused on their own pro
Bruna Bueno

Bruna Bueno

17 likes

the #1 rule to stop caring about what others think
Once you make this connection, you’ll be able to not take other’s opinions or comments so seriously! Posting on social media has made me had to not care what others think. It was hard at first but it’s definitely gotten easier! A game changer for me is when I realized often others peoples ac
rachel

rachel

81 likes

Rule no.1 never switch up on Drake 🫶🌸
#drake💞 #drakelyric #summerbod #tiktok DRAC 🦄💗♥️
naraeisbrown

naraeisbrown

31 likes

How I follow the 1% better rule to build future me
The 1% better rule basically states that by putting in effort each day to improve by 1%, you will significantly change your life over time. The goal is to focus on small, consistent habits. Here are some examples of what the 1% better rule could look like in action: - running 1 extra minute -
Rebekah Joy

Rebekah Joy

47 likes

the #1 rule to stop caring about what others think
this stuff is NOT easy to achieve, I know. unlearning our negative beliefs and fears takes a lot of patience and practice. but if you want to be truly free, stop living like you’re on trial. Here’s the mindset shift that actually works!! #lemon8partner #positiveenergy #wellnessessentials
alexa vicktoria

alexa vicktoria

45 likes

Declutter with 💩 Poop Rule!
Decluttering became SO much easier when I learned about the 💩 Poop Rule! Here’s how it works: 👉 If you wouldn’t want to touch it after it fell in poop, do you REALLY need to keep it? This simple mindset shift has made letting go of unnecessary stuff way easier. Think about it—if you’d toss i
Virely💖

Virely💖

4381 likes

777 relationship rule 💕
Relationships need quality time to thrive! 👫🏽 I love the 777 relationship rule because it helps you make sure you are spending 1:1 time with your partner, uninterrupted. ✨ Every 7 days - go on a date: movies, dinner, hiking, picnic, pottery, bowling ✨ Every 7 weeks - go on a mini staycation: c
Chandler

Chandler

1725 likes

the 8+8+8 rule ✨
The only rule you’ll need. Let me know if you try it. 🪄Location: Minnesota #buildhabits #tranquilmoments #creategoodhabits #buildyourowntable
Rylee Lehnen

Rylee Lehnen

5628 likes

Rule 5 Show no love
#biker #biketok #50cent #qoute #edit
Zertrx15

Zertrx15

467 likes

12-3-30 RULE
Hey guys 🖤 -for those of you who don’t know what the hell im talking about, it’s basically a 12% incline on a treadmill at a speed of 3mph for 30 minutes (12-3-30) 🤍 ~ Im new at the gym, I won’t lie but I’ve developed quite the workout habit and routine that fits my needs. 🩶 ~I usually en
Mel Santiago

Mel Santiago

1184 likes

The 1% rule
Hi lemon8 friends I need your help! I just launched a self improvement manifestation journal and I am going to be needing some creators to help me promote it on TikTok, Instagram and even lemon8 or Pinterest! On TikTok shop I have it so you can make a commission off the sale. Right now I am awai
Bexx

Bexx

8 likes

The 10-3-2-1-0 Sleep Rule
To help you sleep better #10321rule #sleeprule #sleeptips #sleephack #sleep
Lemon8er

Lemon8er

65 likes

How to budget your paycheck: 50/30/20 Rule 💰✨
Having a budgeting plan for your paychecks is essential for not living above your means and ensuring you’re setting yourself up for financial success! It can be scary to start adventuring into the world of personal finance — there is lots of complicated jargon and options for you to choose from
hannah | career success 🎯

hannah | career success 🎯

9623 likes

Rule #1 to Junk Journaling/Planning ?✍🏼
It’s been years since I’ve been running through many different planners and journals. Not being able to commit to it because I constantly thought that I needed to have the best writing or a well thought plan for an aesthetically pleasing spread. ➽───────────────❥ But with that mindset, I contin
Mar ♡

Mar ♡

129 likes

3+3+3 Rule for Healing
#333rule #manifestation #healing #lemon8creator #spirituality
Cᵢₙₐbᵤₙbₐₑ

Cᵢₙₐbᵤₙbₐₑ

38 likes

What is the 5-5-5 Rule? 🛏️🤰🏽
The 5-5-5 rule is actually something that I have just learned about but has been around for a long time! Anything that helps the transition to postpartum easier I’m here for it so let’s talk about it! What is the 5-5-5 rule? The 5-5-5 Postpartum rule is a guideline to follow during the postpar
Mama Chels

Mama Chels

813 likes

Rule of Thirds Quick Guide! :3
Rule of Thirds Guide! 🩵 Hey friends! I put together a short guide for the rule of thirds. I use this technique a lot in my everyday content. It's a very useful principle that easy to use! Grid Overlay: Enable the grid overlay in your camera settings to divide the frame into nine equal se
˚ʚ N e o n ɞ˚

˚ʚ N e o n ɞ˚

277 likes

The8+8+8Rule
The "8+8+8 Rule Q" serves as a straightforward guideline for allocating time across three essential areas of life each day. It recommends dividing a 24-hour day into three equal segments of 8 hours each: 8 hours for work - This portion is reserved for your job, school, or main daily resp
IG: Keswangang

IG: Keswangang

1863 likes

The rule of 5 Studying Tips 💗🌸
🌸5 Effective Study Tips:🌸 1. Spaced Repetition– Review material regularly over increasing intervals to reinforce memory. 2. Active Recall– Test yourself to strengthen memory retention. 3. Teach What You Learn– Explain concepts to others to clarify understanding. 4. Prioritize Difficult
Allison 🎀

Allison 🎀

234 likes

Soft girl era rule #1: Always follow your heart✨
Manifesting a life free from stress and distress. Anything that isn’t for me or disturbs my peace has to GO! I’m prioritizing self- care, self- love, self- worth peace and abundance. A life filled with ease, peace, love, comfort and intentional HAPPINESS🫶🏾✨ #softlifestyle #softlifevibes
Ana

Ana

44 likes

Canada’s #1 Rule | IMPROV SONG
#improv #song #canada #ryanreynolds #ryangosling #musicalmonday #improvbroadway
TheImprovGuy

TheImprovGuy

78 likes

Soft life rule #1: Always book the trip. Rule #2:
A solo escape to The Crab Trap in Destin 🌊🦀—where seafood, sunshine, and peace come together. Perfect for a quick reset and self-care 🌞✨. Whether you’re a travel bae or need a vibe check, this spot is that girl. 🏖️ Add it to your bucket list! 💫 #DestinFlorida #CrabTrapDestin #FloridaBe
Chanel | Travel Agent

Chanel | Travel Agent

10 likes

The 3-Color Rule: How to Pick a Room Palette
Choosing a color scheme doesn't have to be complicated. I follow the 3-color rule to keep things cohesive and interesting in any space: ⚪ Start with a base color I choose a neutral that sets the tone like warm white, beige, soft gray, or a deep charcoal. This usually goes on the walls, large
erikacarlock

erikacarlock

1903 likes

80/20 Rule | DO or DONT?
If you aren't a bodybuilder or working with a coach on a meal plan...DO! And here's why. I like to keep a decent balance in what I eat without going overboard in either direction. Like, restricting too much and eating 3 servings of Cinnamon Toast Crunch because I didn't let myself ha
Erika Quarles

Erika Quarles

2381 likes

Vertical Rule of Thirds
📸 Photography Tip 📸 Rule of Thirds is a simple photography tip to help elevate your photos, here’s how it works! When framing your photos, imagine there is a grid dividing your photo into sections. When you frame subjects to be in a specific “1/3” of the image, you allow your self to pleasantly
Selena Webb

Selena Webb

53 likes

8+8+8 🔋 Rule
Wikiwins

Wikiwins

59 likes

The 8+8+8 Rule
The "8+8+8 Rule" serves as a straightforward guideline for allocating time across three essential areas of life each day. It recommends dividing a 24-hour day into three equal segments of 8 hours each: 8 hours for work - This portion is reserved for your job, school, or main daily respon
Lys: Your Digital Bestie💫

Lys: Your Digital Bestie💫

22.3K likes

7-7-7 dating rule ♥️
Hi friends 🍋 Wanna keep your relationship fun, fresh, and connected? Meet the 7-7-7 Rule—a super simple way to prioritize quality time with your partner. Here’s how it works: 1️⃣ Every 7 Days: Go on a date! Whether it’s dinner, a movie, or just a walk in the park, it’s all about carving out
Bruna Bueno

Bruna Bueno

116 likes

See more