Author Archives: Piyush Mishra

KnolX Session: Testing Akka Actors Using TestKit


In the presentation which is the part of our ongoing Knolx session, we discussed about how to test Akka actors using Testkit. By using testkit we can test Actor’s behaviour, apply time assertions on actor’s reply and we can also … Continue reading

Posted in Agile, AJAX, Architecture, Cloud, Scala, Web | Leave a comment

ElasticSearch: How to index data in bulk in elasticsearch with scala using java Bulk API.


Elasticsearch is an open-source, restful, distributed, search engine built on top of apache-lucene.In this post, we will learn to use elasticsearch java api in Scala to index data using BulkRequest. we will begin with adding dependency of elasticsearch in the … Continue reading

Posted in Web | Leave a comment

Akka Futures and Akka Remoting


In this presentation which is a part of our ongoing knolX session, i talked about  Akka Futures, how to compose them using  for comprehensions. Since Future is a monad,  I also illustrated how to apply methods like map, flatmap  on … Continue reading

Posted in Web | Leave a comment

Specs2


Posted in Web | Leave a comment

Knolx Session: Implicit Conversions and Parameters


This session was presented at Knolx Session at Knoldus. I introduced implicit conversions and parameters in scala. Implicit conversion allows us to fix type errors and allows us to define new methods on existing library. Here is the presentation

Posted in Scala | Tagged , | Leave a comment

Introducing inheritance and traits in scala


We believe in experiential learning. This knolx session has code examples which Knolders tried while I was explaining it. The objective was to  the to introduce Inheritance and Traits. in this presentation i told about  mixin composition of traits into classes … Continue reading

Posted in Web | Tagged | 1 Comment