Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

KRL Rulesets execute inside a persistent compute object, or pico

While rulesets are the primary organizing feature of KRL, you cannot program KRL without understanding picos. 

Picos are persistent: They exist from when they are created until they are explicitly deleted. Picos retain state based on past operations. 

Picos are online: They are available on the Internet and respond to events and queries. 

Picos provides a number of important services that create the execution environment for rules:

  1. Identity—picos represent a specific entity and KRL rulesets execute within the context of that identity
  2. Storage—picos persistently encapsulate both structured and unstructured data
  3. Open event network—picos provide an event network:
    1. As rulesets are installed and uninstalled, the salience of an event for different rules in the ruleset is automatically recorded. 
    2. The salience graph is used to automatically route events and schedule rules for execution
  4. Processing—picos run a unique set of rules based on the rulesets that have been installed
  5. Event Channels—picos have communication channels that connect them to other picos and external programs
  6. Authorization—picos manage authorization and access control for rulesets.

 

 

  • No labels