All News | Chips | Boards | Devices | Android | Software | LinuxDevices.com Archive | About | Sponsors | Subscribe

Follow LinuxGizmos:

Twitter Facebook Google+ RSS feed

Compact webserver can host web apps on a Pi

Jun 12, 2013  |  Eric Brown

Real Time Logic announced an Linux-compatible embeddable webserver designed for supporting server-side web applications. Based on the Lua scripting language, Mako Server integrates technologies such as SQLite, SMTP, and HTTPS, and is said to be compact enough to host web services on a Raspberry Pi.

Mako Server “offers fast, efficient development of web applications, ranging from database-driven business applications to customized applications managing microcontroller-based devices,” says Real Time Logic. It’s available in commercial and free versions, with the latter targeting educational environments running on resource-constrained systems like the Linux-based Raspberry Pi. All components “have been optimized for robust, high-speed information exchange, even on underpowered computers,” says the company.

Designed to ease the deployment of web applications, Mako Server lets developers bundle their application into a single, downloadable zip file, says Real Time Logic. Mako Server is based on the company’s flagship Barracuda Application Server, but unlike Barracuda does not provide source code or development platforms.



Mako Server running 3 Lua web applications

 

The Mako Server software is said to be available as a binary executable for Windows, Mac, and Linux platforms, as well as other POSIX -based systems. The executable includes:

  • Mako Server startup code
  • Barracuda Embedded Application Server library
  • SQLite database
  • Lua Server Pages, enabling Lua script code to access lower level C functionality

The library offers components including:

  • REST, AJAX, SOAP, JSON, and XML services
  • SMTP client
  • Apache server
  • client and server SSL/TLS security
  • client HTTPS
  • WebDAV file exchange protocol
  • process management API

The Lua scripting language, which is similar to ASP or PHP server scripting technologies, comes with a server-side Lua API that be extended for managing custom solutions including custom hardware, says Real Time Logic. Developers can also use C/C++ to extend the server with new functionality by loading C libraries at runtime, says the company.

Additional Mako Server features include security and authorization logic, as well as a virtualized file system that that is said to ease the mapping of URLs to database queries. The product also supports HTML5 and WebSockets.

“Mako Server can respond with 45,000 dynamic page requests in the same time that Apache outputs 25,000 static pages — that’s a 60 percent faster response with more compute-intensive paging,” stated Wilfred Nilsen, CEO, Real Time Logic.



Two minute speed test on a Raspberry Pi
(click image to enlarge)

 

Mako Server is available now, and is offered free to hobbyists and educational institutions developing applications exclusively for non-commercial use. Single-user business licenses are available for $85, with deeply discounted multiuser licenses. More information may be found on this Mako Server product page.
 

(advertise here)


PLEASE COMMENT BELOW

Leave a Reply