# Platform Limits and Constraints

{
  # Port limits
  port = {
    min = 1024,
    max = 65535,
    system_max = 1024,
  },

  # Connection limits
  connections = {
    min = 10,
    default = 100,
    solo_max = 100,
    multiuser_max = 500,
    enterprise_max = 2000,
  },

  # Worker limits
  workers = {
    min = 1,
    max = 32,
    solo_default = 2,
    multiuser_default = 4,
    enterprise_default = 8,
  },

  # Agent limits
  agents = {
    max_instances_min = 1,
    max_instances_solo = 3,
    max_instances_multiuser = 10,
    max_instances_enterprise = 50,
  },

  # Timeout limits (milliseconds)
  timeouts = {
    min_request = 1000,
    default_request = 30000,
    max_request = 300000,
  },

  # Pool size limits
  pool = {
    min = 5,
    default = 20,
    solo_max = 10,
    multiuser_max = 50,
    enterprise_max = 100,
  },

  # Storage limits (bytes)
  storage = {
    cache_default = 104857600,  # 100 MB
    cache_enterprise = 536870912,  # 512 MB
  },
}
