title: Behavior of WL.server.createEventSource on a Worklight Cluster Environment
body: <p>Let's assume I have a cluster of 2 worklight servers sharing the same WL runtime.</p>
  
  <p>On that runtime, I've installed a application with a adapter that is a create event source function.</p>
  
  <p>Just like this IBM article.
  <a href="https://www.ibm.com/developerworks/community/blogs/worklight/entry/configuring_a_polling_event_source_to_send_push_notifications?lang=en" rel="nofollow">https://www.ibm.com/developerworks/community/blogs/worklight/entry/configuring_a_polling_event_source_to_send_push_notifications?lang=en</a></p>
  
  <p>My question is, what will happen on a cluster environment.
  Will repeated work ensue?
  By other words, would my two WL Servers will be pooling for events? </p>
  
  <p>Or perhaps that functionality is writing a task on the WL DB that the WL Servers poll regularly to check for work if no instance is taking care of it, so that only a server at a time would be "the event source"? </p>
  
  <p>I'm working with IBM Worklight 6.2 and Websphere Liberty Profile 8.5.5</p>
  
  <p>Thanks in advance!</p>