Tuesday, 14 August 2018
Hotrod clients C++ and C# 8.3.0.Beta1 are out!
Dear Infinispanners,
The C++ and C# 8.3.0.Beta1 releases are available!
Main feature for this release is: transactions. Clients can now run sequence of hotrod operations in a transactional way. Basic methods are provided to begin, commit or rollback a transaction over an hotrod connection (hotrod 2.7 and Infinispan 9.3+ are required). API are quite easy to use:
Source code, binaries and docs are at the usual place. Thank you for following us! The Infinispan Team
Release notes [2] https://github.com/infinispan/cpp-client/tree/8.3.0.Beta1[C code for 8.3.0.Beta1] [2#] C# code for 8.3.0.Beta1
Tags: beta c++ release c#
Thursday, 15 February 2018
Hotrod clients C++/C# 8.2.0.Beta1 are out!
Dear Infinispanners, C++ and C# 8.2.0.Beta1 releases are available!
These releases contain all the 8.2.0 features.
Worth a mention is the improvement in the remote execution API: we moved the JBossMarshaller basic implementation from test to the distro in order to simplify the data management on the application side. Test examples
and
have been updated accordingly.
Next step will be a CR release containing improvements on API docs (doxygen)
Check the release notes, browse the source code (C++, C#) or download the releases!
Cheers, The Infinispan Team
Tags: beta c++ release minor release c#
Monday, 20 November 2017
Hotrod clients C++/C# 8.2.0.Alpha2 are out!
Dear Infinispanners,
we’re pleased to announce the C++ and C# 8.2.0.Alpha2 releases.
Code for continuous queries (CQ) and SASL is almost complete. Worth mentioning improvements for Alpha2 are:
-
added xunit framework for build verification testing (googletest)
-
CQ for C#
-
EXTERNAL mech for SASL on windows (C++ and C#)
-
more bugs resolved than added :)
Check the release notes, browse the source code (C++, C#) or just download and try it! Cheers, The Infinispan Team
Tags: c++ release minor release alpha c#
Thursday, 29 June 2017
Hotrod clients C++/C# 8.2.0.Alpha1 released!
Dear Infinispanners,
we’re pleased to announce the C++ and C# 8.2.0.Alpha1 release.
This is the first step on the 8.2 roadmap, which is not formally defined in a Jira at the moment but will surely include: SASL authentication, continuous queries, cluster counters.
In this release you can try and enjoy an Alpha version of the SASL authentication, sample code is here (C++, C#). Tell us what you think!
Check the release notes, browse the source code (C++, C#) or just download an try it!
Cheers, The Infinispan Team
Tags: c++ release minor release alpha c#
Monday, 29 May 2017
Hotrod clients C++/C# 8.1.1.Final released!
Dear Infinispanners,
we’re pleased to announce that 8.1.1.Final release for C++/C# clients is out!
Check the release notes and browse the source code, effort this time has been put in reducing code complexity.
This is the first release built by our new CI Jenkins environment, this is supposed to not affect the binaries but if you feel that something has gone wrong please fill a jira issue.
Enjoy and thanks for reading!
The Infinispan Team
Tags: c++ release minor release final cpp-client dotnet-client c#
Friday, 17 March 2017
Event Listener with C++
Dear Infinispan community,
as announced in a previous post, starting from version 8.1.0 also the C++/C# clients can receive and process Infinispan events.
Here’s an example of usage of C++ event listeners that, with a good dose of imagination, pretends to be a customer behavior tracking system for our store chain (don’t take this too seriously, we’re just trying to add some fiction).
As a first requirement our tracking system will record every single purchase made in our stores. How many stores we have? 1, 100, millions? It doesn’t matter: we’re backed with an Infinispan data grid. This is version 0.x and hence the checker must use the keyboard to enter all the needed information.
As you can see our entry key is a concatenation of the product name and the timestamp and the entry value is an unstructured string, maybe too simply but it could work for now. Seems we are at a good point: we have the data and we can do analytics on it, so far so good but now our boss makes a new request: he wants a runtime monitor on how’s the sales performance. That’s a perfect request to be fulfilled with event listener: the monitor application will be an Hotrod C++ client that registers a client listener on the server and receives and show on the boss’s laptop the data flow. A client listener, once registered on the server, can receive events related to: creation, modification, deletion, expiration of cache entries; in our example only the creation and expiration events are processed (expired events can be useful to do some moving average statistics?). Following a snip of code that creates and registers a listener that writes the events key on the stdout.
You can git this quickstart here [1]. On startup a multiple choice menu is shown with all the available operations. Running several instances you can act as the checker (data entry) or the boss (installing the listener and seeing the events flow).
Filters
Again so far so good, but then the marketing department ask support to do targeted advertising like: soliciting customers that bought product Y to buy product X. Let’s suppose that X="harmonica" and Y="hiking boots" (it’s a well known fact of life that in the high mountains you feel the desire to play an harmonica).
To do that we register on the server another listener, but this time we’re not interested in the whole flow of purchase data: to run our marketing campaign, we only interested in cache entries having the key starting with "hiking". The Infinispan server can filter out events for us, if we pass in the AddClientListener operation the name of the wanted filter along with any configuration arguments.
Filter are java classes that must be deployed into the Infinispan server (more here [2])
and converters
Predefined events contain very few information: basically the event type and the entry key, this to prevent to flood the network spreading around very long entry values. Users can override this limitation using a converter, that is a java class deployed into the server, that can create custom events containing every data needed by the application.
As in the previous case, we pass into the add operation the name of the converter and the configuration arguments, any.
That’s all guys, let us know your feedback: do you like it? Could be better? Tell us how it can be improved creating an issue [3], or fork and improve it yourself [4]!
Thanks for reading and enjoy! The Infinispan Team
Tags: c++ example quick start remote events
Wednesday, 15 March 2017
Hotrod clients C++/C# 8.1.0.CR2 released!
Dears,
we’re pleased to announce that 8.1.0.CR2 release for C++/C# clients is out!
Check the release notes, focus was on bug fixes this round so you have the opportunity to download the cleanest code so far!
Spring cleaning will continue in the next release iteration, stay tuned and, if you like, take part signalling new issues here!
Enjoy!
The Infinispan Team
Tags: c++ release c# release candidate
Wednesday, 08 February 2017
Hotrod clients C++/C# 8.1.0.CR1 released!
Dears,
we’re pleased to announce that 8.1.0.CR1 release for C++/C# clients is out! Downloading the code you’ll find these changes (and may more):
-
C++11 instead of the old portable custom classes
-
less bugs
-
more safety through TLS client authentication
We’re getting closer to a final release, more updates on what’s going on here:
Enjoy!
Tags: c++ release c# release candidate
Wednesday, 04 January 2017
Hotrod clients C++/C# 8.1.0.Beta1 released!
New Year, New (Beta) Clients!
I’m pleased to announce that the C++/C# clients version 8.1.0.Beta1 are out! The big news in this release is:
-
Near Caching Support
Find the bits in the usual place: http://infinispan.org/hotrod-clients/
Features list for 8.1 is almost done… not bad :) Feedbacks, proposals, hints and lines of code are welcome!
Happy New Year, The Infinispan Team
Tags: c++ release hotrod 8.1.0 cpp-client dotnet-client c#
Friday, 11 November 2016
Hotrod clients C++/C# 8.1.0.Alpha2 released!
Dear Infinispan community,
I’m pleased to announce that the C++/C# clients version 8.1.0.Alpha2 are out!
Some of the good news coming with this release:
-
more bugs fixed than added
-
SNI support
-
C++ Client listener for remote events
Download it from the usual link http://infinispan.org/hotrod-clients/
We’re trying to keep track of the 8.1 trip at this Jira url: Features list for 8.1 Feedbacks, proposals, hints are welcome!
Cheers, The Infinispan Team
Tags: c++ release hotrod cpp-client dotnet-client c#