Tuesday, March 19, 2013

ChTest is out

Writing automated tests for Coherence based application is quite challenging. Definitely, you can start single node cluster in your test JVM without too much hassle. Unfortunately, single node cluster will not allow you to replicate some important aspects of cluster (a thus, test wont be able to catch a number of nasty bugs).

Running Coherence cluster with several nodes is a bit trickier (Coherence is using singletons). Idea to use classloader to keep multiple Coherence nodes is not new. I’m using this approach for few years already, and …
Today I’m glad to announce availability of my test library for Coherence at Maven central repo.

ChTest is a third generation of my test framework for Oracle Coherence. Besides ability to run multiple Coherence nodes in different classloader, ChTest offers a bunch of extra features.
To name few:

  • System property isolation between “virtualized” nodes.
  • Console output of each “virtualized” node is prefixed by its name (helps to make sense out of logs).
  • Very convenient way to execute code in “virtualized” node context.
  • Option to start “virtualized” node as separate JVM (JVM start option could also be configured).
  • Coherence MBeans could be enabled in “virtualized” node; they will be exposed in separate domains and accessible via JConsole or VisualVM.
  • Specific classes could be shared between classloaders (useful to use static variable to share state between nodes).
  • Classpath could be tweaked per “virtualized” node (e.i. exclude some jar from cluster nodes).
  • Coherence “node” crash simulation (I’m using it to test disaster recover cases).
  • Utility to choose Coherence jar per “virtualized” node.
  • ... and this list is not full ?

    Below is slide deck outlining features of ChTest.

    Add following Maven dependency and you would be able to try ChTest yourself.


    Thursday, March 14, 2013

    Coherence user meet up in Moscow

    First meet up of Oracle Coherence users in Moscow was held on 14 Mar.

    Many thanks to Gene Gleyzer (Oracle), who was key speaker on this event (joining us remotely).

    Below are slides from event:

    Tuesday, March 12, 2013

    Upcomming tech meetups in Moscow

    Here is announcing of upcoming tech meetups in Moscow.
    Уже больше года я занимаюсь организацией встреч посвящённых IT тематике. Отрадно видеть, что и мест готовых предоставить нам крышу, так и докладчиков, становится больше.
    Ниже список ближайших запланированных встреч.

    • Март 14 – Встреча пользователей Oracle Coherence – один из создателей Coherence удалённо выступит для нас с докладом.
    • Март 28 – И снова деплоймент – обсудим проблему на примере развёртывания OpenStack.
    • Апрель 18 – Магия виртуальных машин – Python, Erlang, Ruby, JavaScript  - что мы знаем про виртуальные машины для этих языков?
    • Май 16 – Сборка мусора в Java - возвращаемся к вечной теме, как изменилось положение дел за последний год? Так же будет организована видео трансляция. Дата предварительная.

    Так же, приглашаю вас, присоединится к нашей группе на meetup.com