Stacklane's limits are designed to emphasize best practices for using the platform, not make your life difficult. For every limit there is usually an alternative approach with better long term scale and maintenance characteristics.
For example, the size of a repository is limited to emphasize its use as controller and view, and not as a way to serve large files, or model-like content. Lists of embedded entries are limited to emphasize using containers for cases that may call for unbounded entries. And so on.
|Repository: Source Code
Size of the source code only — static assets, endpoints, config, etc. This does not refer to model data storage.
Repository: Image Count
Repository images are primarily for styling / decoration / theme and are not related to model data images.
|Model: Total Number of Entries||Unlimited|
|Model: Field and Model Type Name Length||20 chars|
Model: Field Count
Extendable using embedded field types, as long as the provisioned size for the type is not exceeded.
Model: Embedded List Entries
The maximum number of embedded entries in a multi-valued field. Typically this will be customized to a lesser value, to reduce the total provisioned size. For unbounded one-to-many associations use containers.
Model: Field Type Size
Choose the right field type for the job.
Model: Provisioned Size
The sum of all provisioned field sizes. Exceeding the provisioned size of a model type will be determined during compile/build time, ensuring that during runtime there are zero surprises.
Model Provisioned Size
A model type's total provisioned size is the sum of the provisioned size for each field defined for the model. Stacklane determines the provisioned size of a model at compile time, ensuring that during runtime there are zero surprises.
|string||4 x max characters (400 bytes by default)|
|image||100 bytes (independent of image size)|
|markdown||4 x max characters (8,000 bytes by default)|
|Embedded||Sum of field sizes (x times number of possible entries)|