COEP FOSSMeet'19

Libre, not Gratis

Jaysinh shukla

@jaysinhp

Falcon: Bare-metal web API framework for Python

Submitted Feb 19, 2019

Falcon is a WSGI-compliant web framework designed to build RESTful APIs without requiring external code library dependencies. API endpoints written in Falcon are 19 times faster than API endpoints written in Django or Flask. Falcon is used by organizations like LinkedIn and Rackspace in their critical projects. Learning Falcon is as easy as learning how to take a selfie from a mobile phone. Learn Falcon for performance-boosting your microservices.

Duration: 40 minutes excluding question answers.

Outline

  • Introduction
    • Features
    • Design Philosophy
    • License
    • Comparison
  • Tutorial
    • Installation
    • Create Resource
    • Integrate resources with app
    • Response
    • Hooks
    • Error handling
    • Writing functional tests
    • Deployment guidelines
  • Future of Falcon
  • Resource to learn

Description

  • Introduction This section will cover features of the framework. I will talk about its extensibility, ReST inspired resource classes, simpler request processing, easy to read error traceback and its compatibility with popular Python interpreters. Falcon is Apache-licensed community-driven open source web framework. I will describe its design philosophy. In the end, I will show benchmarking comparing Django and Flask and Falcon as graphs.

  • Tutorial I will demonstrate a hands-on example of writing an API endpoint using Falcon framework. This section will cover instructions from installing the framework to debugging an endpoint. I will write an API endpoint for Employee resource. This endpoint will support standard operations like Create, Read, Update and Delete. I will end this tutorial by demonstrating how one can write a functional level of test cases for their endpoints.

  • Deployment Deploying Falcon app is not different from deploying any WSGI application. I will share guidelines for deploying a concrete Falcon service.

  • Future of Falcon In this section, I will discuss upcoming improvements and changes in the framework API.

  • Resources to learn I will end my talk by sharing resources which can be read for further study.

Requirements

An open mind along with strong will to learn :)

Speaker bio

A full-stack developer by profession, a computer scientist by heart and natural born actor. One of the core organizer of https://pykachchh.github.io/workshop/PyKutch 2016.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by