Monday, March 23, 2015

3-23-15

Working on examples and reading posts Rick's blog.



reread worker pools and sharded workers 




working on the rest server with URI param example a simple issue came up  

some info on Spring boot 

working on the spring boot example.




----------------------------------------------------------

Simple rest server  with URI params example, when i run it i get a lot of unnecessary outputs on the console, trying to fix it.


http://rick-hightower.blogspot.com/
Some services are CPU intensive ones and you tend to want to shard them to utilize all of your CPU cores (Sharded workers). Some services need to talk to other services on the other side of a bus (Kafka, WebSocket) or REST, or perhaps talk to a database, these IO services tend to want to be pooled (worker pool). QBit supports all of these models and in fact provides an interface so you can decide how to dispatch to a service.

Spring boot

a tool to get started with soring very quickly

exposes a lot of useful features by default

focuses attention at a single point as oppsed to a large collection of spring projects


for example a spring MVC app needs a servlet container; Spring Boot automatically configures embedded Tomcat.


Got Jetty? If so, you probably do NOT want Tomcat, but instead embedded Jetty. Spring Boot handles that for you.


Got Thymeleaf? There are a few beans that must always be added to your application context; Spring Boot adds them for you.

No comments:

Post a Comment