Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Twisted framework - Network programming

( Duration: 3 Days )

In Twisted Framework training course, you will learn to write asynchronous, event-driven network programs.

  • Knowledge of Python

The Twisted Framework workshop is ideal for:

  • Programmers with at least some Python experience who want to use the Twisted framework. It is suitable for people trying to start new Twisted projects, are looking to integrate Twisted with an existing non-Twisted project, or who have inherited an existing Twisted project.

COURSE AGENDA

1

Introduction

  • Event loops
  • Environment setup
    • Dependencies and required software
  • Where to get help
    • Documentation
    • Support channels: IRC, mailing list...
2

Protocols, factories and endpoints

  • Introduction
  • Building a simple protocol
  • Client and server factories
  • Serving your protocol:
    • reactor.listen/connect
    • endpoints
  • Existing and composable protocols
3

Deferreds

  • Introduction
  • Exercises
  • @inlineCallbacks
4

Dealing with legacy/synchronous code

  • WSGI app case study: django-packages
  • Threads: deferToThread(Pool), blockingCallFromThread
5

Dealing with CPU-bound problems

  • Introduction
  • Explicit cooperative multitasking
  • Threads (reference; see previous mention of threads)
  • Multiprocessing options and Ampoule
6

Application framework

  • Services and applications
  • twistd: running servers & daemonization
  • Twisted's plugin system
  • Writing your own twisted plugins
7

Advanced application concepts

  • Process monitoring: daemontools, upstart, systemd, etc.
  • Live server monitoring and maintenance with manhole
8

Contributing to Twisted

  • Issue tracker
  • Setting up the environment
  • Review process

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X