CatgirlIntelligenceAgency/code/common
Viktor Lofgren f58a9f46be (loader) Don't truncate the entire links table on load
This behavior is an old vestige from the days of only having a single loader process.  We'd truncate the links table because doing inserts/updates was too slow.  This was also important because we had 32 bit ID, and there's a lot of links between domains to go around...

Instead we delete the rows associated with the current node with a stored procedure PURGE_LINKS_TABLE.

We also update the PRIMARY KEY to a BIGINT.  We'll need to load the data in excess of billion times to hit an ID rollover, so it'll be fine.
2023-11-16 10:30:12 +01:00
..
config Initial Commit Anchor Tags 2023-11-04 14:24:17 +01:00
db (loader) Don't truncate the entire links table on load 2023-11-16 10:30:12 +01:00
linkdb (*) WIP Control GUI redesign, executor-service, multi-node mq 2023-10-14 12:08:43 +02:00
model (domain) id.au should be treated as a TLD 2023-11-06 19:07:47 +01:00
process (*) WIP Add node affinity to EC_DOMAIN 2023-10-19 17:48:34 +02:00
renderer (control) Render UUID tooltip with dashes. 2023-10-24 16:37:40 +02:00
service (metrics) Get prometheus up out of disrepair 2023-11-08 14:01:28 +01:00
service-client (control) Temporarily re-writing the data balancer to get it to work in prod 2023-10-22 14:03:09 +02:00
service-discovery (*) Get multi-node routing working. 2023-10-15 18:38:30 +02:00
readme.md Update readme.md 2023-03-25 15:27:11 +01:00

Common

These are packages containing the basic building blocks for running a service as well as shared models.

  • db contains SQL code and some database-related utilities.
  • config contains some @Injectables.
  • renderer contains utility code for rendering website templates.
  • service is the shared base classes for main methods and web services.
  • service-client is the shared base class for RPC.
  • service-discovery contains tools that lets the services find each other.
  • process contains boiler plate for batch processes.