Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
228 views
in Technique[技术] by (71.8m points)

design patterns - Generic approach for spark to reuse existing application business logic

Suppose we have an application like say Twitter. The application running is built from compiling a series of classes respecting the company's business logic (henceforth application logic for referencing)

Usually, when a spark job is written say to follow or unfollow, a user, the process of following or unfollowing is duplicated in the spark environment, the table modified from spark etc.

My question: Is there a way for spark to re-use the application logic without duplicating that logic in spark? Something like an existing pattern or work-around? Any help?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...