Tuesday, April 24, 2018

Singapore ThoughtWorks Tech Radar

Less than a week ago, I was invited to attend ThoughtWorks Tech Radar, Singapore and debate and discuss on the latest technologies along with the other senior technologists.

It was an interesting session and enjoyed sharing my perspective on the latest technologies!

You can view Singapore radar from here  Your very own Tech Radar.

Thursday, April 19, 2018

Redis meetup, Singpaore

Few days back, I got a chance to attend Redis Meetup in Singapore, and it was an interesting session!

I thought, I could share some of my learnings from the session!

Major features:
  1. It’s a in-memory data structure - so you can expect more RAM if you want to store more data!
  2. It’s blazing fast!
  3. Easy and versatile
  4. No SQL
  5. Stores the data in key-value way
  6. Can be used as Cache buffer, Message broker, Pub/sub and in streams
  7. It’s a single threaded.
  8. Can be deployed in the “cluster” mode, scalable up to 1000 nodes!!
  9. It has self healing feature - if the master goes down, automatically slave node will become the master and align with the other nodes

It’s used in the WhatsApp, Twitter, Uber, Grab, Airbnb, Netflix and many more! - This is very interesting to me since I use most of these apps in my day-to-day life!

The only problem I heard is - It’s very difficult manage Redis Cluster and it doesn’t guarantee consistency!!

Quick start:

Installing in macOS:
  1. Download the latest stable version Redis 4.0.9 is the latest stable version.
  2. Extract the tar file
  3. Run "sudo make Install" from the root directory

Quick test:

item-ax30641:redis-4.0.9 kkolipaka$ redis-cli ping
item-ax30641:redis-4.0.9 kkolipaka$ redis-cli> set mykey helloworld
OK> get mykey




Monday, April 16, 2018

Adding "Available Software Sites" for your eclipse RCP

An Installable Unit can be augmented at generation time by writing a p2 advice file (p2.inf). The format of this file is java properties file containing key=value pairs. From Eclipse 3.5, touchpoint advice files can be placed:
  • In bundles (META-INF/p2.inf): The instructions are added to the installable unit for the bundle
  • In features (a p2.inf file co-located with the feature.xml): The instructions are added to the installable unit for the feature group
  • In products (a p2.inf file co-located with the .product file): The instructions are added to the root installable unit for that product.

I would like to add p2.inf file at the same level of the .product file and add the below content with the my software update site and eclipse Oxygen update site

Project Structure:

p2.inf content:

instructions.install = \    addRepository(location:http${#58}//my.com/standalone/update/stable/,name:my studio Stable Updates,type:0,enabled:true);\
    addRepository(location:http${#58}//my.com//standalone/update/stable/,my studio Stable Updates,type:1,enabled:true);\
    addRepository(location:http${#58}//download.eclipse.org/releases/oxygen,name:Eclipse Oxygen Update Site,type:0,enabled:false);\
    addRepository(location:http${#58}//download.eclipse.org/releases/oxygen,name:Eclipse Oxygen Update Site,type:1,enabled:false);