[
https://issues.apache.org/jira/browse/IGNITE-14202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304458#comment-17304458
]
Kirill Gusakov commented on IGNITE-14202:
-----------------------------------------
After the investigations, I found out that:
* JAX-RS solutions like the RESTEasy, Spring Web and etc. have significant
dependencies and runtime overheads for putting it in Ignite core as is.
* Small solutions like [https://javalin.io/] or [https://sparkjava.com/]
functionally suites for our needs. But both built around Jetty. As I know
Ignite 3 network stack will be built around Netty and it will be awesome to
have one management API for all network activities.
* Netty-based solutions like [https://github.com/reactor/reactor-netty] have
significant dependency overheads as well + opinionated runtime vision (reactive
streams)
* There is a probability that in the future we will need a custom low-level
HTTP object processing for Data API. Also, with netty for the whole networking
stack, we will have the option to push byte buffers directly from one network
API to another, if needed.
So, I prepare the small javalin/spark analog (ok, it can be an analog in the
future, after some work :) ). It looks like the "one another bicycle" maybe,
but I think the negatives outweigh the positives.
> Provide REST-based server endpoint in order to interact with Ignite cluster
> via CLI tool
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-14202
> URL: https://issues.apache.org/jira/browse/IGNITE-14202
> Project: Ignite
> Issue Type: New Feature
> Reporter: Vyacheslav Koptilin
> Assignee: Kirill Gusakov
> Priority: Major
> Labels: ignite-3, ignite-3-cli-tool
>
> Provide REST-based server endpoint in order to interact with Ignite cluster.
> - need to investigate existing implementations that can be easily used
> (RESTEasy, CXF, Jersey, etc)
> - prototype REST API (schema, versioning, etc)
> - Documentation of API (OpenAPI/Swagger)
> - integrate with CLI
--
This message was sent by Atlassian Jira
(v8.3.4#803005)