Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erudika/para-cache-hazelcast
Hazelcast Cache plugin for Para
https://github.com/erudika/para-cache-hazelcast
backend backend-services cache caching distributed distributed-cache hazelcast para plugin
Last synced: 2 months ago
JSON representation
Hazelcast Cache plugin for Para
- Host: GitHub
- URL: https://github.com/erudika/para-cache-hazelcast
- Owner: Erudika
- License: apache-2.0
- Created: 2017-11-12T23:19:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T10:19:12.000Z (3 months ago)
- Last Synced: 2024-10-31T11:21:45.116Z (3 months ago)
- Topics: backend, backend-services, cache, caching, distributed, distributed-cache, hazelcast, para, plugin
- Language: Java
- Homepage: https://paraio.org
- Size: 149 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Logo](https://s3-eu-west-1.amazonaws.com/org.paraio/para.png)
============================> ### Hazelcast Cache plugin for Para
[![Build Status](https://travis-ci.org/Erudika/para-cache-hazelcast.svg?branch=master)](https://travis-ci.org/Erudika/para-cache-hazelcast)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.erudika/para-cache-hazelcast/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.erudika/para-cache-hazelcast)
[![Join the chat at https://gitter.im/Erudika/para](https://badges.gitter.im/Erudika/para.svg)](https://gitter.im/Erudika/para?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)## What is this?
**Para** was designed as a simple and modular back-end framework for object persistence and retrieval.
It enables your application to store objects directly to a data store (NoSQL) or any relational database (RDBMS)
and it also automatically indexes those objects and makes them searchable.This plugin allows Para to cache objects in Hazelcast.
## Documentation
### [Read the Docs](https://paraio.org/docs)
## Getting started
The plugin is on Maven Central. Here's the Maven snippet to include in your `pom.xml`:
```xml
com.erudika
para-cache-hazelcast
{see_green_version_badge_above}```
Alternatively you can download the JAR from the "Releases" tab above put it in a `lib` folder alongside the server
WAR file `para-x.y.z.war`. Para will look for plugins inside `lib` and pick up the Hazelcast plugin.### Configuration
Here are all the configuration properties for this plugin (these go inside your `application.conf`):
```ini
para.hc.async_enabled = false
para.hc.eviction_policy = "LRU"
para.hc.eviction_percentage = 25
para.hc.ttl_seconds = 3600
para.hc.max_size = 5000
para.hc.ec2_discovery_enabled = true
para.hc.discovery_group = "hazelcast"
```Finally, set the config property:
```ini
para.cache = "HazelcastCache"
```
This could be a Java system property or part of a `application.conf` file on the classpath.
This tells Para to use the Hazelcast cache implementation instead of the default one.### Requirements
- Hazelcast (v1.36.0+ uses Hazelcast v4.x, prior versions use v3.x)
- [Para Core](https://github.com/Erudika/para)## License
[Apache 2.0](LICENSE)