Faster iOS App - 周楷雯
Faster App @kevinzhow About Kevin • Develop iOS App Since 2011 • Ruby on Rails Since 2010 • Design & Linux Since 2006 • Author of PRODUCTER PNChart • Founder of Catch Inc Fact of Tech Fact Enable Gzip Performance vs Function Mantel JSON YYModel Manual protobuf –@kevinzhow “Happy app developing”0 码力 | 65 页 | 1.72 MB | 1 年前3f5a Istio Adoption Cash App
Square DC -> Cash App EKS Internal Presentation “New” Cash App EKS -> Square DC Internal Presentation ir-sync Internal Presentation Do you like ? We’re Hiring! cash.app/careers tetrate.io/careers Understanding Istio Internal Presentation Cash App EKS -> Cash App EKS Internal Presentation Cash App EKS -> Square DC Internal Presentation Square DC -> Cash App EKS Internal Presentation New in-mesh s2s0 码力 | 15 页 | 2.20 MB | 1 年前3Build Python App with Serverless 费良宏
import logging from flask import Flask app = Flask(__name__) logging.basicConfig() logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) @app.route('/', methods=['GET', 'POST']) def '__main__': app.run(debug=True) from flask import Flask app = Flask(__name__) @app.route('/’) def hello_world(): return 'Hello, World!' from chalice import Chalice app = Chalice(__name__) @app.route('/’)0 码力 | 35 页 | 7.81 MB | 1 年前3百度APP基于Istio实现基础架构升级 - lightning talk - MichaelXu
#IstioCon 百度APP基于Istio实现 基础架构升级 许超 #IstioCon 背景 l 核心业务线已完成微服务改造,数万个微服务对架构服务治理能力提出了更高的要求。 l 高级架构能力能否多语言、多框架支持? l 运维架构能力是否具备可移植性?是否能低成本复制新的产品线? l 可观测性不足,是否有通用机制提升产品线可观测性? Ø 部分模块上下游超时配置不合理,超时倒挂,集中管理调整成本比较高。 比如常用运维降级、止损能力各个产品线重复建设,方案差异大,OP期望运维能力在不同产品线之间能够通用化, 集中化管理,甚至做到自动决策 Ø 精细故障能力(异常query、注入延迟等)期望能够标准化、低成本跨产品线复制 Ø 百度APP架构缺少上下游模块视图和流量视图,黄金指标不足,导致容量管理压测效率低、混沌工程实施成 本高、故障定位成本高。 #IstioCon 目标 l 服务治理策略平台化 联合公司内部,通过合作共建方式实现完整的Service (单点,多点,防雪崩,长尾优化,架构故障韧性能力) l 治理效率方面 (提升一级模块建成效率,二级模块预案能力) l 周边生态方面 (流量复制,稳定性工程,动态调参, 服务可观测性) l 覆盖率方面 (百度APP100%核心模块,流量占比>79.5% ) #IstioCon 收益介绍 – 防雪崩&长尾 长尾优化: LocalityAware负载均衡策略 业务价值 LocalityAware负载均衡策略以下游节点的吞吐0 码力 | 9 页 | 2.20 MB | 1 年前3Why NativeScript Demands You Rethink Your Mobile Application Strategy
applications. 3. We only do JavaScript. 4. We pitched Cordova- a lot. 5. We turned down native app projects because it wasn’t our mission. 6. We learned some interesting things across dozens of mobile conversation… b. Or is it new new and it’s purpose is its own 2. User acquisition channels a. App store, other community (e.g. users of your main product). 3. How hard to predict user behaviour What Competencies to Build an App? Market Research Segmenta tion Differenti ation User Experience Design Speed “Nativeness” Learning What Competencies to Build an App? Market Research Segmenta0 码力 | 27 页 | 958.39 KB | 1 年前3Flask Documentation (1.1.x)
Application A minimal Flask application looks something like this: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' So what did that code do? 1. First need to tell your terminal the application to work with by exporting the FLASK_APP environment variable: $ export FLASK_APP=hello.py $ flask run * Running on http://127.0.0.1:5000/ If you are on Windows on command line interpreter. On Command Prompt: C:\path\to\app>set FLASK_APP=hello.py And on PowerShell: PS C:\path\to\app> $env:FLASK_APP = "hello.py" Alternatively you can use python -m flask: 10 码力 | 291 页 | 1.25 MB | 1 年前3Flask Documentation (1.1.x)
Development Anatomy of an Extension “Hello Flaskext!” Initializing Extensions The Extension Code Using _app_ctx_stack Learn from Others Approved Extensions Pocoo Styleguide General Layout Expressions and Statements Application A minimal Flask application looks something like this: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' So what did that code do? 1 need to tell your terminal the application to work with by exporting the FLASK_APP environment variable: $ export FLASK_APP=hello.py $ flask run * Running on http://127.0.0.1:5000/ If you are on Windows0 码力 | 428 页 | 895.98 KB | 1 年前3Angular 8 - Reviewed
polyfills.ts | styles.css | +---app | app.component.css | app.component.html | app.component.spec.ts | app.component.ts | app.module.ts | +---assets | .gitkeep code. index.html is the application base HTML code. styles.css is the base CSS code. app folder contains the Angular application code, which will be learn elaborately in the upcoming chapters Let us change the title of the application to better reflect our application. Open src/app/app.component.ts and change the code as specified below: Angular 8 8 export class0 码力 | 231 页 | 4.00 MB | 1 年前3Celery v5.0.5 Documentation
of the simplest applications you can make: from celery import Celery app = Celery('hello', broker='amqp://guest@localhost//') @app.task def hello(): return 'hello world' Highly Available Workers "celery[redis]" Configuration Configuration is easy, just configure the location of your Redis database: app.conf.broker_url = 'redis://localhost:6379/0' Where the URL is in the format of: redis://:passwor connect directly to a list of Redis Sentinel: app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local host:26381' app.conf.broker_transport_options = { 'master_name':0 码力 | 2315 页 | 2.14 MB | 1 年前3Celery v5.0.2 Documentation
of the simplest applications you can make: from celery import Celery app = Celery('hello', broker='amqp://guest@localhost//') @app.task def hello(): return 'hello world' Highly Available Workers "celery[redis]" Configuration Configuration is easy, just configure the location of your Redis database: app.conf.broker_url = 'redis://localhost:6379/0' Where the URL is in the format of: redis://:passwor connect directly to a list of Redis Sentinel: app.conf.broker_url = 'sentinel://localhost:26379;sentinel://localhost:26380;sentinel://local host:26381' app.conf.broker_transport_options = { 'master_name':0 码力 | 2313 页 | 2.14 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100