Tencent / APIJSON

🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构 🏆 Real-Time coding-free, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and the returned JSON of API can be customized by Frontend(Client) users
http://apijson.cn
Other
17.1k stars 2.14k forks source link

APIJSON 怎么很好的跟分布式缓存结合呢? #90

Closed karosLi closed 5 years ago

TommyLemon commented 5 years ago

可使用现有的分布式缓存架构,APIJSON ORM 只单独在各个节点的 Server 对接数据库, 在 DemoSQLExecutor 重写 AbstractSQLExecutor putCache, getCacheItem 和 removeCache 等,使用 Redis 等库来实现自定义的缓存。

APIJSONORM 作为一个 ORM 库,使用是很灵活的,网友的博客分享也提到了这点 https://blog.csdn.net/qq_41829492/article/details/88670940

APIJSONBoot 基于 SpringBoot 用 APIJSONORM 对接数据库 CRUD,可以使用 SpringBoot 的各种配套设施;APIJSONFinal 基于 JFinal ,同理可用 JFinal 的生态。