case study · integrations

ERP Sync Database

The B2B and B2C channels read product, stock and price data straight from the ERP on every request, which both strained the ERP and slowed responses down. I placed a sync database in between: a worker service transfers the data periodically, and the channels now read from that database.

  • .NET
  • Worker Service
  • SQL Server

// flow

  1. ERP

    The source of truth for products, stock and prices; it is no longer queried on every channel request.

  2. Worker Service

    Pulls data from the ERP at set intervals and writes it to the sync database.

  3. Sync DB

    A SQL Server database dedicated to channel reads.

  4. B2B · B2C

    The channels read products, stock and prices from this database instead of the ERP.

// problem → solution → result

problem
Channels querying the ERP directly on every request put load on the ERP and slowed responses down.
solution
A sync database placed in between: product, stock and price data is transferred periodically by a Worker Service, and the channels read from it.
result
The load on the ERP is gone; channel response times improved noticeably.

// technical notes

  • Read traffic moved from the ERP to the sync database.
  • Because the transfer is periodic, channels may see data up to one interval old; the interval is chosen by how fresh the data needs to be.
  • Result: the load on the ERP is gone and channel response times improved noticeably.

// where

  • Ersa YazılımSoftware Developer · 2022 — 2025
all work

keyboard shortcuts

j / k
next / previous section
g g / G
top / bottom
/
type in the terminal
r
quick summary
?
this list
Esc
close

privacy and cookies

data controller
Emirhan Göl · [email protected]
contact form
The name, email and message you send through the form or the terminal's mail command are forwarded to me as an email through my email provider, so I can reply. They are not stored in a database on this site and are not shared with anyone else.
abuse prevention
To stop the form from being abused with bulk submissions, your IP address is kept for at most 10 minutes, in server memory only.
analytics and cookies
If you allow it, Google Analytics is loaded for visit statistics and sets cookies; this data is processed on Google's servers abroad. If you don't, Google Analytics is never loaded and no cookies are set. You can change your choice below at any time.
stored in your browser
Things like your cookie choice and your snake high score are kept only in your browser and are never sent to the server.
your rights
To exercise your rights under Turkish data protection law (KVKK, article 11), such as access, correction or deletion, email [email protected].