Tag Archives: Best Practices

Scala Trait and Mixin – Points to Remember

Trait can be viewed not only as interfaces in other languages, but also as classes with only parameterless constructor. Whenever there is some code in trait, the trait is called mixin. trait Alarm { def trigger(): String } In scala … Continue reading

Posted in Best Practices, Functional Programming, Scala | Tagged , , , , , , , , , , , , , | Leave a comment

Partition-Aware Data Loading in Spark SQL

Data loading, in Spark SQL, means loading data in memory/cache of Spark worker nodes. For which we use to write following code: val connectionProperties = new Properties() connectionProperties.put(“user”, “username”) connectionProperties.put(“password”, “password”) val jdbcDF = spark.read .jdbc(“jdbc:postgresql:dbserver”, “schema.table”, connectionProperties) In here we are … Continue reading

Posted in Scala, Spark | Tagged , , , | 2 Comments

And you thought you were doing Microservices

If you have been in the software industry for some time you would have heard things like. Yes we do Scrum but …we do not have timeboxed sprints. Yes, we write automated user acceptance tests but … as a part … Continue reading

Posted in Microservices, Scala | Tagged | 1 Comment

Expression Oriented Programming

In a conversation with one of the lead architects of a large publishing company, we were discussing around the coding standards and suddenly the term EOP brought the discussion to a standstill. Ok, just for a few seconds. Once I … Continue reading

Posted in Scala | Tagged | 3 Comments

Fundamentals of eXtreme Programming

The term Extreme Programming (XP) was coined by Kent Beck, in late 1990s.  The purpose behind inventing XP was to find a way to deliver high quality software, developed by small teams, and to keep up with the changing requirements of customer. … Continue reading

Posted in Agile, Best Practices | Tagged , , | 2 Comments

Best Practices for Moving to the Cloud

Recently there has been a lot of interest in cloud. There have been some major developments which have ignited the interest of many enterprises. It would not be late before enterprises start looking around and find that their competitors have … Continue reading

Posted in Cloud | Tagged , , , | Leave a comment