Quantcast
Channel: Sleepless Dev
Browsing all 217 articles
Browse latest View live

How to add Java JSON support without having 200 DTO objects or more...

If you have 75 annotations in a Java class and 25 more in the REST handler to do JSON than you are doing it wrong. If you have 500 DTO objects to manage every use case or every view then you are using...

View Article


Computer Club for 4th and 5th graders: Year 2

Computer Club for 4th and 5th graders: Preparing our youth for tomorrow should include some basic instruction in computer programming.In our day and age, knowledge of how a computer works and the logic...

View Article


Image may be NSFW.
Clik here to view.

InfoQ article on Groovy JSON and Boon.

"Groovy 2.3 will ship with one of the fastest JSON parsers on the JVM, according to Rick Hightower, the ubiquitous consultant and author. In his article on JSON serialization benchmarks, Hightower...

View Article

Boon 2x faster than Jackson at InputStream and not using index overlay

Boon non-index overlay mode using inputstream4 minutes ago by Richard HightowerThis is with InputStream. According to Tatu comments InputStream is a use case that Boon could not compete in because boon...

View Article

Image may be NSFW.
Clik here to view.

FUD: GSON 100x faster than Jackson and Boon with code examples

Boon's Index overlay by design does not hash the keys.Boon only works on JDK 1.7 and above. JDK 1.7 above can block this attack.This is 100% and complete FUD for so many reason.This is in response to...

View Article


notes on techempower client / server setting

For example, in the recent past I used autobench/httperf and remember setting the tcp_tw_recycle to true, but I was pounding from many servers and trying to get 100K to 200K clients per second.I was...

View Article

Installing wrk on OSX

Go to app store and install OSX developer tools, i.e., Xcode.Ensure that you have the xcode command line tools installed.xcode-select --install Install brew see instructions at: http://brew.sh/ (Very...

View Article

Installing wrk on Linux

No package yet. You may need to upgrade and update.wrk needs openssl dev package and gcc/dev stack.What follows is brief instructions on how to install wrk on Linux.Ubuntu/Debian (clean box)sudo...

View Article


Gluten Intolerance unless you have Celiacs disease is probably bullshit

There are people who want your money, and they will sell you whatever bullshit that you are willing to buy.Gluten Intolerance May Not Exist (from the same guy who "discovered it").If you are gluten...

View Article


QBIT 15x faster than LinkedBlockingQueue, supports multi-writers and...

I have been working on QBit. QBit is (or will be) a simple queuing lib. There are some techniques in QBit that I have used with great success in anger and in production. Honestly, I am quite sick of...

View Article

How do I amend an object that is stored in DataRepo? (Boon)

From issue https://github.com/RichardHightower/boon/issues/224 (which is fixed in boon in git but not released)Can I just change it's properties or should I call one of the update/modify methods...

View Article

Added pretty print JSON to Boon

puts(Maps.asPrettyJsonString(map)); puts(Boon.toPrettyJson(map));Boon.toPrettyJson works with Set, Map, instances,...

View Article

Boon JSON: Custom object serializer now works with super classes, and...

related tohttps://github.com/RichardHightower/boon/issues/242https://github.com/RichardHightower/boon/issues/231Boon JSON: Custom object serializer works with super classes, and interfaces (and example...

View Article


Boon etcd is a Java client for etcd.

Boon etcd is a Java client for etcd.https://github.com/boonproject/boon/blob/master/etcd/README.mdWhat is etcd?etcd is a highly-available key value store for shared configuration and service...

View Article

Image may be NSFW.
Clik here to view.

More details on GSON 100x faster than Jackson and Boon (for Hash Collision...

For Boon the hash collision would be a very rare occurrence which I explain below. And what is rare in Boon 0.17 should be impossible for Boon 0.18 for the standard JSON parser that comes with Boon....

View Article


Image may be NSFW.
Clik here to view.

QBit Queue speed 200M messages

QBit Queue speed 200M messagesDoing some perf benchmarks so I know when refactors make performance better or worse.Learn more about QBIT[Detailed Tutorial] QBit microservice example[Doc] Queue...

View Article

Working with strongly typed event bus proxies for QBit Java Microservice lib

This example extends these example on the QBit event bus: Rough Cut: Working with event bus for QBit the microservice engine, Rough Cut: Working with private event bus for inproc microservices.Learn...

View Article


Working with System Manager for QBit Mircoservice lib

The name system event manager sounds scary. It seems like this might be a container or something. It is not.(This also lives in the QBIt wiki here: [Rough Cut] Working with System Manager for QBit...

View Article

Delivering up Single Page Applications from QBit Java Microservice lib (JSON,...

Delivering up Single Page Applications from QBit Java/JSON/HTTP/WebSocket Microservice lib QBit can server up non-JSON resources. The QBit lib allows you to bind objects to HTTP ports so that they can...

View Article

Using the QBit microservice lib with Async Servlets

You can now use QBit inside of any servlet engine. QBit supports Servlet Async API (early) as well as Vertx. You can run QBit standalone with Vertx (and soon Jetty) or you can embed QBit inside of any...

View Article
Browsing all 217 articles
Browse latest View live