Show HN: Lightweight Microservices Architecture for the Internet of Things

Lelylan is an iot cloud platform based on a lightweight microservices architecture.

Lelylan platform is both hardware-agnostic and platform-agnostic. This means you can connect any hardware, from the ESP8622 to the most professional embedded hardware solution and everything in between – and it can run on any public cloud or in your own private datacenter, or even a hybrid environment, whether virtualized or on bare metal.

Lelylan Logo

Why Lelylan

Research in the Internet of Things is global and growing fast, but lacks standard tools. Many companies are building their own solution. By sharing what we have learned during the years, we want to create a shared code base with a clear focus to developers. To see Lelylan in action checkout the tutorials in the dev center.



Lelylan is tested against the techs below.

  • Ruby MRI ~1.9.3
  • Node ~0.8.8
  • MongoDB ~2.6
  • Redis ~2.6

Remember to run MongoDB and Redis.

$ mongod
$ redis-server



Lelylan is composed by different microservices.
Follow the installation guidelines for each of them to setup the platform in development.

If everything works ok, access Lelylan APIs from You can now connect your hardware.


In production every microservice needs to set the following environment variables. Remember to change them to your own microservices, mongodb, redis and cache values.

Environment Variable Description
RACK_ENV=production Production rack environment
RAILS_ENV=production Production rails environment
NODE_ENV=production Production node environment OAuth 2.0 microservice URL Devices API microservice URL Types API microservice URL Subs. API microservice URL Profiles API microservice URL
MONGOLAB_PEOPLE_URL=mongodb://:@:/ OAuth 2.0 MongoDB URL
MONGOLAB_DEVICES_URL=mongodb://:@:/ Devices API MongoDB URL
MONGOLAB_TYPES_URL=mongodb://:@:/ Types API MongoDB URL
MONGOLAB_JOBS_URL=mongodb://:@:/ Event Bus MongoDB URL
MEMCACHIER_USERNAME= Cache server username
MEMCACHIER_PASSWORD= Cache server password
REDIS_URL Background Job Redis URL
REDIS_RATE_LIMIT_URL=redis://:@:/ Late Limit Redis URL

We are studying solutions like Docker, Mesos, and Ansible to simplify the installation process. If you are experimenting in the same area, get in touch with us.


The Roadmap provides description of items that the project decided to prioritize. This should
serve as a reference point for Lelylan contributors to understand where the project is going, and
help determine if a contribution could be conflicting with some longer terms plans.

The fact that a feature isn’t listed here doesn’t mean that a patch for it will automatically be
refused (we also miss important things). We are always happy to receive patches for new cool features we haven’t
thought about, or didn’t judge priority. However understand that such patches might take longer for us
to review.

Checkout the roadmap to see our near future goals.

Contributing to Lelylan

This Contributing document tries to define a contributor’s guide explaining how to contribute to one or more Lelylan Microservice. It contains information about reporting issues as well as some tips and guidelines useful to experienced open source contributors.

Checkout the contributing to help us with Lelylan.


Use the available communication channels to communicate your ideas, problems or suggestions.


Lelylan is licensed under the Apache License, Version 2.0.

Original URL:

Original article

Comments are closed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: