Tiny, embeddable Web server features optional database integration
Apr 26, 2004 — by LinuxDevices Staff — from the LinuxDevices Archive — viewsMcObject has announced the final beta release of an embeddable web server for Linux devices. eXtremeWS features a footprint under 30KB, low CPU consumption, support for devices without filesystems, and optional integration with McObject's eXtremeDB in-memory database. It targets industrial controllers, communications gear, consumer electronics, and other highly resource-constrained devices.
According to McObject CEO Steve Graves, eXtremeWS features a “content compiler” that encodes a directory of static HTML into a C source code file that can be compiled and linked in with the Web server, creating a fast in-memory Web server that does not need to access a filesystem in order to serve static pages.
Dynamic content is supported through standard CGI or in-process CGI “templates.” Graves said, “Under traditional CGI, each user request spawns a new process, slowing the system. [Our product enables] CGI procedures to run in-process, accessing the full request context without creating a new execution path for each browser connection.”
Additional features include sessions support with configurable timeouts, and rich configuration and build options such as single- or multi-threaded modes.
eXtremeWS is supplied as a library archive and source code, for developers who wish to integrated it with existing code or access its event loop. It also includes several reference designs for use with eXtremeDB, including an electronic programming guide for digital television, automatic weather station, preventive maintenance monitoring system, and high-availability device management.
More details, including a beta program application, can be found in the eXtremeWS area of McObject's Web site.
This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.