GridGain REST 客户端到 [英] GridGain REST client to

查看:75
本文介绍了GridGain REST 客户端到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经挖掘并找到了以下但不是特别有用的地方(以及为什么)- GridGain是否支持每个集群成员之间的SSL连接? 是这不是很有用,因为它没有提供有关实际运行和使用客户端的太多信息- http://atlassian.gridgain.com/wiki/display/GG60/HTTP+客户与带有示例的文档的其他部分不同,用于 HTTP REST 客户端的 GridGain 文档仅向您展示了字段及其属性

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

我想做什么:我在单独的虚拟机上运行的虚拟网络上有一个集群.我希望设置一个 REST 服务,以便我可以访问一个端点来存储数据.IE.curl POST 到 localhost:8080/store/带有参数对象(或这种情况的一些变体,只要我可以通过 HTTP 进行)并将该数据存储到 GridGain 缓存中

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

推荐答案

GridGain REST 协议符合 MemCached,因此您可以使用任何兼容 MemCached 的客户端连接到 GridGain.

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

GridGain 可下载发行版examples/rest<中有 PHP HTTP 和 MemCached 示例/code> 文件夹.

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

这篇关于GridGain REST 客户端到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆