Nimrod's Tech Blog » Scala

Nimrod's Tech Blog

Things I've encountered while writing code/doing geek stuff
Feb 11
Feb 11

Most effective way to promote GitHub repo’s and Open Source projects

  Writing amazing code, adding a lovely super friendly Wiki, invest huge amount of time in the project ReadMe (so in 2 minutes users can get your lib up&running)   super motivated you push it to GitHub and…. no one uses it   a while ago I was looking for a simple way to resize […]

Share Button
  Read more
Feb 0
Feb 0

Dead Simple Feature Toggle

Sometimes you need a feature toggle in a rush … or just dont want to invest time in adding a feature toggle framework… This thought came to me while I was working on some bot and had to protect myself with a feature toggle, problem was the bot was written with micro services, some in […]

Share Button
  Read more
Jan 10
Jan 10

Gatling – Scaling Out Your Load Tests

Scaling out your load tests using Gatling, Packer, and a cloud provider (in this example we will use DigitalOcean and Amazon EC2. *This post assumes that you know what Gatling is all about and need to scale your existing scenario to run from several machines / from different networks. *want to try this out? use […]

Share Button
  Read more
Jul 9
Jul 9

Scala Map Merge

Need to merge multiple maps by their keys and make manipulation on the values?  this post is probably for you! Why ? previous experience with map reduce, many times data collected was in a Map structure, found myself repeatedly summing/appending/listing/manipulating maps   Assuming we have 2 maps with names of people as the key and the […]

Share Button
  Read more
Jun 13
Jun 13

Build # in app version

Motivation:  in continues deployment there is some sense indicating build number in the app version. not just GIT hash (nobody knows the meaning of …) In this example: we will use sbt + docker plugin. after understanding the idea you can achieve this in many different methods. Basically we need to pass build# into our app, the […]

Share Button
  Read more