Skip to content

Overview of 2S platform ​

Early access

The 2S Platform is in early access. The hosted platform runs in the EU (Sweden) and is free to use while we shape its pricing.

  • What works: the catalog of annotations, configuration with templates and schemas, key/value pairs and secrets, the admin UI, sform, the GitHub Action, the MCP server, and the libraries for .NET and TypeScript.
  • What has no SLA yet: the hosted platform. It runs in one region, without a promise of availability, response times or support hours. To keep a copy of your own, an Owner or Administrator can export a view, and its key/value pairs on their own, at any time.

What exists and what comes next is on the road map. To look around first, join the live demo.

The main concepts of the 2S platform are described here: Storyteller, which runs today, and the two parts that are still ideas, Supervisor and the scheduler.

Storyteller ​

The heart of the platform. The term ecosystem is vital in the concept of a manageable modulith. It is a description and a model of your product. The description can be used as a data source for fundamental questions, like what is used by a concrete customer? The storyteller describes the entire ecosystem in simple but flexible way of annotations and acts as a single point of truth for configuring a satellite in any state/context.

The model of annotations defines all critical relationships from the business point of view. The shape of it is crucial and probably the most important decision to make. The concept of annotation is quite abstract, flexible, and still simple. There are these annotations (the diagrams are interactive):

The subject should represent the most critical entity, like the sun of your business solar system. The next is context, representing a parallel universe in the business solar system. You can imagine it as a first level of abstraction. The last annotation of responsibility is like a planet or a building block of your business. In most cases, a responsibility represents one satellite in the modulith application.

The relationships between these blocks are illustrated in the next diagram. A subject has one or more contexts and uses multiple responsibilities. A combination of context and responsibility is a concrete unit of work or execution of a satellite.

The model is kept simple but generic to make it possible to describe a lot of variations of complex software systems. It can describe the relationship between your SaaS product and your customers, complex business workflows, or differences between major software versions released yearly. There are no limits to the imagination and what you want to describe by the annotation model. It should always be something that will help you to manage your product.

TIP

This platform can be very useful for the microservices approach because it can help you picture the system's whole architecture and simplify management. The model sets no limit on the number of annotations. How far the hosted platform goes has not been measured yet; a load test is on the road map.

The guide that follows this overview takes each annotation in turn, then the configuration merge, then several products modeled with the same records: Annotations, Configuration, How to model, Using the platform, and the examples.

Supervisor idea ​

Nothing of the supervisor runs yet: this section describes the idea, and the road map keeps it among the ideas.

The supervisor would be a service where the entire ecosystem can be reviewed in real time, and notifications based on your rules can be sent outside the boundaries of the ecosystem. It would watch the health of each satellite and show what is running right now, with self-registration and auto-discovery.

You would connect to the supervisor as a stream source to see the real-time events of your ecosystem, in a web UI or a CLI. Rules would watch the events and trigger actions, for example send a notification or open a support ticket.

The supervisor would come with a small SDK built on standard .NET concepts: health checks and messages through ILogger. On top of the events, AI could spot anomalies in your ecosystem.

Scheduler & Initiator idea ​

The scheduler is an idea too. What exists already is its vocabulary: the unit and the unit of execution are part of the annotation model, so a job can be named, documented and configured per customer today. Nothing starts it yet.

The scheduler would manage time-based and recurring jobs, and drive the event-driven part of the ecosystem. It would be handy when you have many background jobs and want to describe smaller pieces than responsibilities (satellites). Imagine how convenient it would be to know what runs when, for each customer or user.

The scheduler would use the units of a responsibility, which represent its jobs and events. A job would start at the time of its CRON expression, or on its event: a change in a data store, a new file on an SFTP server, or a message on a communication channel.

Released under the MIT License.