Microservice
-
How to Start a Splash Microservice for Scraping JavaScript Webpages in Google Cloud Run
Learn a simple way to build a production-ready Splash server in the Cloud In previous posts, we introduced how to start Splash locally using Docker. In production, we would want to put the Splash server somewhere all our scraping projects can access. Since Splash is Dockerized, a simple solution is to start a Splash microservice in… Continue reading
-
How to Debug Your Microservice Python Code Running Remotely in Docker
Nowadays, it’s a good practice to Dockerize our Python API code running as microservices, which can make the code easier to develop, deploy, and maintain. During the development or maintenance stages, we often need to debug our code that doesn’t run properly. We cannot use the traditional PDB library to debug API code. Instead, some… Continue reading
-
How to Send Emails in Python with GCP Cloud Function as a Microservice
Learn different ways to send emails in Python and trigger GCP Cloud Functions It’s common to send emails programmatically in an application. For example, emails can be sent to developers when critical API errors occur. Besides, emails need to be sent out to users automatically for registration, password reset, or service confirmation. In this post,… Continue reading
-
Learn How to Use Handy Cloud Functions in Python with a Practical Example
Cloud functions in the Google Cloud Platform (GCP) is a serverless function as a service (FaaS) framework. Cloud functions can automatically run backend code in response to events triggered by HTTP requests or events emitted from your cloud infrastructure and services. Cloud functions have the following benefits: There are two types of cloud functions in… Continue reading
-
Build APIs with Falcon in Python — All essentials you need.
Falcon is a WSGI library for building web APIs using the REST architectural style. Before we get started, let’s get familiar with two important terminologies, which can be mentioned in interviews and the Falcon documentation. This article covers the traditional synchronous flavor of Falcon using the WSGI protocol. Since this is a practice course for… Continue reading