Discuss.FOLIO.org is no longer used. This is a static snapshot of the website as of February 14, 2023.

Can you say something about how OKAPI differs from microservices orthodoxy?

peter
19 Aug '16

A significant difference is that OKAPI is involved in each transaction between two different modules. As requests pass from module to module, OKAPI takes part as the gatekeeper. From that position, it can determine if the current request is permitted by the tenant. It can also perform other functions, such as monitoring and logging. In a traditional microservices set up, there is not such a gatekeeper.

The use of a shared storage service is also another way OKAPI differs from traditional microservices. In traditional microservices, each service owns its storage. With FOLIO we need a way to secure data and ensure the data is shareable (using common models, for instance).

Question from the July 27th Developer’s Forum.

x19990416
24 Sep '19

With FOLIO we need a way to secure data and ensure the data is shareable (using common models, for instance).
does it means in folio using all modules using the same database instance?and using the same module to execute CURD processing?