MarginaliaSearch/code/common
Viktor Lofgren 57e6a12d08 (registry) Correct registerMonitor() behavior
The previous behavior would listen to too many changes, and based on zookeeper and not curator assumptions about behavior, add an additional monitor on each invocation of each monitor, (which always trigger on service state changes), leading to each monitor re-registering and effectively doubling monitors in numbers whenever a service stopped or started, which in turn meant a lot of bizarre thrashing behavior even on changes in services that don't explicitly talk to each other.

This re-registering behavior is no longer done.
2024-03-06 12:22:15 +01:00
..
config (refac) Merge service-discovery and service modules 2024-03-03 10:49:23 +01:00
db (docs) Begin un-fucking the docs after refactoring 2024-02-27 21:22:21 +01:00
linkdb (docs) Update process docs 2024-02-28 15:21:33 +01:00
model (refac) Merge service-discovery and service modules 2024-03-03 10:49:23 +01:00
process (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
renderer (docs) Begin un-fucking the docs after refactoring 2024-02-27 21:22:21 +01:00
service (registry) Correct registerMonitor() behavior 2024-03-06 12:22:15 +01:00
readme.md (refac) Merge service-discovery and service modules 2024-03-03 10:49:23 +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, including a service registry interface.
  • process contains boiler plate for batch processes.