EBay launches Web query language

EBay's ql.io can simplify the process of querying a Web service for data, an eBay developer said

In the hopes of reducing the complexity of making data calls over the Web, eBay has launched a programming language, called ql.io, which bundles separate API requests into a single call.

"ql.io can reduce the number of lines of code required to call multiple HTTP APIs while simultaneously bringing down network latency and bandwidth usage in certain use cases," wrote Subbu Allamaraju, an eBay developer who led the effort to build ql.io, in a blog posting announcing the new language.

With its release, ql.io has joined the growing rank of software developed by large Web service providers that have been released for others to use and refine, including Twitter's Storm data stream analysis tool, LiveJournal's memecached data caching software, Facebook's Scribe log aggregation tool, and Google's SPDY HTTP replacement.

For Web site and Web application developers, writing code to pull data from over the network can be a laborious process, Allamaraju stated in an earlier blog post, entitled "APIs are a Pain."

As an example, he showed how a client program that needs product data listed on a e-commerce site will have to make three separate API (application programming interface) calls: one for executing the product search, one to fetch the details of the product, and one to fetch the user reviews. Writing these multiple APIs is a tedious process for the developer, and the multiple calls they generate unnecessarily taxes bandwidth and processing power, Allamaraju said.

ql.io offers a way for developers to aggregate all these requests into a single request, and have the Web server parse the request and send back the results in a single bundle.

A declarative event-driven language, ql.io is loosely based on both the SQL database query language, as well as the JSON (JavaScript Object Notation) data interchange format. To process the scripts, ql.io uses the node.js JavaScript interpreter on the server.

Allamaraju posted the source code for the language -- which is licensed under Apache License 2.0 -- on GitHub online code repository, and placed some examples of how the language could be used on the newly created ql.io site.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the PC World newsletter!

Error: Please check your email address.

Tags application developmentLanguages and standardsebaysoftware

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?