JBossCache - 从单独的 Java 应用程序访问缓存
我的公司想要研究启动一个 java 应用程序的选项,该应用程序只需在应用程序服务器上配置和启动缓存,然后让一个单独的独立应用程序从第一个程序调用该实例并对其进行写入/读取。
我们目前的工作是访问数据很慢,但如果我们可以加载数据并始终在同一台机器上使用它,这可能是帮助访问速度的一个不错的选择。
我没有找到让单独的项目访问该缓存的示例。
如果有人有任何方向或示例的 URL,我将不胜感激。
或者,如果这在另一个可用的开源中更容易完成,请给出您的意见。
提前致谢。
My company wants to investigate the option of launching one java app that simply configures and starts a cache on an app server, then have a separate stand alone app call that instance from the first program and write to/read from it.
We currently have a job that access to data is slow, but if we can load the data and always have it available on the same machine, this may be a good bet to help access speed.
There are no examples I am finding to having a separate project access that cache.
If anyone has any direction or a URL of an example I would appreciate it.
Or if this is easier to accomplish in another open souce available, please give your opinion.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JBoss是构建缓存的一个非常重锤。
您是否考虑过 memcached ?
如果你想留在 JVM 上,我刚刚发现 ehcache 可以作为独立服务器运行。
JBoss is a very heavy hammer to build a cache.
Did you consider memcached ?
If you like to stay on the JVM, I just found that ehcache can run as a standalone server.