Periodical Data #14790
Unanswered
mgochmuradov
asked this question in
Ideas
Periodical Data
#14790
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
Background
We are building a billing application for a MidSize Telecom operator with ABP Community (EFCore, angular).
As there are a lot of operation data (ex: phone calls from one subscriber to another), the customer asked us to make this data archivable.
So we have come up with the following solutions and wanted your opinions.
Option 1: Separate DB
We will create a separate DBContext for this type of data, and possibly use MongoDB for horizontal scaling.
Option 2: Periodic Data
Still with a separate DBContext
Period
Model, UI, and API to manage Periods (with start and end dates, and connection string)ICurrentPeriod
service (similar toICurrentTenant
)IPeriodicDbContext
interface to be applied onDBContext
DbContextFactory
to use the connection string from the selectedPeriod
With this implemented,
Beta Was this translation helpful? Give feedback.
All reactions