Interesting Stuff - Week 2, 2023

Posted by nielsb on Sunday, January 15, 2023

This weeks roundup includes links to articles and videos about using Azure OpenAI and deploying ML models with FastAPI and Azure, as well as a post about Change Data Capture and its patterns.

I also discuss my experience with trying to run Flink SQL in Docker. In short, the Flink Docker experience could be better!

AI/ML

  • Use Natural Language & Prompts with AI Models | Azure OpenAI Service. Azure OpenAI is a service offered by Microsoft’s Azure cloud computing platform that allows developers to easily deploy and use models developed by OpenAI. This YouTube video examines how you can interact with models using natural language, prompts, and few-shot learning. The video also covers using the Azure OpenAI Studio to experiment and test your models before bringing them into your code to deliver differentiated app experiences.
  • Deploying ML Models with FastAPI and Azure. Imagine you have spent weeks and weeks creating an “awesome” ML model - that was the easy part. The hard part is how to productionalize the model; get it into production. FastAPI is a Python API framework that allows you to build APIs primarily through type hinting and function decorators. This article covers the basics of deploying your model with FastAPI and Azure. Having read the article, you should be able to deploy a wrapper for your model on Azure using basic CI/CD.

Streaming

  • Succeeding with Change Data Capture. Change data capture (CDC) converts all the changes that occur inside your database into events and publishes them to an event stream. You can then use these events to power analytics, drive operational use cases, hydrate databases, and more. Different patterns can be used when using CDC, and this post looks more in detail at those.

WIND (What Is Niels Doing)

I have been interested in Apache Flink throughout the years but have never done anything with it. That (not doing anything) changed with the announcement about Confluent acquiring Immerok. I realized that Flink will become a big part of the Confluent ecosystem and that getting some insights into Flink is a good idea.

So now I am “playing around” with Flink and trying to come to grips with it. More specifically, I am working with Flink SQL. I run Flink in Docker, or rather I try to. The Flink support for Docker is nowhere where it should be. At least IMHO. Anyway, I am getting there, and I hope I’ll have a blog post fairly soon about my “trials and tribulations”.

~ Finally

That’s all for this week. I hope you enjoy what I did put together. Please comment on this post or ping me if you have ideas for what to cover.


comments powered by Disqus