Skip to content

Concept examples ​

To experience the concepts of Jitar we've created examples for them. Each example can be viewed and downloaded from the repository.

Hello world ​

In this example you’ll find the simplest Jitar application possible. It doesn’t have to be complicated, does it?

View in repository

Segmentation ​

This example demonstrates how to distribute an application in production. It also shows the simple setup that is required for development purposes.

View in repository

Load balancing ​

Jitar comes with load balancing capabilities out-of-the-box. This example demonstrates how to load balance application segments by running them on multiple workers.

View in repository

Access protection ​

Not every function should be publicly available. You’ll see how to protect the access to a function.

View in repository

Multi version ​

Having multiple versions of the same function is easy when migrating parts of the application to the next version. The example shows how to create multiple versions for a function and how to register them as versioned functions in a segment.

View in repository

Data transportation ​

Sharing data between services is crucial when communicating. In this example we demonstrate how data is transported between segments.

View in repository

Error handling ​

Jitar provides a large number of errors out-of-the-box. But when you want to use a custom error, this example will show how those are supported.

View in repository

Health checks ​

For the health of a cluster it’s important that workers can communicate their health status. In this example you’ll learn how to create heath checks and request the health of a service.

View in repository

Middleware ​

Middleware is useful for manipulating requests and responses. In this example we demonstrate how to create and add custom middleware.

View in repository

Construction ​

When starting and stopping a Jitar service, it might be useful to do additional tasks. In this example the use of start up and tear down scripts is demonstrated.

View in repository

Jitar is a project by Masking Technology