hhstore / blog

My Tech Blog: about Mojo / Rust / Golang / Python / Kotlin / Flutter / VueJS / Blockchain etc.
https://github.com/hhstore/blog/issues
276 stars 22 forks source link

IaaS vs PaaS vs SaaS #367

Open hhstore opened 2 years ago

hhstore commented 2 years ago

related:

hhstore commented 2 years ago

IaaS vs PaaS vs SaaS 比较:

其他扩展:

直观对比:

参考:

hhstore commented 2 years ago

ref:

hhstore commented 2 years ago

初创团队的技术架构方案:

比如: 通用的基础设施:

然后在 产品中, 集成这些通用的服务 + 扩展个性化的产品.

底层设施: 混合方案

挑选一些特别重要的基础服务

Admin 后台:

SSO(单点登录):

用户账号系统+权限设计:

支付系统:

推送系统:

IM(聊天系统):

论坛/工单系统:

统一的接口网关:

初期是缝合怪. 然后逐步完善+优化.

Adapter 机制:

产品:

hhstore commented 2 years ago

部署实践:

casdoor:

Server 运行步骤:

  1. 拉代码, 本地部署.
  2. docker 创建一个测试数据库.

-- 数据库创建: 
DROP
DATABASE IF EXISTS `casdoor`;
CREATE
DATABASE `casdoor` DEFAULT CHARACTER SET = `utf8mb4` DEFAULT COLLATE `utf8mb4_unicode_ci`;

-- fix for deleted_at = 0
select @@sql_mode;
set
sql_mode = '';
  1. 更改 go 代码的 conf 文件中, db 连接参数
  2. go run main.go
  3. 结束.

前端运行:

casnode:

hhstore commented 2 years ago

casnode 部署实践:

Server 运行:

前端运行:

hhstore commented 2 years ago

1