Posts

Stubbing Netflix OSS Eureka for local development of microservices

Image
Why we need to stub all other microservices when developing a microservice First, I will go with examples. Here is why we need stubbing with microservices. When we develop a micro-service, there may be around 20 other dependent micro-service. If you follow micro-service architecture properly then for large projects, you will definitely face this issue. That is why you read this post. Without using stubbing, when developing a single micro-service you have to setup the developing micro-service, IDE and run the micro-service in debug mode. Beside, you will not be able to properly run the development micro-service because you will be needing Zuul, Eureka to be run on local as well as all other dependent microservices (around 20 other microservices). What do you think ... My latest laptop got 8 cores CPU, 16GB RAM and it took 99.5% of both of them. And you cannot work on any other. Temporary solution would be to hard code the development micro-service to have all the depende

SSH and Internet connection sharing over crossover ethernet cable from OS X (Mac) to Raspberry PI (model B)

Image
These days I am testing a Raspberry PI (model B) with 3.5" TFT LCD screen.  Since I have another Rasp. PI (model B+) to be setup and to remember these steps I wrote this with the thinking that any other person can also use this info. But I have only USB mobile broadband stick (dongle) and crossover Ethernet cable. So, I must connect to Raspberry PI via SSH (VNC) and I need Internet connection to the Rasp. PI as well. Since I have no Internet connection to Rasp. PI initially I cannot install anything on Rasp. PI in order to make VNC, apt-get update and install other necessary software. So, Finally I got through and now I have VNC with shared Internet connection over Ethernet cable from OS X. This is what I wanted at the end. Rasp. PI VNC view with Internet Rasp. PI setup: Rasp. PI with crossover Ethernet cable Though I share Internet connection of mobile broadband to Wi-fi (bridge0 has en1 as a member), in this document I am not using shared Wi-fi connec

marketing through marketing and non-marketing materials for small and medium organizations

The problem I faced, I'm going to tell it by 3 short paragraphs, background, problem and solution. One month ago I was doing web app for developers. While I was developing that tool, I was thinking how to market this app to get more traffic and ways to monetise this app. In my mind I developed a business model and strategy to market the service (the web app). But in my mind, I was thinking about the budget that I can allocate to the marketing, the potential users, revenue that I can get, the risk involved in what if goes for a failure, the ways that I can recover???, etc. Hmm, Simply, the thing is that I'm doing is finding ways to get more users, to my product/service. And the problem is to get the presence in front of developers in order to get to know my app and use for their development. In current scenario, all the people got used to search  the information on Google, Bing, Ask, etc. So, I have to get onto the listing on those as well. And I have to use some direct and

Install Flash player on Ubuntu 12.04

Do you have any problem with installing Flash player on Ubuntu 12.04 1st step: sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" 2nd step: sudo apt-get update && sudo apt-get install flashplugin-installer acroread sometimes you may need to install ubuntu restricted-extras (if above 2 steps don't show flash content properly on your browser on Ubuntu, then install restricted-extras & see: sudo apt-get install ubuntu-restricted-extras) original source: here I think, this has helped you :) 

Flash CS5 AS3 XML delete node

Flash CS5 AS3 remove node through XML object does not exist, therefore all you have to do is just skip & do it through this way: http://zandadev.com/atom/?p=56&cpage=1#comment-72 Elas, take the revenge from AS3

Sbt (Scala) with Spring, Hibernate & Vaadin

Though it is said that it is not recommended to use sbt & Spring,Hibernate to build Scala based projects, I have done a little testing application with all those technologies. And later I extended it to use Vaadin also. And I'm not interested in telling all the techneques by line by line. I assume that you'll have some basic knowledge on sbt, scala, & vaadin and average level in Spring & Hibernate, Java. And you must first be sure that you have installed apache maven, Scala compiler , Sbt & mysql(other intellij idea). I have used to build these 2 projects Intellij Idea. you can run these in command prompt(or terminal) & see. Run Hibernatejava using "mvn clean install" & HibernateScala using "sbt update", then "sbt" then "jetty". Before running for Hibernatejava example you need not create a database, but for HibernateScala you have to create a database named "hibernate_test" using mysql. (And I'm not