MarginaliaSearch/code/common
Viktor Lofgren eaf836dc66 (service/grpc) Reduce thread count
Netty and GRPC by default spawns an incredible number of threads on high-core CPUs, which amount to a fair bit of RAM usage.

Add custom executors that throttle this behavior.
2024-02-27 21:22:21 +01:00
..
config (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
db (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
linkdb (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
model (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
process (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
renderer (refac) Remove src/main from all source code paths. 2024-02-23 16:13:40 +01:00
service (service/grpc) Reduce thread count 2024-02-27 21:22:21 +01:00
service-discovery (service/grpc) Reduce thread count 2024-02-27 21:22:21 +01: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.