#1 2021-09-22 17:44:44

triguinhu
Member
From: Brazil
Registered: 2016-07-28
Posts: 27

Data Sharding Example with Mormot and SQLLite

Hello everybody

Someone could provide an example of a simple business rule scenario like:

products
customers
a sale with a customer and several product items

using data sharding with mormot and sqlite or mondogb even?
We're having a hard time understanding the concept and having a hard time building code correctly following this pattern.

If possible we will be very grateful
Indicating the way to do it also helps a lot.
The difficulty is in assimilating the concept, since we are from the RDBMS era with a monolithic database... Would it be a database for products with a table? How to store product data that are commonly used in JOINS?

Thanks

Offline

#2 2021-09-22 19:50:00

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,238
Website

Re: Data Sharding Example with Mormot and SQLLite

Don't start from the tables/data, as with RDBMS.
But try to start from the services.

Which interfaces do you need? That is, which client-side use cases do you need?
So which objects do you need? Product, customer, sale?

Then you will use the framework to implement the service.

Offline

Board footer

Powered by FluxBB