Skip to content

Commit

Permalink
doc(orm): add doc on orm
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu <[email protected]>
  • Loading branch information
mathieu-brl committed Nov 27, 2024
1 parent 8440b8f commit 93e8697
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions docs/source/Project/benchmark.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,46 @@ Server: Go
**Conclusion**:
Go’s high performance and concurrency handling make it a better choice for a scalable automation service backend.

ORM Server: Gorm
-----------------
**Justification**:

.. list-table::

- **User-friendly**: Easy to learn and use
- **Flexibility**: Supports auto migration and complex queries
- **Large Community**: Extensive resources and support

**Comparison with Alternatives**:

.. list-table::
:header-rows: 1

* - **Pros/Cons**
- **Pros**
- **Cons**
* - GORM
- User-friendly

Flexible

Large community

- A bit less performant than some alternatives

* - EntGo
- Strongly typed

Can handle complex type

- Long compile times

Hard learning curve

* - SQLx
- Strongly typed
- Raw SQL

Database: MariaDB
-----------------
**Justification**:
Expand Down

0 comments on commit 93e8697

Please sign in to comment.