All Projects → onsoul → Ha Db

onsoul / Ha Db

Licence: bsd-3-clause
探索高效的SAAS结构,单体应用动态切换数据库。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Ha Db

Springboot
SpringBoot 整合各类框架和应用
Stars: ✭ 54 (+22.73%)
Mutual labels:  dubbo, mongodb
Steedos Platform
华炎魔方低代码/无代码平台。内核采用了元数据、微服务、微前端、K8S等最新的技术架构。Steedos Low-Code / No-Code Platform in nodejs and mongodb.
Stars: ✭ 310 (+604.55%)
Mutual labels:  saas, mongodb
Spring Boot Extend
在springboot基础上的扩展项目,快速集成Zookeeper、Dubbo、Apollo、Mybatis多数据源
Stars: ✭ 63 (+43.18%)
Mutual labels:  dubbo, mongodb
Mongoke
Instant Graphql for MongoDb (active branch is golang, rewrite in process)
Stars: ✭ 203 (+361.36%)
Mutual labels:  schema, mongodb
Meteor Collection2
A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.
Stars: ✭ 1,020 (+2218.18%)
Mutual labels:  schema, mongodb
Wertik Js
💪 A library that powers your app with GraphQL + Rest API
Stars: ✭ 56 (+27.27%)
Mutual labels:  saas, mongodb
Spring Dubbo Service
微服务 spring dubbo项目:dubbo rpc;druid数据源连接池;mybatis配置集成,多数据源;jmx监控MBean;定时任务;aop;ftp;测试;Metrics监控;参数验证;跨域处理;shiro权限控制;consul服务注册,发现;redis分布式锁;SPI服务机制;cat监控;netty服务代理;websocket;disconf;mongodb集成;rest;docker;fescar
Stars: ✭ 224 (+409.09%)
Mutual labels:  dubbo, mongodb
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+127.27%)
Mutual labels:  dubbo, mongodb
Fullstack Javascript Architecture
✍️ Opinionated project architecture for Full-Stack JavaScript Applications.
Stars: ✭ 464 (+954.55%)
Mutual labels:  saas, mongodb
Mongolass
Elegant MongoDB driver for Node.js.
Stars: ✭ 421 (+856.82%)
Mutual labels:  schema, mongodb
Mongoeye
Schema and data analyzer for MongoDB written in Go.
Stars: ✭ 113 (+156.82%)
Mutual labels:  schema, mongodb
Goodskill
🐂基于springcloud +dubbo构建的模拟秒杀项目,模块化设计,集成了分库分表、elasticsearch🔍、gateway、mybatis-plus、spring-session等常用开源组件
Stars: ✭ 786 (+1686.36%)
Mutual labels:  dubbo, mongodb
Mongo.migration
On-the-fly migrations with MongoDB C# Driver
Stars: ✭ 99 (+125%)
Mutual labels:  schema, mongodb
Saas
Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
Stars: ✭ 2,720 (+6081.82%)
Mutual labels:  saas, mongodb
Mongoose Patch History
Mongoose plugin that saves a history of JSON patch operations for all documents belonging to a schema in an associated 'patches' collection
Stars: ✭ 82 (+86.36%)
Mutual labels:  schema, mongodb
Spring Samples For All
spring、spring-boot、spring-cloud 常用整合用例
Stars: ✭ 401 (+811.36%)
Mutual labels:  dubbo, mongodb
Meteor Astronomy
Model layer for Meteor
Stars: ✭ 608 (+1281.82%)
Mutual labels:  schema, mongodb
Springbootexamples
Spring Boot 学习教程
Stars: ✭ 794 (+1704.55%)
Mutual labels:  dubbo, mongodb
Curriculum
Overview of the different modules and learning goals of the program.
Stars: ✭ 40 (-9.09%)
Mutual labels:  mongodb
Phalcon Vm
Vagrant configuration for PHP7, Phalcon 3.x and Zephir development.
Stars: ✭ 43 (-2.27%)
Mutual labels:  mongodb

SAAS 原型

saas-mycat

这是15年选择的预研方案,程序框架采用了spring、doubbo、mycat、mysql. 整体方案采用mycat做为数据路由,由spring应用在执行SQL前加入mycat的路由注解。以达到数据库动态切换的目的. 但是在实践过程中,发现mycat的框架体系把结构化数据库的事务性完全丢失,还包括MYSQL的存储过程无法得到有效满足. 所以整个应用 在doubbo的上下文传递线程变量存在一些参考价值.也许mycat 2.0 或者 TiDB 可以解决这个问题.

saas-mongo

近期采用的SAAS结构. 依赖于mongodb API的高度扩展与可用,加上spring boot/spring data mongo底层采用了netty实现,在数据连接管理上已完美实现动态切换。

所以我们简单实现了通过线程变量传递DB NAME,并重写掉mongoTemplate,此组件具有了以下功能提供参考。

  • mongo docment 可任意加字段读出写入.实际上是重写映射结构.
  • 可配合前端域名动态切换数据库.
  • 注解式实现mongodb在自增主键上的缺陷.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].