## Swarmlab is a collection of services that aims to > - provide teachers and professors with online remote tools to do their lessons > > - give students the opportunity to study real life examples in their chosen area of expertise > > - allow developers to fully test and debug their applications and provide POC’s > > - or you simply want to use a Application (in a microservices-based architecture) > > Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment. > > More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html ![alt text](images/swarmlab-network.png "") ## LabInstance redisserver Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions, and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster The name Redis means Remote Dictionary Server. The Redis project began when Salvatore Sanfilippo, nicknamed antirez, the original developer of Redis, was trying to improve the scalability of his Italian startup, developing a real-time web log analyzer. After encountering significant problems in scaling some types of workloads using traditional database systems, Sanfilippo began to prototype a first proof of concept version of Redis in Tcl. Later Sanfilippo translated that prototype to the C language and implemented the first data type, the list. After a few weeks of using the project internally with success, Sanfilippo decided to open source it, announcing the project on Hacker News. The project began to get traction, particularly among the Ruby community, with GitHub and Instagram being among the first companies adopting it https://redis.io/documentation ## Quickstart This is a quickstart guide of howto use this *LabInstance* ### Default Configuration - Working Directory > /home/docker/project - Default user > docker - Default password > docker - Default password4root > pass ### Default Configuration > > port 6379 > ### RUN INSTANCE Swarmlab services can be run in different ways. - You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html) - or use them individually at will on the **command line of your system** #### CLI > git clone ... > > cd [DIRECTORY] > #### help > > make help > #### create service > > make create > #### start service > > make start > #### stop service > > make stop > #### list service > > make list > #### clean service > > make clean >