Code Monkey home page Code Monkey logo

gemfire-resource-hunter's Introduction

GemFire-Resource-Hunter

Is a tool that will spelunk memory, and other resources inside of GemFire.

You can throttle resource request to keep performance in GemFire without disruption.

GemFire. This is not a unheard of concept, but there are a few wrinkles. First, this system

This tool is comprised on a few mechanisims.

It uses a Java Jar to interact with GemFire - Since GemFire is written in Java.

As we all know, Java has some intersting use cases. I'm not a Java hater, but more of a polyglot mindset. I'll step off my soapbox now.

I've decided to use Erlang to interact with Java - there is a niffy library included in Erlang called the Jinterface.

This allows me to interact with Java and be nice to the JVM while taking advantage of Erlang's internal messaging framework.

Which gives me an advantage when it comes to scaling workloads, requests, threads, etc.

Earlangs library allows for 1 to 1 thread management between Java and Erlang. So, there's no need to worry about beating up the JVM.

The Erlang Caller will be housed as a micro-service, again leveraging framework in order to deal with discovery, event driven requests.

The API and Microservices will use LepTus which use cowboy, jiffy, and msgpack

Setting up:

  1. Java runtime 8
  2. Latest Erlang build
  3. JavaErlang library http://babel.ls.fi.upm.es/~fred/JavaErlang/downloads.html

Erlang docs are located here http://www.erlang.org/

Using Erlang to call Java -

erl -sname "instance name" {ok,NodeId} = java:start_node().

Erlang creates java processes and calls them nodes.

Similar to how Erlang communicates internally.

This allow natural distributed programming.

gemfire-resource-hunter's People

Contributors

fz0101 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.