en gruppe mennesker som poserer for kameraet

Recap of Cloud Stories from Norway, Episode 2: Azure IoT and Machine Learning in Oss Norge

Maxim Salnikov

Maxim Salnikov

Developer Engagement Lead

Lesetid, 7 min.

The second episode of the “Cloud stories from Norway” videoshow is ready for watching! In this 40-minutes long show we feature Azure cloud best practices, patterns, tips & tricks used in production in the products and services of the well-known Norwegian companies. 

Yo can watch this episode on-demand. Just fill in the form and you will immediately receive a link to the video in your email.

For this episode, we invited Bent Eikmo (CTO at Oss Norge AS) and Sebastien Didierjean (Data Scientist at Oss Norge AS) to present about Azure architecture decisions they made and successfully implemented to build a hardware + software + cloud solution for helping people and companies to get useful information about the power consumption in their apartments and offices. You are welcome to read about how Oss Norge uses Azure cloud for creating a greener energy market in their Customer Story on our blog.

In their short, very focused technical sessions Bent and Sebastien presented about: 

  • Technical journey on building IoT device and sending data to the cloud using Azure IoT Hub 
  • Machine Learning infrastructure used in production at scale which includes Azure Data Explorer and Databricks 
  • Many more cloud tips & tricks to skill you up on Azure! 

During the streaming session we received lots of technical questions from our attendees. Here we publish the answers to some of them: 

  • Q: Did you reduce the amount of data or only reduced the bandwidth used?
    A: We didn’t reduce the amount of data, but the amount of overhead by packing more data into a single IoT hub frame. 
  • Q: Is ADX like Google BigQuery?
    A: Yes, it is. It is more ergonomic and powerful (in our case!) 
  • Q: Is Azure Data Explorer easy to configure to ingest data from non-Azure sources, i.e Google Big Table or Big Query? Do you have any experience with that?
    A: I have limited experience of such compatibility. We use ADX for both storage and data wrangling with ingestion from IOT hub. 
  • Q: What kind of resolution are you working with on the data?
    A: We are working at seconds level. 
  • Q: Which programming language is being shown here?
    A: It is mainly KQL and python (in the sandbox) 
  • Q: Why not make all the data processing in Databricks rather than using an additional framework with ADX to do the initial predictions?
    A: Since we use ADX for the storage, it is easier to perform the first step of data wrangling/ML in ADX directly. We only use a few hours of Databricks clusters per day. 
  • Q:  Why are you doing some machine learning in Spark rather than using ADX for everything? To me this sounds like a complication.
    A: ADX is limited in term of ML and its DevOps capability is not enough to cover our needs. 
  • Q: Do you use ADX also for data storage, and how do you handle data retention?
    A: Yes, we do. We keep the last 31 days in hot (SSD) storage. 
  • Q: If I remember correctly, you also have an API that could be consumed? I assume working with electricity data, there is a lot of volume. If so, did the volume of data create any challenges in making an API?
    A: The raw data is not presented to the API. Only aggregated data is presented at the moment. 
  • Q: Could you tell what are in your experience the main advantages of doing the preprocessing in ADX vs Spark?
    A: For a little startup, ADX offers out of the box tools to perform advanced data wrangling (less coding) and the development is faster since the queries are developed directly where the data is stored. 
  • Q: How much did you reduce in cost by optimizing in total (Azure, Code and IoT)
    A: It is hard to say because we are not completely done optimizing, but I would say about 70% 
  • Q: How do you store the archive data in Azure?
    A: We are not moving data to additional archive storage at the moment. 
  • Q: Do you have a solution for including the different grid tarifs (nettleie) when presenting the costs/price of the consumed electricity to each user?
    A: We consider the zones where the customer lives. Considering the exact grid tariffs is under development. 
  • Q: For how long do you keep the data? Is it deleted afterwards or archived somewhere else?
    A: As long as the user is a customer, we keep the data in our system (ADX)! 
  • Q: Could a machine learning model trained in AzureML be used directly in ADX to achieve the same capability as SparkML?
    A: I am a bit unsure about the level of performance (it depends on the cluster configs/costs) but a model trained with AzureML should work with the Python sandbox. Let me know if you manage to couple ADX and AzureML! 
  • Q: Is data is stored as JSON?
    A: It is ADX that deals with it. It looks JSON like. 
  • Q: Do you push code to the devices as well with IoT Hub?
    A: Yes, we are using IoT Hub to control the update process. 
  • Q: Have you considered the life of Data? How long the data is planned to be stored?
    A: As long as a user remains a customer, we do not have any limit on storage based on how old the data is. 
  • Q: I understand that customers’ anticipation and awareness might be one the goals but what is the future for Oss Norge and its product?
    A: As of today, Oss Norge addresses both private and business markets with products oriented towards energy prediction and awareness. We are working on improving the present developments and on the optimisation of energy savings in the business segment with highly competitive solutions.   
  • Q: Could you provide some thoughts on what types of workloads you would use ADX and Databricks for going forward, in both the data engineering and machine learning areas? ADX seems to be very effective for less complex stuff (simple data transformation, basic built-in ML?), whereas Databricks provides full flexibility (and, perhaps, added scalability). Do you also see it this way, and if so, where would you say that you hit that «complexity threshold» on data engineering and ML complexity where Databricks becomes more effective?
    A: So far ADX is scaling very smoothly so we do not think about Databricks overtaking part of the ETL. The presence of the python sandbox in ADX makes it flexible enough to cope with our future developments. 
  • Q: How did Azure help you in ensuring Data quality?
    A: I would say that it is one of our first mission as Data Scientist to ensure optimal Data Quality. ADX with the built-in visualisation tool helps in productivity for all the tasks related to Data Quality. 
  • Q: Do you delete the data after some time or archive it in some way (e.g. so that you can perform long term analysis later)?
    A: All data is stored within ADX at the moment for later analysis. 

How to contact Bent Eikmo: 

 How to contact Sebastien Didierjean: 

All episodes of the “Cloud stories from Norway”

Next events from Microsoft Norway?

How to follow all Microsoft Norway’s and local tech communities’ events about Azure cloud for the developers – conferences, seminars, workshops, training, webinars, etc.? Just follow our technical twitter https://twitter.com/MSDevNo or hashtag #MSDevNo

To stay connected: 

Feel free to send your questions about the Azure cloud technology and educational events here: maxim.salnikov@microsoft.com 

Maxim Salnikov
Developer Engagement Lead at Microsoft Norway 

Gratis E-bok: Are you ready for the Modern Workforce

Skap arbeidsplasser som engasjerer og inspirerer medarbeiderne

Gratis whitepaper: Hvordan teknologi hjelper bedrifter med å få fullt utbytte av ideer

Skap et bedre arbeidsmiljø der de ansatte har utstyr og muligheter til å generere nye ideer

Oppdag flere relaterte artikler per bransje:

Detaljhandel

  • GDPR og detaljhandel: Fire GDPR-krav og hvordan Microsoft kan hjelpe

    GDPR og detaljhandel: Fire GDPR-krav og hvordan Microsoft kan hjelpe

    Finn ut hvordan vi kan hjelpe deg å oppfylle GDPR-kravene med dagens tilgjengelige løsninger: Vurder din gjeldende risikoprofil «Hvordan finner jeg ut hvilke forskrifter jeg allerede overholder, og hva jeg må fokusere på videre?» Dette er et av de vanligste spørsmålene om GDPR fra retail. Det er også et av de vanskeligste spørsmålene å svare på, […]

  • HeadBrands er klar for fremtiden med Microsoft 365 Business

    HeadBrands er klar for fremtiden med Microsoft 365 Business

    Siden etableringen i 2010 har HeadBrands opplevd rask vekst og er nå Skandinavias ledende forhandler av frisørprodukter. HeadBrands trengte en moderne IT-løsning for å øke produktiviteten og forbedre samarbeidet, både internt og eksternt. Svaret på utfordringen var å bytte ut de fleste tidligere tjenester med Microsoft 365 Business: en helt ny løsning som kombinerer det […]

Finans og forsikring

  • Arrangerte Hackathon for fremtidens lavkodeløsninger i Sparebank 1  

    Arrangerte Hackathon for fremtidens lavkodeløsninger i Sparebank 1  

    Da Sparebank 1 Utvikling inviterte til Power Platform-Hackathon, samlet fem av landets fremste ekspertmiljøer innen Microsoft-plattformer seg for å knive om førsteplassene.    – – – –   Blant disse var Sopra Steria, KPMG, EVIDI, Bouvet og Cefyr.    – Dette har vært kjempemoro og en helt ny måte å utveksle lærdom mellom kunde og leverandør, sier Pål-André […]

  • Norwegian Fintech Cloud Community

    Norwegian Fintech Cloud Community

    On March 21st, we held the first ever Norwegian Fintech Cloud Community in our offices in Oslo! Thank you to both technical/developer leads and business leaders for joining us for this day of inspirational talks by other financial organisations and cloud experts from Microsoft, as they shared best practices in building solutions in the cloud. […]

Helseomsorg

  • Microsoft Cloud for Health – the need of the hour

    Microsoft Cloud for Health – the need of the hour

    The year that has just been, is the year that challenged human interaction to a great length. A chat over a cup of coffee, evening dine-out with families and friends, a warm hug or a reassuring handshake: the year 2020 challenged the goodness of an endearing touch. However, 2020 was also the year of human […]

  • en person som sitter foran en bærbar datamaskin

    «Big Bang»-tilnærmingen til digital transformasjon – og hvordan man får den til å fungere

    Ingenting er som før for næringsdrivende. Endring og omveltning er den nye normalen. Bare tenk på endringene som påvirker din egen organisasjon akkurat nå: Ny teknologi og nye teknikker skaper nye holdninger og forventninger både blant ansatte og kunder. Alt forandrer seg. Det eneste alle endringene har til felles, er hastigheten de skjer i. De […]

Industri

  • en person som sitter ved et skrivebord med en bærbar PC på et bord

    Hvordan tilrettelegge for dine ansatte i usikre tider

    Microsofts Max Tchapeyou tilbyr et veldig personlig synspunkt, med henvisning til de seks måtene han har funnet for å jobbe mer effektivt – og positivt – med teamet sitt.

  • Prosjektleder i Aker BP: – Copilot lar meg være helt til stede i møter

    Prosjektleder i Aker BP: – Copilot lar meg være helt til stede i møter

    Aker BP har forhåndstestet Microsoft 365 Copilot siden i sommer. Dette har de lært.   – Min første opplevelse av Copilot var bare: «wow», sier Angelo Tiller-Georgiou, prosjektleder i Aker BP.   Som prosjektleder består en stor del av hans arbeidsdag av Teams-møter med aksjonærer og medarbeidere. Derfor har Tiller-Georgiou lært seg å mestre kunsten å multitaske.  […]

Offentlig sektor

  • Sikker datalagring på norsk jord

    Sikker datalagring på norsk jord

    Høsten 2019 åpner Microsoft to nye datasenterregioner i Norge. Datasentrene tilbyr skytjenester til offentlige og private aktører med behov for og krav til lagring av data på norsk jord. Informasjonssikkerhet er helt nødvendig for alle verdiskapende aktører i vårt moderne samfunn. Når stadig flere avgjørelser baseres på en voksende mengde tilgjengelig informasjon, må vi kunne […]

  • En mer effektiv kommune med Teams for telefoni

    En mer effektiv kommune med Teams for telefoni

    Når ansatte i Stavanger kommune plukker opp telefonen, er det gjennom Teams. – Se for deg et ektepar hvor den ene er ansatt i kommunen og den andre i et av oljeselskapene her i regionen. Om de sitter ved siden av hverandre på hjemmekontor – så ønsker  kommunen å ha de mest moderne verktøyene. Det […]

Utdanning

Oppdag flere relaterte artikler per dossier:

Digital Transformation

  • Digitalkultur

    Digitalkultur bygger bro over generasjonskløften på jobben

    Ifølge en europeisk undersøkelse fra Microsoft har mange norske bedrifter en jobb å gjøre for å holde på sine yngre ansatte, og ledere må være bevisst på hvilke forventninger yngre arbeidstakere har til bedriftens teknologi. Teknologi og en sterk digitalkultur kan motivere ansatte og bidra til at hver enkelt yter sitt beste. Aldri før har […]

Kundehistorier

Presse

  • Microsoft Norges respons til COVID-19

    Microsoft Norges respons til COVID-19

    Sist oppdatert: 16. mars 2020 Microsoft har en global tilnærming til beredskapsplaner og planlegging av krisehåndtering, som inkluderer både forutsette og uforutsette hendelser. Tilnærmingen inkluderer en handlingsplan ved pandemier. Våre handlingsplaner aktiveres over hele verden, og i tillegg til bistandsmidler til Kina og Puget Sound Community, har vi forpliktet oss til å levere produkter, tjenester […]

Sikkerhet og personvern

  • SMB-ansatt som jobber eksternt fra en flyplass

    Ikke la IT komme i veien for vekst

    Dagens småbedrifter møter på nok av utfordringer foruten IT som hindrer suksess. Men hvordan kan du sørge for at systemet er til hjelp og ikke til hindring? Som forbrukere krever vi sømløs tilkobling for å gi oss det vi trenger, uansett hvor vi trenger det. Det er en holdning de fleste av oss har på […]

Tips

  • Fem måter å holde ansatte engasjerte og produktive på

    Fem måter å holde ansatte engasjerte og produktive på

    De ansatte er bedriftens kraftigste konkurransefortrinn. Tar du de rette valgene for å få fullt utbytte av denne verdien – eller i det hele tatt beholde den? Hjelp de ansatte med å holde seg engasjerte, fornøyde og produktive Kun 13 % av dagens globale arbeidsstyrke er svært engasjert og svært fornøyd med sin arbeidsplass. Av de […]