Databases

  • Post author:
  • Post category:Core

KOS allows users to create and store databases using a combination of SQlite and the JDBI library (Java Database Interface). This article will go into depth on how to create and use databases within KOS.

Continue ReadingDatabases

Spawn Service

  • Post author:
  • Post category:Core

The `SpawnService` within KOS is a service whose primary responsibility is to start/stop native programs. It preforms this function across the nodes of a device. All the programs started via the service are monitored by KOS and will be restarted using a back-off algorithm in the event they crash.

Continue ReadingSpawn Service

FUSE

  • Post author:
  • Post category:Core

KOS comes packaged with a FUSE (File System in User Space) filesystem. This allows users to mount KABs directly into the local native filesystem.

Continue ReadingFUSE

Services

A common pattern when developing with KOS is the use of services, which act as managers or coordinators responsible for specific functionality. Services are generally singletons

Continue ReadingServices

Ready

KOS’s ready protocol ensures services are only used once they are fully initialized, even when setup happens asynchronously. Readiness can work in and outside a BeanContext, and ReadyIndicators let developers coordinate complex, multi-stage initialization.

Continue ReadingReady