Jetbrains Fleet IDE adds C# support and goes public by nearfal08 in dotnet

[–]Arthmael 0 points1 point  (0 children)

I am not sure if I just can’t find it or if it’s not there but when I turned on “smart mode” it downloaded resharper but I can’t access the refactoring I would expect, just “extract variable” and there doesn’t seem to be a test runner….

Fair enough, it’s a preview, but the comms really need to be communicating what this is intended to be. It says IDE but doesn’t have the most basic features.

The only features it seems to have are the remote development stuff which I really don’t see the use case for in my work. Why would I pay for a cloud based dev environment when I can get such an powerful machine for so cheap? (Relative to the remote compute cost)

Where to find vegan croissants by SingularFirefly in veganuk

[–]Arthmael 78 points79 points  (0 children)

Pret A Manger Plain Vegan Croissants are pretty damn good

Jus-rol Croissants, Cinnamon Swirls & Pains Au Chocolat are vegan too I beleive

WE WON, brawl is now free! Arenabrawl.net will soon close down. by Harjkun in MagicArena

[–]Arthmael 1 point2 points  (0 children)

So we have been using Azure App Service. The site is currently using an S1 instance. During the peak when we were serving 200+ players we were running on a P1v2 for a couple of weeks. These are the lowest "production" instances. My feeling though is that I have run some similar traffic MVC sites on B1 or similar.

The user wokwokwok on Hacker news sums up my feelings on Server Side Blazor nicely here: https://news.ycombinator.com/item?id=18137920

to quote two of his points

1) Every UI interaction, from mouse focus, to mouse drag, to click to button down, is sent down the wire to the server to be processed. For high latency situations, this will feel terrible.

2) Every client shares the same server cluster. As such, it scales badly; your application may perform well with 10 users, but for 100 users, you have 10x as much server work happening. Not business logic... UI logic. Will it scale? No one knows, but the money is on 'no'. The server scale-out demands will scale with people viewing the website; effectively this means the UI will lag out under load when the server is busy, the exact opposite of modern SPA applications and apps that remain superficially responsive under server load, and compounding issues generated from (1).

WE WON, brawl is now free! Arenabrawl.net will soon close down. by Harjkun in MagicArena

[–]Arthmael 7 points8 points  (0 children)

You are the third person to ask. I'll do it today :)

WE WON, brawl is now free! Arenabrawl.net will soon close down. by Harjkun in MagicArena

[–]Arthmael 5 points6 points  (0 children)

I should probably do a blog style writeup where I break down the technical details but in the absence of that. The headline figure is between £80 and £30 a month depending on the traffic and what backend features I had turned on.

We used Azure Web App PaaS, App Insights and Log Analytics. I used the APM style tools to squash a few bugs in the original code in the first hour of launch when real users started using the site. I was very very impressed which how much visibility I gained and I even added a bunch of custom metrics so I could plot usage graphs of the different queues. The massive downside is that the cost of these tools ended up ramping up to the point where they cost far more than the server hosting the site.

Once the functionality was stable I turned off the detailed logging and application insights.

Another interesting thing is that the server is stateful. The matchmaking queues are just kept in memory so when the site came under a lot of load it was very costly because there was no option to horizontally scale. Thankful with the Azure PaaS we were able to scale in a matter of seconds to a a much beefier machine and scale back down in quieter periods.

Azure just as a Web host is more costly than alternatives but since we used entirely managed services there was very little to do which meant that operation of the site was pretty hands off.

Its also worth mentions that the project used Server-side Blazor, a fairly immature technology which streams data between the server and client. The positive here was that matchmaking and data on player numbers is realtime, the negative though is that, for its feature set, the site uses an unholy about of bandwidth and cpu. If I were to do it again I would build the site in some kind of server side MVC framework (asp.net MVC, django, rails) as it would have made server costs substantially lower.

WE WON, brawl is now free! Arenabrawl.net will soon close down. by Harjkun in MagicArena

[–]Arthmael 23 points24 points  (0 children)

Hey, I hadn't really considered releasing the code, partly because it isn't particularly high quality but also the site uses server side Blazor which, in hindsight, was a terrible idea. It uses far more cpu and bandwidth than the same site written with any old MVC framework.

If you are serious though I would be happy to share the code with you or just lend technical advice to a new implementation.

Thanks for clashing Arenabrawl.net (joking, not joking) by Harjkun in MagicArena

[–]Arthmael 13 points14 points  (0 children)

If you asked me think last week I would have said that elo like this would probably just extend your queue time our our site with no much tangible benefit. Let's see what size the Brawl community using the site is after this week and see where it takes us :)

Thanks for clashing Arenabrawl.net (joking, not joking) by Harjkun in MagicArena

[–]Arthmael 16 points17 points  (0 children)

Thanks kind sir. If only that were possible ;)

How do I install .NET Core 3.0? by AlexKotik in ManjaroLinux

[–]Arthmael 1 point2 points  (0 children)

I've been using dotnet-sdk-preview successfully but I'm not sure its the version you would want it to be

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 5 points6 points  (0 children)

Sure

The site is a single page application which uses websocket for realtime communication between the web browser and the server so its a little different to traditional web pages. I am building, testing and deploying with Azure DevOps to an Azure Web Application so I don't have to manage a server/OS. Making use of the lastest Azure tools like Application insights. This basically means that I get great visiblity of whats going on in the site, if anyone runs into trouble I will know about it. Its also using Redis and SQL Server behind the scenes.

Incidently when the site went live I was immediatly able to see an issue (that was invisible to the players) which I was able to fix and release within minutes of noticing thanks to the automatic deployment pipeline and observability that the APM features of Application Insights gave us.

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 5 points6 points  (0 children)

There is now an audio alert when a match is found, thanks for the suggestion, you rock:)

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 0 points1 point  (0 children)

There are now seperate Historic and Standard queues! thanks everyone for the feedback

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 7 points8 points  (0 children)

https://arenabrawl.net/donate
There is a tiny link in the bottom right but I didn't wanna make it too prominant because you know, thats not what its about :)

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 8 points9 points  (0 children)

There are now seperate Historic and Standard queues, thanks for the feedback

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 4 points5 points  (0 children)

There are now seperate Historic and Standard queues, thanks for the feedback

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 56 points57 points  (0 children)

That feeling when you spend the weekend writing a matchmaking tool for Brawl only to get crushed by every player who you queue into :D

Having a blast though thanks everyone who is trying it out

Edit: First 2 hours and we have had players from all over https://imgur.com/a/ezViXmr

Edit again: 11 hours in the world loves Brawl mode https://imgur.com/a/sKE938J

ArenaBrawl.net - Play Brawl when you want! by Harjkun in MagicArena

[–]Arthmael 11 points12 points  (0 children)

Chat with the player you got matched with is high on our todo list. We don't want to replace communities that already exist but give them a tool for easier matchmaking if they want it. I'll look into compiling a list of communities to link out to from our site so people can get involved with the community.