cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

MLOps on Azure: API vs SDK vs Databricks CLI?

ManiMar
New Contributor II
Hello fellow community members,
In our organization, we have developed, deployed and utilized an API-based MLOps pipeline using Azure DevOps.
The CI/CD pipeline has been developed and refined for about 18 months or so, and I have to say that it is pretty stable and we don't have any issues. Everything is seamless  and works like charm!
 
We have MLOps Engineers within the team that want us to redo the CI/CD pipeline using either Databricks SDK or new Databricks standalone CLI. We discussed this within the team and still want to hear more arguments around if this is a good decision or not? Here are some argument bullet points:
 
Databricks API:
  • We already have a working version using APIs. Why should we even switch? takes a lot of effort for no apparent gain
  • Potentially most stable and up to date
  • Better community support
  • Language agnostic
  • Gives us the most utility/flexibility
  • Most integrability
  • Con: Can potentially take longer to setup if updates are out. For example jobs API2.0. This argument is not really concerns me though. Took us only two days to develop, test and integrate with CI/CD pipeline. But an argument from the team.
Databricks SDK for Python:
  • Simplicity!?
  • Con: Limitation, we can always end up going back and utilizing APIs if we need something that is not supported.
  • Con: community support. Not sure how good it is
  • Con: Now team has to understand and maintain another fork of the CI/CD pipeline. Adds to tech debt.
  • What else? pros or cons?
Databricks CLI (new):
  • Not sure about this to be honest?
  • Any arguments here?
 
Any suggestions and/or insights are helpful here.
Thank you
1 REPLY 1

raphaelblg
Databricks Employee
Databricks Employee

Hello @ManiMar

In my opinion it's up to you to choose, and you're in the right path by comparing the pros/cons of each approach.

I'd like to highlight that one of the advantages of the Databricks CLI is being able to use Databricks Asset Bundles. I'd say it's a very straightforward approach for CI/CD and new deployments. 

 

Best regards,

Raphael Balogo
Sr. Technical Solutions Engineer
Databricks

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group