New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use library-based APIs instead of RESTful APIs #301
Comments
There is document named "The CKAN API" (note the "The" :) at http://docs.ckan.org/en/ckan-2.2/api.html, but it seems that is the old REST API we already know, so it is not the API kind you are looking for. CKAN relies in Postgres storate. If the way in which CKAN stores information in that DB is documented, maybe a JDBC-like interface may be use (thus avoiding HTTP-based comunication and using a wiring protocol suposed to be efficient). |
Good point. Anyway, this is only a proposal that would restrict the deployment of Cygnus, in the sense that would only work if, for instance, the MySQL database and the Namenode run in the same machine (asuming you want both types of persistence). There are other ideas on the table, like moving from text protocols (HTTP) to a binary ones. |
Issue created regarding HDFS: #537 |
Once this has been created for HDFS, it seems the issue can be close since:
|
Instead of using RESTful APIs, library-based APIs could be used to increase the performance. At least, that could be the case of HDFS, i.e. use the Hadoop API instead of WebHDFS.
In the case of MySQL, the mysqlconnector seems to be the only option... at least, calls will be made localy instead of remotely. The question is... is there a CKAN API?
The idea behind this proposal is to move Cygnus deployment from Orion side to the storage side, avoiding HTTP-based communications.
The text was updated successfully, but these errors were encountered: