Skip to main content

Posts

Showing posts with the label service fabric

[Post-Event] Keyboard and Mice Event, June 2, 2016, Sibiu

This week I had the opportunity to speak at Keyboard and Mice event in Sibiu. This event  is one the iQuest  events for local IT communities. As usually, Sibiu didn't disappointed us and more than 115 people joined this events. It was an event with full house. It was a pleasure to speak in front of so many people about what Microsoft is doing related to microservices from Service Fabric and Azure Service Fabric perspective. At the end of the event, there were some very interesting round table discussion around mobile development, automated testing and over-engineering. Feel free to take a look on the slides. Don't forget that you can contact me directly if you have any questions related to this topic. Also, at the end of this postyou can find some pictures from this event. Slides: Service Fabric – Microservices in Microsoft World, Radu Vunvulea 30 may 2016 SIbiu from Radu Vunvulea Pictures :

[Post Event] ITCamp 2016, Cluj-Napoca

The 6th edition of ITCamp conference took place in Cluj-Napoca at the end of this week. For 2 days, more than 600 people were connected to the latest software development and devops trends. More than 40 speakers had offered high quality content to ITCamp attends. Having 5 tracks in parallel is awesome, but sometimes is so hard to decide to what session to attend. There were a lot of interesting topics that were presented and discussed during this two days. From Security and Development Best Practices, to .NET Core, Cloud and IoT. I really felt that IoT era already started during the sessions where many speakers had with them different smart devices that can improve our life. The second day of ITCamp brought for the first time in Cluj-Napoca and Romania Microsoft HoloLens. This glasses are like the one from Start Trek that not only creates a virtual reality like other devices on the market, but offers to the user an augmentative reality. I had the opportunity to test them and it...

[Post Event] DevTalks 2016, Cluj-Napoca

This week we had another great conference in Cluj-Napoca - DevTalks . It seems that this month Cluj-Napoca is the hotspot of IT Conference in Transilvania. We have in only one month 4 conference with more than 500 attendees - what a crazy month. At DevTalks Cluj-Napoca more than 600 people attended. There were 4 tracks in parallel, one of the track was 'Transition to 2020', where I was invited to talk about microservices. Because we will not have all the time the opportunity to write an application from scratch, I decided that the best topic is how to migrate a monolithic application to microservices. At the end of this post you can find my slide deck. Title:  How to migrate a Monolithic system to Microservices Abstract:  This is the story of how we need to change an existing monolithic system to be able to run over microservices. Lessons learned and best practices will be presented together with the most important architecture patterns that we need to take into account w...

[Post Event] Codecamp Conference, Cluj-Napoca - May 7, 2016

After IaÈ™i, Codecamp Conference came in Cluj-Napoca. In May 7, 2016, more than 60 speakers had the opportunity to share their knowledge to local IT Community. There were 8 tracks in parallel that brought more than 700 people during the entire day. The sessions were very interesting and the topics were vast, from developing methodologies, to technical subjects and  project management. At this conference I was invited to speak about Microservices and Azure Service Fabric. Below you can find information about my session and slides. Title:  First 13 steps to be able to design an application for Azure Service Fabric Abstract:  Welcome to a session where we will talk about the most important thing that we need to know about Azure Service Fabric and microservices. This presentation will introduce you in the most important concept of Azure Service Fabric with real life examples and demos. This is not a how to session, this is a session with the pillars of Azure Service Fabr...

Service Fabric - Custom location for logs and data on DEV Env

The current DEV environment that I'm using when I play with Service Fabric had a SSD of 256GB and a normal HDD (512GB). The problem with the current configuration is that I don't have enough space on SSD for everything I would like to put there. Service Fabric Development Cluster can use a lot of this space and you might want to put it on another partition or HDD, where there is enough space. The location where the cluster data are stored can be specified through the Power Shell script that is used to setup the DEV environment for our cluster. In the above example, I specify that all the data for my local cluster to be copied to D:\cluster\data and logs to D:\cluster\logs. C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup>  .\DevClusterSetup.ps1  -PathToClusterLogRoot D:\cluster\log  -PathToClusterDataRoot D:\cluster\data

Azure Service Fabric: State of an Actor is not persisted | Actor ID

We have in our Azure Service Fabric cluster an actor called SmsActorService that haves a method that allow us to get the next SMS. The actor works great, when we want to send an SMS to our actor works great, but when we want to get a SMS, surprise, we have null reference exception when we want to access the actor state. Send SMS to actor IAct0r mobileDevice = ActorProxy.Create<IAct0r>( new ActorId(smsToSent.Value.PhoneNumber), new Uri("fabric:/ITCamp.SF/Act0rActorService")); await mobileDevice.ReceiveSmsAsync(smsToSent.Value); Get SMS from actor int id = 1000; IAct0r mobileDevice = ActorProxy.Create<IAct0r>( new ActorId(id), new Uri("fabric:/ITCamp.SF/Act0rActorService")); Sms sms = mobileDevice.GetNextSms().Result; Even if we know that we already created the actor with the given ID and we have our state saved, when we access it, surprise, th...

Azure Service Fabric: The primary or stateless instance for the partition has invalid address, this means that right address from the replica/instance is not registered in the system.

What should you do when you are using Azure Service Fabric and you receive the following error code when you call a Reliable Service that is Stateful: The primary or stateless instance for the partition has invalid address, this means that right address from the replica/instance is not registered in the system. Sample Remote Call: IStatefull smsService = ServiceProxy.Create<IStatefull>( new Uri("fabric:/ITCamp.SF/Stateful"),new ServicePartitionKey(1)); await smsService.SendSmsAsync( phoneNumber, $"{DateTime.Now.ToShortTimeString()} Hello ITCamp!, from '{phoneNumber}'"); Service internal sealed class Stateful : StatefulService, IStatefull { public Stateful(StatefulServiceContext context) : base(context) { } protected override IEnumerable<ServiceReplicaListener> CreateServiceReplicaListeners() { return ne...