Availability in numbers

This is worth to note. Availability in numbers Availability is often quantified by uptime (or downtime) as a percentage of time the service is available. Availability is generally measured in number of 9s–a service with 99.99% availability is described as having four 9s. 99.9% availability - three 9s Duration Acceptable downtime Downtime per year 8h 45min 57s Downtime per month 43m 49.7s Downtime per week 10m 4.8s Downtime per day 1m 26.4s 99.99% availability - four 9s Duration Acceptable downtime Downtime per year 52min 35.7s Downtime per month 4m 23s Downtime per week 1m 5s Downtime per day 8.6s For more you can check https://github.com/donnemartin/system-design-primer ...

December 1, 2020 · 1 min · Özkan Pakdil

I have been procrastinating this upgrade for a long

I bought Huawei matebook x pro around 2 years ago Matebook X Pro i5 8GB+256GB (MACH-W19) SN: SNLBB18903000150 Applicable scope: Austria, Belgium, Bulgaria, Switzerland, Cyprus, Czech Republic, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Greece, Croatia, Hungary, Ireland, Iceland, Italy, Lithuania, Luxembourg, Latvia, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia and I just check warranty Warranty period Out of warranty Expected warranty expiration date: 2020/9/23 First of all I am very happy with the performance and stability. This is my first personal windows 10 usage it needed 2 times resetting(we used to call it format but it changed obviously) after windows updates, Windows is not very famous about it`s stability, so I learn how to backup and make sure everything is okay in case of system failure. ...

November 26, 2020 · 2 min · Özkan Pakdil

Getting com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class

I am trying to write small microservice benchmark for java, lately java microservice framework are popping up from every corner 😊 actually it is becoming little bit annoying, java world becoming js world. Anyway while writing some test I start getting the error below Internal Server Error Error handling d1e23f6f-3947-497a-be41-27ba9f7f4791-1, org.jboss.resteasy.spi.UnhandledException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.mascix.ApplicationInfo and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) The stacktrace below has been reversed to show the root cause first. Click Here to see the original stacktrace com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.mascix.ApplicationInfo and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:77) at com.fasterxml.jackson.databind.SerializerProvider.reportBadDefinition(SerializerProvider.java:1277) at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:400) This was coming from quarkus example. I got same error in spring boot and micronaut, my first approach was configure the bean or singleton and give ...

August 19, 2020 · 1 min · Özkan Pakdil

How to build eclipse on locally in windows 10

Best document I found is here, main problem about the documentation is google :) whenever I search different versions of “building eclipse in windows” all results were related to how to build a project(java or anything else) in eclipse. And I decided to write this note blog just for future refference. I had some issues on the way fatal: cannot create directory at 'bundles/org.eclipse.equinox.p2.tests/testData/previousConfigurationFinder/testSuccedingVersion/matchFromSuccedingAndPreccedingWithDifferentPlatfrom/org.eclipse.platform_3.8.0_11111111_linux-gtk-x86_64': Filename too long and constituent[40]: file:/C:/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/lib/wagon-file-3.3.4.jar constituent[41]: file:/C:/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/lib/wagon-http-3.3.4-shaded.jar constituent[42]: file:/C:/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/lib/wagon-provider-api-3.3.4.jar --------------------------------------------------- Exception in thread "main" java.lang.AssertionError: pom file must not be null from PolyglotModelManager as per API at org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(TeslaModelProcessor.java:64) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:500) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:414) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:377) at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:414) at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:405) at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:82) at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:507) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) or some git clone problems, you need to make sure there is no problem in git clone. ...

August 15, 2020 · 2 min · Özkan Pakdil

Running multiple jdk in github action

Here is an example to show how multiple jdk run in one github action. And generate artifacts as test results jobs: build: runs-on: ubuntu-latest strategy: matrix: java: ["8", "11", "13", "14"] name: Java ${{ matrix.java }} sample steps: And to see how it looks in build, check any build in https://github.com/ozkanpakdil/eclipse-collections-benchmark/actions

July 29, 2020 · 1 min · Özkan Pakdil