An Event-ful Internship at Solace
Tags: solace, eventdrive, internship
Published: 2020-01-06 19:39:23

---
title: An Event-ful Internship at Solace
published: true
date: 2019-12-11 00:27:37 UTC
tags: solace,event drive,internship
canonical_url: https://solace.com/blog/event-ful-internship-solace/
---
***This was originally posted on Solace's blog by Rajiv Abraham Xavier, an intern in our Singapore office. If you're interested in career opportunities at Solace, please visit our [Careers page](https://solace.com/careers/).***

![Further thoughts on FPGA co-processing and performance](https://solace.com/wp-content/uploads/2019/08/solace-default-blog-thumbnail-600x285.jpg)

It has been an eventful summer for me at Solace as a pre-sales intern. As an Information Systems undergraduate, majoring in Smart City Management and Technology at Singapore Management University, I heard about some of the ways Solace has been involved in making Singapore smarter and more event driven. I was excited to learn and be part of the team at Solace.

Coming into Solace, I had very little understanding as to messaging, event brokers, and events as a whole. However, thanks to the Solace [development](https://www.udemy.com/course/fundamentals-of-solace-development/) and [administration](https://www.udemy.com/course/fundamentals-of-solace-administration/) courses available on Udemy, I was able to quickly pick up a basic understanding about messaging and the event-driven solutions provided by Solace. Often as an intern, you may feel apprehensive about asking others in the team for help or clarification, as you may feel like you are disturbing their work. In retrospect, this was something I did not encounter at Solace as the team was always willing to help in whatever way they could. They constantly took the time to walk us through our queries and checked in regularly to ensure that we were not lost and were still sufficiently challenged to explore on our own as well.

## Creating a Central Data Exchange

One of the main tasks that was assigned to my fellow intern Giem Teck and I was to understand, scope, design, and build a smart data exchange prototype that can be used to demonstrate the concepts of the event-driven exchange of information. The main challenge in this project was to showcase the abilities of Solace to provide a central data exchange that can be utilised by other users (“agencies”) to share, monitor, and consume data.

An example use case, in the context of a smart city, is the exchange of data between different government agencies. Those agencies can share the data that they collect via the central exchange in real time (e.g., CCTV footage, sensor data) and can further utilise the data that other agencies shared with them. A machine learning or analytics application can also be subscribed to the events being published by the agencies.  
[![An example use case - Solace](https://solace.com/wp-content/uploads/2019/11/eventful-internship_1.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_1.jpg)

Through brainstorming and whiteboarding sessions with our supervisor – Phil, and further discussions with other members of the team, we came up with a front-facing JavaScript Web application that utilises the [Solace JavaScript API](https://solace.com/downloads/) and various Solace Element Management Protocol (SEMP) API calls to create bridges between the central exchange broker and the agency broker.  
[![Solace Element Management Protocol (SEMP) API](https://solace.com/wp-content/uploads/2019/11/eventful-internship_2.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_2.jpg)

This allows agencies to view event streams available to them from other agencies, as well as to publish events that can be accessed by other agencies. The access control of this publishing and subscribing is centrally managed via Access Control Lists on the central exchange broker.  
[![My Event-ful Internship at Solace](https://solace.com/wp-content/uploads/2019/11/eventful-internship_3-scaled.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_3-scaled.jpg)  
[![Access Control Lists](https://solace.com/wp-content/uploads/2019/11/eventful-internship_4-scaled.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_4-scaled.jpg)

The administrator of the central exchange broker also has the flexibility to accept or deny requests from the existing agency brokers to publish new events to the central broker. The administrator can also use registration details provided by the agencies, who wish to connect to the central brokers to establish bridges through the user interface. All this creation of new ACL topic allowance and bridge connections are executed on the backend via a SEMP API call.  
[![SEMP API call](https://solace.com/wp-content/uploads/2019/11/eventful-internship_5-scaled.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_5-scaled.jpg)  
[![SEMP API call](https://solace.com/wp-content/uploads/2019/11/eventful-internship_6-scaled.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_6-scaled.jpg)

## What I Have Learned

As a student majoring in Smart City Technologies, I feel the idea of a central data exchange is truly eye opening. Through the use of Solace’s advanced event brokers, cities, governments, and even businesses can now share data in real time between different agencies. A central hub helps agencies to easily view the events that are available to them and also offers them the freedom to use these events in their own analytics and visualisation applications to fit their own business needs.  
[![use of Solace’s advanced event brokers](https://solace.com/wp-content/uploads/2019/11/eventful-internship_7.jpg)](https://solace.com/wp-content/uploads/2019/11/eventful-internship_7.jpg)

For example, as seen in the image above, a machine learning application can take in raw traffic camera footage from the Land Transport agency. The model can then generate description tags about the footage that can be used to trigger events, such as start of fire, which other agencies like fire and rescue departments can subscribed to.

## Final thoughts

I have learned a lot in my time at Solace. As someone who came in with almost no understanding about messaging and event-driven architecture, to be able to whiteboard and come up with [this prototype](https://sg.solace.com/eventxchange/login.html) was no easy task. However, with the help of my friendly and talented colleagues and the start-up guides written by the Solace community, the task was made much easier. It truly has been a summer well spent at Solace getting to know the people and the technology.

The post [My Event-ful Internship at Solace](https://solace.com/blog/event-ful-internship-solace/) appeared first on [Solace](https://solace.com).