Skip to Content
高效能PYTHON程式設計
book

高效能PYTHON程式設計

by Micha Gorelick, Ian Ozsvald
August 2015
Intermediate to advanced
384 pages
7h 42m
Chinese
GoTop Information, Inc.
Content preview from 高效能PYTHON程式設計
350
|
第十二章
Python Smesh 的角色
我們廣泛地使用 Python —平台與服務的大部分都是以 Python 打造的,Python 所提供的
各種程式庫、工具,和框架讓我們全面地將它運用在工作上。
那種多樣性讓我們能夠(希望)為我們的工作挑選合適的工具。例如,我們已經使用
DjangoFlask Pyramid 建立 app,每個工具都有它的優點,我們能夠針對手頭上的
工作挑選正確的工具。我們使用 Celery 處理任務;使用 Boto AWS 互動;並且使用
PyMongoMongoEngineredis-pyPsycopg 等來處理我們的各種資料需求。種種例
子,不勝枚舉。
平台
我們的主要平台包含為資料輸入、過濾、聚集、及處理提供掛鉤(hook)的中央 Python
模組,以及各種其他的核心功能。專案特定的程式碼從該核心匯入功能性,然後實作更
具體的資料處理與視圖邏輯,根據每個應用程式的需要而客製化。
目前為止,這個平台運作得相當順利,讓我們無需重複花費很多功夫,就能夠建造從各
種來源擷取及處理資料的複雜應用程式,然而,它也不是沒缺點—每個應用程式皆倚賴
共用的核心模組,使得更新該模組的程式碼以及讓使用它的應用程式維持在最新狀態,
變成是一項最主要的任務。
我們目前正在執行專案,重新設計該核心軟體,並且將它改變成服務導向的架構
service-oriented architectureSoA)。隨著平台成長,尋找正確時機進行這種架構更
動,似乎是大多數軟體團隊會面臨的巨大挑戰之一。將元件打造成個別服務有它的成本 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Kafka权威指南

Kafka权威指南

Neha Narkhede, Gwen Shapira, Todd Palino
手把手教会你linux

手把手教会你linux

桑德.范.乌格特
流畅的Python

流畅的Python

Luciano Ramalho
精通機器學習

精通機器學習

Aurélien Géron

Publisher Resources

ISBN: 9789863477105