|By Yeshim Deniz||
|August 15, 2014 09:00 PM EDT||
Using Docker For a Complex IoT Application
Aater Suleman, CEO & Co-Founder at Flux7, is an industry veteran in performance optimization on servers and distributed systems. He earned his PhD at the University of Texas at Austin, where he also currently teaches computer systems design and architecture. His current interests are in optimizing DevOps and reducing cloud costs.
In his @ThingsExpo presentation, Aaater Suleman will discuss DevOps, Linux containers, Docker in developing a complex Internet of Things application.
The goal of any DevOps solution is to optimize multiple processes in an organization. And success does not necessarily require that in executing the strategy everything needs to be automated to produce an effective plan. Yet, it is important that processes are put in place to handle a necessary list of items.
Flux7 is a consulting group with a focus on helping organizations build, maintain and optimize DevOps processes. The group has a wide view across DevOps challenges and benefits, including:
- The distinct challenge of a skills shortage in this area and how organizations are coping to meet demands with limited resources.
- The technical requirements: From stacks to scripts, and what works.
- The practical and political challenges: Beyond the stacks and the human element is a critical success factor in DevOps.
Recently at Flux7, we developed an end-to-end Internet of Things project that received sensor data to provide reports to service-provider end users. Our client asked us to support multiple service providers for his new business venture. We knew that rearchitecting the application to incorporate major changes would prove to be both time-consuming and expensive for our client. It also would have required a far more complicated, rigid and difficult-to-maintain codebase.
We had been exploring the potential of using Docker to set up Flux7's internal development environments, and, based on our findings, believed we could use it in order to avoid a major application rewrite. So, we decided to use Docker containers to provide quick, easy, and inexpensive multi-tenancy by creating isolated environments for running app tier multiple instances for each provider.
Aaater Suleman's article on his @ThingsExpo presentation topic was read by more than 8,000 times since it was published by IoT Journal.
What is Docker?
Docker provides a user-friendly layer on top of Linux Containers (LXCs). LXCs provide operating-system-level virtualization by limiting a process's resources. In addition to using the chroot command to change accessible directories for a given process, Docker effectively provides isolation of one group of processes from other files and system processes without the expense of running another operating system.
In the Beginning
The "single provider" version of our app had three components:
- Cassandra for data persistence, which we later use for generating each gateway's report.
- A Twisted TCP server listening at PORT 6000 for data ingestion from a provider's multiple gateways.
- A Flask app at PORT 80 serving as the admin panel for setting customizations and for viewing reports.
In the past, we'd used the following to launch the single-provider version of the app:
12: nohup python tcp_server.py & # For firing up the TCP server.nohup python flask_app.py & # For firing up the admin panel
Both code bases were hard coded inside the Cassandra KEYSPACE.
@ThingsExpo billboard on Highway 101 in Silicon Valley is viewed by 1.3 million motorists per week
3rd International Internet of @ThingsExpo will take place November 4-6, 2014 at the Santa Clara Convention Center, Santa Clara, California with over 100 major sponsors and exhibitors in 2014 and more than 6,000 delegates from 17 countries.
Internet of @ThingsExpo this week launched the premiere issue of its monthly newsletter which contains highlights of the hottest sessions and speakers from Internet of @ThingsExpo, speaking information as well as sponsorship opportunities.
Chris Matthieu Named Internet of @ThingsExpo Tech Chair
Internet of @ThingsExpo has announced today that Chris Matthieu has been named tech chair of Internet of @ThingsExpo 2014 Silicon Valley.
The 2nd Global Internet of @ThingsExpo will take place on November 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Chris Matthieu has two decades of telecom and web experience. He launched his Teleku cloud communications-as-a-service platform at eComm in 2010, which was acquired by Voxeo. Next he built an open source Node.JS PaaS called Nodester, which was acquired by AppFog. His new startup is Twelephone (http://twelephone.com). Leveraging HTML5 and WebRTC, Twelephone's BHAG (Big Hairy Audacious Goal) is to become the next generation telecom company running in the Web browser.
Tracks and topics for Internet of @ThingsExpo will include:
Consumer IoT & Wearables
- Smart Appliances
- Smart Cars
- Smartphones 2.0
- Smart Travel
- Personal Fitness
- Health Care
- Personalized Marketing
- Customized Shopping
- Personal Finance
- The Digital Divide
- Mobile Cash & Markets
- Games & the IoT
- The Future of Education
- Virtual Reality
- The Business Case for IoT
- Smart Grids
- Smart Cities
- Smart Transportation
- The Smart Home
- Wiring the IoT
- The Internet of Everything
- Digital Transformation of Enterprise IT
- Local & State Government
- Federal Government
- Eclipse Foundation
- Cloud Foundry
- Linux Containers
- Open Source Hardware
- AJAX and the IoT
- Leveraging SOA
- Multi-Cloud IoT
- Evolving Standards
- Security & Privacy Protocols
- GPS & Proximity Services
- Nest Labs
Internet of @ThingsExpo 2014 Silicon Valley "show prospectus" has shipped. Sponsorship, exhibit, and keynote opportunities can be obtained from Carmen Gonzalez by email at events (at) sys-con.com, or by phone 201 802-3021.
About SYS-CON Media & Events
SYS-CON Media (www.sys-con.com) has since 1994 been connecting technology companies and customers through a comprehensive content stream at www.sys-con.com - featuring over forty focused subject areas, from Cloud Computing to Web Security - interwoven with market-leading full-scale conferences produced by SYS-CON Events. The company's internationally recognized brands include among others Cloud Expo® (www.CloudComputingExpo.com), Big Data Expo (http://BigDataExpo.net), Virtualization Conference & Expo (www.VirtualizationConference.com), DevOps Summit (http://DevOpsSummit.sys-con.com), Internet of @ThingsExpo (http://www.ThingsExpo.com), SDDC Expo (http://SDDCExpo.sys-con.com), WebRTC Summit (http://WebRTCSummit.net), Government IT Conference & Expo (www.GovITExpo.com), Cloud Computing Bootcamp (www.CloudComputingBootcamp.com), and UlitzerLive! New Media Conference & Expo (http://events.sys-con.com).
Cloud Expo® is a registered trademark of Cloud Expo, Inc.
Jul. 24, 2016 04:45 AM EDT Reads: 1,966
Jul. 24, 2016 04:45 AM EDT Reads: 1,858
Jul. 24, 2016 04:30 AM EDT Reads: 1,459
Jul. 24, 2016 04:30 AM EDT Reads: 1,916
Jul. 24, 2016 04:00 AM EDT Reads: 1,796
Jul. 24, 2016 03:45 AM EDT Reads: 1,129
Jul. 24, 2016 02:45 AM EDT Reads: 874
Jul. 24, 2016 02:00 AM EDT Reads: 1,811
Jul. 24, 2016 01:30 AM EDT Reads: 1,121
Jul. 24, 2016 01:15 AM EDT Reads: 1,214
Jul. 24, 2016 01:15 AM EDT Reads: 867
Jul. 24, 2016 12:30 AM EDT Reads: 1,553
Jul. 23, 2016 11:45 PM EDT Reads: 1,213
Jul. 23, 2016 11:30 PM EDT Reads: 2,109
Jul. 23, 2016 11:30 PM EDT Reads: 836