toeverything / OctoBase

🐙 OctoBase is the open-source database behind AFFiNE, local-first, yet collaborative. A light-weight, scalable, data engine written in Rust.
https://octobase.dev
GNU Affero General Public License v3.0
1.39k stars 91 forks source link

Architecture optimization for AFFiNE cloud #376

Open JasperStardream opened 1 year ago

JasperStardream commented 1 year ago

Our team has identified several areas that need to be optimized to improve code stability. We plan to implement the following changes:

### Improve code readability
- [ ] #377 

These optimizations will help us create a more stable and efficient system, improving code stability and enhancing the user experience.

JasperStardream commented 1 year ago

Found an issue, the token nonce should not be constant, it's very dangerous to do so.

JasperStardream commented 1 year ago

The issue of API idempotence is mainly related to the following three APIs: /api/workspace POST /api/workspace/:id DELETE /workspace/:id/blob. PUT