Luxun is a high-throughput, persistent, distributed, publish-subscribe messaging system tailored for big data collecting and analytics. I did an intensive performance test to Luxun these days, detailed reports can be found here, below is a list of findings:
Performance Benchmark - Luxun vs Apache Kafka
Luxun is a high-throughput, distributed, pub-sub messaging system tailored for big data collecting and analytics. Luxun is inspired by Apache Kafka, both have a similar architecture. In order to compare the performance of Luxun and Kafka, I did a round of performance testing, below are the testing results:
Nano Tutorial 5 - Hello Amazon Product Advertising API
This is the fifth tutorial of Nano tutorial series, in this tutorial, I will show you how to integrate Nano with Amazon Product Advertising API, if you are not familiar with this API, just have a quick review on its official site, basically, the Product Advertising API provides programmatic access to Amazon’s product selection and discovery functionality so that developers like you can advertise Amazon products to monetize your website. In this tutorial, I will show you how to add custom SOAP header which is required by the authentication of Amazon Product Advertising API.
Nano Tutorial 4 - Hello eBay Shopping
This is the fourth tutorial of Nano tutorial series, in this tutorial, I will show you how to integrate Nano with eBay Shopping Web Service, if you are not familiar with this service, just have a quick review on its official site, basically, eBay Shopping service allows you to search for eBay items, products and reviews, user info, and popular items and searches. In previous tutorials, I showed you how to integrate Nano with SOAP based services, while in this tutorial, I will show you how to interate Nano with XML based service, the eBay Shopping service just supports XML message format.
The source of this tutorial is here.
Nano Tutorial 3 - Hello eBay Finding
This is the third tutorial of Nano Tutorial Series, in first and second tutorials, I showed you how to use Nano with simple services, these services only support one or two calls, the request/response structures are fairly simple, supporting these simple services only can’t show the full power of Nano, so in this and later tutorials, I will show you how to use Nano with industrial grade services, let’s start with eBay Finding service, please review its official site if you are not familiar with this service, basically, it lets you search items on eBay. eBay Finding service supports SOAP 1.2, so I will also show you how to configure Nano to support SOAP 1.2 protocol, also I will show how to set service required HTTP headers on Nano client.
The source of this tutorial is here.
Nano Tutorial 2 - a BarCode Generator Sample
This is the second tutorial of Nano Tutorial series, in the first tutorial, I showed how to use Nano with a service called Number Conversion from data access worldwide. Number conversion is a simple service, its request/response structures are quite simple. Today I will show you how to use Pico with a more complex service called Barcode Generator from webserviceX.NET, barcode generator service has a more complex request/response structures, it will return encoded binary image data in the response.
Nano Tutorial 1 - a Number Conversion Sample
This is the first post of Nano Tutorial Series, in this post, I will show you how easy to use Nano framework to put WSDL driven application development on Android platform into practice. If this is the first time you get to know Nano, then after this tutorial, you will basically understand what Nano can do for you, and the basic development process when using Nano to carry out WSDL driven development on Android. If you want to see the big picture, please read this post first.
The whole source of this demo is here.
WSDL driven development using Nano framework has following steps:
- Generate Java proxy from WSDL
- Create new Android project, add Nano runtime and generated proxy into your project
- Implement appliction logic and UI, call proxy to invoke web service as needed.
Let me cut to the point and show you each step using a simple Number Conversion web serivce from Data Access Worldwide.
WSDL Driven Development on Android - the Big Picture
WSDL driven development is a popular and mature development methodology on platforms like Java and .Net, tools like Axis, CXF, JAX-WS, WCF are leveraged by many developers for rapid web service development. With WSDL as interface contract, both server side and client side proxies can be automatically generated from WSDL, developer can work with plain old interfaces/objects directly, no need to worry about low level SOAP/XML serialization/deserialization and service invocation details(which are very tedious and error-prone), this kind of model driven development(or meta-data driven development) can not only dramatically reduce initial development cost, but reduce long term maintenance cost.
Luxun Quick Start
Step 0 : Prerequisite
To use Luxun, you need to have JDK 1.6 or above installed on your operating system, and Luxun supports Windows and Linux operation systems.
Pico and Ebay Trading Api Integration How To
I’ve written a series of tutorials showing to put wsdl driven development into practice on iOS platform using Pico framework. In tutorial 3 and tutorial 4 I showed how to integrate Pico with eBay Finding and Shopping API. This post is about Pico integration with eBay Trading API - the most heavy-weight and feature rich API from eBay, I am not going to write another tutorial for eBay Trading API integration, since the flow is quite smiliar to that already elaborated in tutorial 3 and 4, instead, I will dump a few comments here to give you some guide in case you want to integrate eBay Trading API on iOS device using Pico framework.