Build and Scale Data Engineering Systems for Fraud Detection: Feature Pipelines, Real-Time Inference, Graph Databases & Production Debugging

Episode 9 61 min

Angela Ramirez Data engineer at Sam's Club

Episode 9 · Build and Scale Data Engineering Systems for Fraud Detection: Feature Pipelines, Real-Time Inference, Graph Databases & Production Debugging

61 min

What we talked about

Angela Ramirez is a data engineer with about four years of experience. She started at the cosmetics retailer Sephora and now works on the fraud team at Sam's Club, a wholesale retailer. Her background is in cognitive science and natural language processing, and she chose data engineering because she wanted to build the data that machine learning systems depend on. Alexey invites her to explain how data engineering supports fraud detection in retail.

Angela describes stolen cards and member return abuse as the main fraud patterns. Her team runs daily batch jobs that compute features, and a real-time call to the fraud system decides whether a transaction is blocked. She also maintains dashboards for ML and business metrics, and her team includes data engineers and machine learning engineers who handle the operational side of deployment. Fraud labels usually arrive from banks after the fact, so a model can miss a case that is only confirmed days later. Asked how an alert could reach a cashier, Angela says she would start with rule-based checks sent through the front end, before any model check.

On data modeling, Angela says that static, structured data suits relational databases, while dynamic or network data suits document or graph stores. She has used Cassandra, Redis and Elasticsearch, and she describes a Neo4j graph as useful for investigators who need to explore connected members, transactions and products. She also explains Wikidata and SPARQL with a book example. For engineering practice, she recommends writing unit tests and data quality checks, such as null and type checks, and tools like Great Expectations. Her day-to-day stack includes PySpark, GCP services such as Dataproc and BigQuery, and Databricks.

Asked about the hardest problems, Angela names failing jobs, whether the cause is a code bug, an upstream schema change or an overloaded database. She recommends logging, documenting common errors and writing runbooks so that a support team can fix recurring issues. When working with external teams, she says data contracts and clear schedules help prevent surprises. For learning, she suggests Designing Data-Intensive Applications and resources on PySpark and SQL.

Chapters

  1. 1:56 Podcast Introduction & Guest Overview (Angela Ramirez) 1 min
  2. 2:41 Career Journey: Sephora to Sam's Club 1 min
  3. 3:45 Fraud Detection in Retail: Stolen Cards & Return Abuse 3 min
  4. 6:22 Data Engineering for Fraud: Pipelines, Features, Dashboards 2 min
  5. 8:24 Feature Engineering Workflow: Daily Batches + Real-Time Scoring 1 min
  6. 9:48 MLOps Responsibilities: Model Metrics, Deployment, Monitoring 2 min
  7. 11:19 Team Structure: Data Engineers, ML Engineers, Data Scientists 1 min
  8. 12:48 Academic Background: Cognitive Science, NLP, HCI 1 min
  9. 14:14 Data-Centric Mindset: Why Data Engineering Powers ML 2 min
  10. 16:02 Career Transition: Process Improvement → Data Analyst → Data Engineer 3 min
  11. 19:15 System Design Best Practices: Stakeholders, Timing, Documentation 1 min
  12. 20:30 Data Modeling Decisions: Relational vs Document vs Graph 1 min
  13. 21:30 Elasticsearch & Document Indexing for Entity Data 2 min
  14. 23:04 Graph Databases & SPARQL: Wikidata and Entity Relationships 6 min
  15. 29:15 Network Features for Fraud: Members, Transactions, Products 4 min
  16. 33:34 Real-Time Decisioning: Front-End Signals for Cashiers & Security 1 min
  17. 34:46 Hybrid Architecture: Batch Computation with Instant Inference 1 min
  18. 35:33 Database Selection Criteria: Static Schema vs Dynamic Data 3 min
  19. 38:11 Graph Visualization for Investigations: Neo4j Use Cases 3 min
  20. 40:50 Software Engineering for Data Engineers: Testing & Code Quality (PySpark) 3 min
  21. 43:28 Data Quality Tooling: Great Expectations and Cloud Monitoring 1 min
  22. 44:41 Operational Challenges: Job Failures, Schema Changes, Scaling 4 min
  23. 48:21 Debugging Playbook: Logs, Runbooks, and Error Documentation 2 min
  24. 50:23 Tech Stack Overview: GCP, Dataproc/Databricks, PySpark, Cassandra 1 min
  25. 51:23 Managed vs Serverless Spark: Dataproc, EMR, Serverless Execution 2 min
  26. 53:18 Pandas & PyArrow: Performance Improvements for Big Data 2 min
  27. 54:57 Cassandra Use Cases: Scalability, Fault Tolerance, Clusters 1 min
  28. 56:19 External Data Integration: APIs, Data Contracts, Stability 4 min
  29. 1:00:17 Recommended Resources: Designing Data-Intensive Applications, PySpark, SQL 1 min
  30. 1:01:15 Episode Wrap-Up & Contact Links

Angela Ramirez Data engineer at Sam's Club

Angela Ramirez is a data engineer at Sam's Club specializing in machine learning for fraud prevention, where she designs and maintains the data feeding a system that identifies fraudulent transactions. With four years of data engineering experience and a master's degree in Natural Language Processing, she works across feature pipelines, real-time scoring, and graph databases such as Neo4j. Her recent research explores generating quality synthetic data from LLMs for dialogue systems.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Software Engineering

How software engineering discipline shapes data, ML, and AI systems through testing, interfaces, deployment, and maintainability.

Data Engineering

Data engineering across pipelines, platforms, data quality, role boundaries, business enablement, and the shift toward AI-ready data systems.

Graph Data Science

Graph data science applies graph algorithms and ML to nodes, edges, paths, centrality, similarity, and domain workflows.

MLOps

Reference page for MLOps as the operating discipline for production machine learning systems.

Batch vs Streaming

Batch and streaming compared through latency, operations, contracts, cost, ML serving, and product tradeoffs.

Data Analyst to Data Engineer

Convert analyst work into data engineering evidence: source ownership, reusable SQL, pipeline automation, quality checks, and an interview story.

Data Observability Guide

How data engineering teams use freshness, volume, schema, lineage, ownership, and runbooks to reduce data downtime.

Data Pipelines

Guide to data pipelines: ingestion, transformation, publication, orchestration, testing, recovery, CDC, and ML handoffs.

DataOps Pipeline Checks

Procedure for adding pipeline checks: data agreements, freshness, volume, schema, business rules, lineage, CI/CD, and recovery.

Feature Stores

Feature stores as operational ML data systems for reuse, online-offline consistency, materialization, validation, and serving.

Information Retrieval

Information retrieval as the design of retrieval units, indexes, candidate generation, prefilters, and the handoff to ranking or generation.

Knowledge Graph vs Vector Search

Compare explicit graph representations with vector similarity search for relationship retrieval, provenance, and embedding similarity.

ML System Design Interview

Prepare for ML system design interviews with timed answer plans, prompt practice, tradeoffs, portfolio walkthroughs, and production examples.

Machine Learning System Design

ML system design as a production reference for requirements, labels, feature paths, evaluation, serving, monitoring, fallbacks, and ownership.

Search

Search as the product system that turns retrieval, ranking, answers, recommendations, constraints, and evaluation into a useful surface.

Streaming

Event streaming for real-time pipelines, Kafka architectures, schema management, feature stores, fraud systems, and search.

Related books

Software Mistakes and Tradeoffs

10 questions answered

In Software Mistakes and Tradeoffs you’ll learn from costly mistakes that Tomasz Lelek and Jon Skeet have encountered over their impressive careers. You’ll explore real-world scenarios where poor understanding of tradeoffs lead to major problems down the road, to help you make better design decisions. Plus, with a little practice, you’ll be able to avoid the pitfalls that trip up even the most experienced developers.

Tomasz Lelek Jon Skeet

Street Coder

12 questions answered

Software development isn't an "ivory tower" exercise. Street coders get the job done by prioritizing tasks, making quick decisions, and knowing which rules to break.

Sedat Kapanoglu

Fundamentals of Data Engineering

31 questions answered

Data engineering has grown rapidly in the past decade, leaving many software engineers, data scientists, and analysts looking for a comprehensive view of this practice. With this practical book, you'll learn how to plan and build systems to serve the needs of your organization and customers by evaluating the best technologies available through the framework of the data engineering lifecycle.

Joe Reis Matthew Housley

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club