GridGain REST 客户端到

编程入门 行业动态 更新时间:2024-10-08 10:32:57
本文介绍了GridGain REST 客户端到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经挖掘并找到了以下但不是特别有用的地方(以及为什么)- GridGain是否支持每个集群成员之间的SSL连接? 是这不是很有用,因为它没有提供有关实际运行和使用客户端的太多信息- atlassian.gridgain/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 - atlassian.gridgain/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 文件夹.

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

更多推荐

GridGain REST 客户端到

本文发布于:2023-11-13 02:42:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583201.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:端到   客户   GridGain   REST

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!