Andrejus Baranovski

Subscribe to Andrejus Baranovski feed
Blog about Oracle, Full Stack, Machine Learning and Cloud
Updated: 2 hours 27 min ago

ML Pipeline End-to-End Solution

Mon, 2021-06-07 06:08
Are you interested to learn how to build and run a complete ML pipeline - Web API, data processing, model training, and prediction services? In this video, I explain how the end-to-end solution works using our open-source product Skipper.


FastAPI Endpoint Type with Pydantic

Mon, 2021-05-31 07:13
Pydantic library helps to define structured and clear types for FastAPI endpoints. In this video I explain how to define Pydantic type with nested list structure, I show how it works with a live demo. You will get to know how to convert input data into JSON structure. Enjoy!


Event-Driven Microservice with RabbitMQ and FastAPI

Mon, 2021-05-24 14:49
Event-driven microservices architecture brings scalability and better application structure. In this video, I show a demo based on Web API implementation with FastAPI, Celery. The event is sent to a group of microservices through RabbitMQ broker. Services communicate with each other through RabbitMQ. Model training service calls data service to fetch and prepare data for training.


Web API with FastAPI, RabbitMQ and Celery

Mon, 2021-05-17 14:30
With Web API you can create access to microservice functionality. In this video, I explain how to create scalable Web API with FastAPI, Celery and RabbitMQ. Celery is responsible to execute async Web API requests and RabbitMQ enables the communication between Web API and microservices.


Celery Distributed Task Queue Display with Flower UI

Mon, 2021-05-10 06:09
I explain how you can visualize Celery distributed task queue with Flower UI. This is useful when monitoring asynchronous tasks.


Celery Distributed Task Queue with FastAPI for Machine Learning

Wed, 2021-05-05 06:43
This sample app demonstrates how to implement Celery distributed task queues on top of RabbitMQ broker for Machine Learning model training and data processing. We are using TensorFlow in this example to train the model. API request comes through FastAPI and it is being processed asynchronously by Celery. There is a separate API endpoint to check task status. Multiple requests can be initiated and processed at the same time in parallel. Celery tasks can be monitored using Flower monitoring tool.


RabbitMQ RPC with FastAPI

Mon, 2021-04-26 03:12
I explain sample app with FastAPI endpoint. RabbitMQ is used as a postman to deliver and return message between endpoint API and backend. Backend code could run on different microservice. Multiple backends can be started for scalability.


Oracle Developer Tools Review

Mon, 2021-04-19 03:28
I walk through Oracle Developer Tools and giving my honest opinion about the past, present, and future of Oracle products for developers.


What I Hate About Machine Learning

Mon, 2021-04-12 11:22
I describe what I hate most about Machine Learning. Hopefully, this video will not scare you, but on the opposite, it will inspire you to start with Machine Learning.


What I Love About Machine Learning

Sun, 2021-04-04 09:04
I describe what I love most about Machine Learning. Hopefully, this will inspire you to jump into the exciting field of ML.


My Machine Learning Experience

Sun, 2021-03-28 14:05
I talk about my own Machine Learning experience and why I decided to convert to ML from enterprise software development with Oracle tools.


FastAPI and Oracle DB Client in Docker

Sun, 2021-03-14 10:55
I describe how to dockerize Oracle DB Client with FastAPI and Uvicorn. The end result - you will be able to connect to Oracle Cloud DB and expose REST services through FastAPI in Python.


TensorFlow.js Blueprint App Step by Step

Sun, 2021-03-07 06:31
I describe how to prepare data that comes from API into TensorFlow.js Dataset structure, how to shuffle, normalize, one-hot-encode, and batch the data. Next, I go on model training and explain why fitDataset is recommended way to train a neural network in TensorFlow.js. At last, I show how to do inference and print the results. This app is built with React, but the same code can be reused with any JS toolkit/framework.


Rabbit MQ with Docker for Microservices

Sat, 2021-02-27 06:02
Rabbit MQ message broker helps to implement event-driven architecture for microservices. Instead of tight coupling multiple services, we can send and subscribe to events. In this video, I explain how to dockerize Rabbit MQ and provide a simple, but complete example of communication through Rabbit MQ.


React and TensorFlow.js

Sat, 2021-02-20 06:31
I explain how to create React app with Yarn and how to integrate TensorFlow.js into that app. A simple model is trained with TensorFlow.js to give you a good starting point. I also show how to run the predict function and read the output.


ML Microservice Client with Python and gRPC

Sat, 2021-02-13 06:07
In this video, I continue to talk about microservices for ML. I explain how to implement a direct call from the training service to fetch data and run training with model evaluation.


ML Microservice with Python and gRPC

Sat, 2021-02-06 05:58
I explain how to implement microservice in Python for Machine Learning code. In this example, data processing is done with Pandas, Numpy, and Scikit-Learn libraries. Communication is implemented through gRPC, I explain how to send Numpy array through gRPC.


FastAPI with Oracle Cloud DB, building APIs with Python

Sun, 2021-01-31 13:37
Learn by example about how to connect to Oracle Cloud DB from FastAPI without any third-party libraries. Connection to DB is optimized with connection pooling.


Connect to Oracle Cloud DB from Python

Sat, 2021-01-16 09:19
A quick explanation of how to connect to Oracle Autonomous Cloud Database (Always Free instance) from Python script.


Oracle JET or Oracle VBCS For Your Next Web App

Fri, 2020-12-11 04:52
I talk about my experience of working with Oracle JET and VBCS. I share a few hints - how to choose between Oracle JET and Oracle VBCS for your next Web app development.