GemFire

Apache Geode Web framework

二次信任 提交于 2020-01-24 18:47:04
问题 We’re using VS and the following web frameworks are integrated https://visualstudio.microsoft.com/vs/features/web/frameworks/ Angular Vue React Bootstrap Cordova I’d like to know if there’s a web framework more integrated with Geode or which of these to choose for a UI layer? 回答1: Following up to what VHF stated, Spring Boot , on the other hand, contains excellent support for various Web Frameworks and other Web technologies. See here: Developing Web Applications : https://docs.spring.io

GemFire : CacheLoader : Getting data from external database

冷暖自知 提交于 2020-01-17 06:17:12
问题 cacheloader : Use case One of main use case where GemFire is used is, where it is used as a fast running cache which holds most recent data (example last 1 month) and all remaining data sits in back-end database. I mean Gemfire data which is 1 month old is overflowed to database after 1 month. However when user is looking for data which was beyond 1 month, we need to go to the database and get the data. Cache loader is suitable for doing this operation on cache misses and gets data from the

Pivotal GemFire

这一生的挚爱 提交于 2020-01-14 19:39:23
Pivotal GemFire | Pivotal https://pivotal.io/cn/pivotal-gemfire Gemfire - 分布式缓存利器 - 简书 https://www.jianshu.com/p/ae2b23ca7535 来源: https://www.cnblogs.com/rgqancy/p/12193605.html

Gemfire Persistent Overflow

筅森魡賤 提交于 2020-01-07 04:36:08
问题 I'm using Gemfire v7.0.1.3 on Linux. Below is my cache xml. <?xml version.....> <!DOCTYPE....> <cache is-server="true"> <disk-store name="myStore" auto-compact="false" max-oplog-size="1000" queue-size="10000" time-interval="150"> <disk-dirs> <disk-dir>.....</disk-dir> </disk-dirs> </disk-store> <region name="myRegion" refid="PARTITION_PARSISTENT_OVERFLOW"> <region-attributes disk-store-name="myStore" disk-synchronous="true"> <eviction-attributes> <lru-entry-count maximum="500" action=

Unable to create Continuous Query on geode

 ̄綄美尐妖づ 提交于 2020-01-07 02:59:05
问题 I am trying to do a poc on creating continiuous query on Apache Geode. But Getting below exception Caused by: java.lang.IllegalStateException: CqService is not available. at com.gemstone.gemfire.cache.query.internal.cq.MissingCqService.start(MissingCqService.java:171) ~[gemfire-core-1.0.0-incubating.M1.jar:na] at com.gemstone.gemfire.cache.query.internal.DefaultQueryService.getCqService(DefaultQueryService.java:810) ~[gemfire-core-1.0.0-incubating.M1.jar:na] at com.gemstone.gemfire.cache

Set Gemfire entry-ttl in Java Beans

删除回忆录丶 提交于 2020-01-04 01:50:20
问题 I would like to create a Gemfire region in a Spring Boot application. Following this sample, it works well wihout adding database support. If I add database, it will shows error like " Error creating bean with name 'dataSource'". However, default gemfire cache bean works well with datasource integration. @EnableAutoConfiguration // Sprint Boot Auto Configuration @ComponentScan(basePackages = "napo.demo") @EnableCaching @SuppressWarnings("unused") public class Application extends

Setting @EnableGemFireHttpSession regionName dynamically

非 Y 不嫁゛ 提交于 2019-12-25 02:19:22
问题 Is there any way to provide GemFire regionName dynamically during runtime. Currently we are hardCoding the regionName "testRegion". Sample Code is below. Appreciate any help @Configuration @EnableGemFireHttpSession(poolName = "gemfirePool", regionName="testRegion") public class TestConfig { //Some Code here } 回答1: Yes, great timing! There is now as of Spring Session for Apache Geode/Pivotal GemFire 2.0.5.RELEASE as well as 2.1.0.M1 . See here and alternatively, here. I recently made the

Get geode REST API going with SSL

橙三吉。 提交于 2019-12-24 11:29:21
问题 I've setup gemfire.properties to make the web component require SSL using ssl-enabled-components=web and setting up a keystore. The locator and server are starting ok and GFSH connects to the JMX manager. However, when I try and start the Swagger UI then I am getting ERR_SSL_VERSION_OR_CIPHER_MISMATCH . It happens when the config is that ssl-ciphers= and ssl-protocols= or set to any ... So what's the required REST API cipher for Apache Geode? Thanks 回答1: I tested this with a basic cert

Gemfire client server topology throws NoAvailableLocatorsException

时光毁灭记忆、已成空白 提交于 2019-12-23 01:15:52
问题 I have gemfire client server configured via gfe based xml. The locator, cache server and client cache start through these xml configurations. I populate my Region by getting data from database. The client uses data from this Region. It works very well for about 2 hours but after that the client starts throwing following exception and trace. I don't do any changes to running application. That means the locator and cache server should be running at all times. Any help would be great. Thanks.

Programmatic Control over entry-time-to-live in Gemfire Region with ClientRegionShortcut.PROXY

眉间皱痕 提交于 2019-12-20 06:26:57
问题 Is it possible to have a ClientCache with ClientRegionShortcut.PROXY along with programmatic control over entry TTL settings (i.e. entries present in the server)? I see the entry expiration ttl settings working fine with ClientRegionShortcut.CACHING_PROXY_HEAP_LRU . In this case I can see the entries getting invalidated in server after the configured timeout in seconds, but that is not the case for ClientRegionShortcut.PROXY settings Is it NOT possible to dynamically control the entry-ttl