Skip to content

A globally distributed Elixir application with a shared in-memory mnesia database that provides a visitor counter.

Notifications You must be signed in to change notification settings

maltekrupa/global_cluster

Repository files navigation

Global Cluster

Counting visitors on a shared and distributed global datastore.

See it live at gc.nafn.de.

The demo has been taken down. Check out some archived links:

FAQ and changelog

People on reddit asked some questions. You can find everything in the FAQ

There is also a changelog if you're interested.

Local development

If you only need one node, start it via:

mix phx.server

If you need multiple nodes, start each of them in a terminal with a different port using the PORT environment variable (4000 by default):

iex --name [email protected] -S mix phx.server
PORT=4001 iex --name [email protected] -S mix phx.server

Afterwards libcluster should take care of forming a cluster and mnesiac should form a mnesia cluster.

About

A globally distributed Elixir application with a shared in-memory mnesia database that provides a visitor counter.

Resources

Stars

Watchers

Forks