GridGain REST client to

我的未来我决定 提交于 2020-01-25 15:18:25

问题


I've dug around and found the following but where not particularly useful (and why) - Does GridGain support SSL connection between each cluster member? was this wasn't so much useful as it didn't give much information on actually running and using the client - http://atlassian.gridgain.com/wiki/display/GG60/HTTP+Client unlike other parts of the documentation which comes with examples, the GridGain docs for HTTP REST client just shows you the fields and its properties

What I am trying to do: I have a cluster over a virtual network running on separate virtual machines. I wish to set up a REST service so that I can hit an endpoint to store data. ie. curl POST to localhost:8080/store/ with a parameters object (or some variation of this situation, so long as I can do it over HTTP) and have that data stored into the GridGain cache


回答1:


GridGain REST protocol is MemCached compliant, so you can connect to GridGain using any MemCached compatible client.

GridGain downloadable distribution has PHP HTTP and MemCached examples in examples/rest folder.



来源:https://stackoverflow.com/questions/26267807/gridgain-rest-client-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!