负载均衡

服务器负载均衡

TCP层负载均衡

  • 示例

https://blog.csdn.net/weixin_43914278/article/details/104515787

https://blog.csdn.net/hackersuye/article/details/83269511

  • TCP连接

https://blog.csdn.net/ynnmnm/article/details/26117191

https://www.cnblogs.com/zhuweisky/archive/2007/09/16/894738.html

  • 混合模式

https://blog.csdn.net/weixin_30502965/article/details/96408843?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1.base&spm=1001.2101.3001.4242

HTTP层负载均衡

  • 示例

https://blog.csdn.net/qq_42241932/article/details/83005752?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1.base&spm=1001.2101.3001.4242

https://blog.csdn.net/developerinit/article/details/76141571

  • Websocket示例

https://www.haproxy.com/fr/blog/websockets-load-balancing-with-haproxy/

http://nginx.org/en/docs/http/websocket.html

软件负载均衡应用

HAProxy

https://blog.csdn.net/weixin_30701521/article/details/97463818

https://blog.csdn.net/audioo1/article/details/53189032

Nginx

https://blog.csdn.net/aa1358075776/article/details/97779277

https://segmentfault.com/a/1190000000453817

客户端负载均衡

Ribbon客户端负载均衡

https://www.cnblogs.com/zhenghongxin/p/10812137.html

负载均衡算法

https://www.jianshu.com/p/253790f4aa20

https://blog.csdn.net/bjgaocp/article/details/88381859

code-server: the Visual Studio Code available on browsers

Light weight personal blog management, available on any big screen devices that has a brower!

You will have the enrionment served online:

  • Git repo management
  • Markdown editor and preview
  • Cool extensions by vscode
  • Oauth security gaurd by Github auth provider
  • Availability anywhere, device free

installation

  1. A Win 10 pro on Azure that allow remote access

  2. Install code server on Linux subsystem

Github: https://github.com/cdr/code-server

1
2
3
# install
curl -fsSL https://code-server.dev/install.sh | sh
# add code-server to daemon won't work for linux subsystem

installation of externsions of vs coode on code server

1
code-server --install-extension bierner.markdown-mermaid

demo using iPad

  1. start code-server with public cloud reverse proxy

    1
    code-server --link
  2. allow inbound port of code-server on azure.portal

  3. access via https://$hostname-$login/cdr/co

Architecture Overview

Design In Depth

What is Graph API

Graph API documents

Graph API authentication

How to get Auth tokens

OAuth Authentication flows

Microsoft Introduction

Apps and authentication senarios

Call Graph API from Office Web Addin

Call via https://outlook.office.com/api

Call visa Office.js for Outlook REST API

Outlook REST API via outlook.office.com

Call via https://grsph.microsoft.com/

with Authentication with SSO token

Microsfot Setup Guide

AAD client app registration

Troubleshooting GetAccessToken

Other Option: use EWS call from Office.js

call EWS from Office.js

0%