Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

Introduction into GraalVM (Community Edition): Cloud as a Changing Force

1. Introduction The shift towards cloud computing has had a massive impact on every single aspect of the software development process. In particular, the tools and frameworks the developers have had mastered for years suddenly became unfit, or to say it mildly, outdated. To reflect the reality, the whole new family of frameworks and libraries has emerged, collectively called cloud-native. ...

Read More »

💻 Introducing our brand new Youtube channel for Programming Video Courses

Hey fellow Geeks,following our Community’s feedback and staying on trend with the industry developments, we are super excited to announce the launch of our brand new Youtube channel! On our channel, we will be hosting video courses related to Java programming, but software development in general as well. We will be featuring code walk-through as well as full-blown tutorials. In ...

Read More »

Top 20 Online Programming Courses to Boost your Career

Do you want to know what is the best investment you can make with your time and money? Knowledge As a software developer you should be constantly acquiring new skills. This is the best way to advance your career and enjoy the rewards (monetary, emotional etc.). Towards that direction you should be reading books, devouring technical articles and staying informed ...

Read More »

Latency of DigitalOcean Spaces vs AWS S3

WakaTime’s infra is split across DigitalOcean and AWS. We use DigitalOcean Droplets for compute resources, AWS S3 to store code stats, and DigitalOcean Spaces for backups. You can find more info on this split infra decision in this blog post. The files we store in S3 are usually between 10KB and 50KB in size, and we store multiple terabytes of these files. We don’t use Spaces CDN, and our Spaces ...

Read More »

Using a disk-based Redis clone to reduce AWS S3 bill

Redis is an in-memory database with very high write and read speed, and a limitation that data sets can’t be larger than available RAM. It’s like memcached but supports data structures instead of just strings as values. Redis is great for caching lookups to AWS S3 from an external server, which can speed up your S3 reads and save you money on Outgoing Data ...

Read More »

Retry In The Future

Writing asynchronous code in Javascript is relatively easy. // async function let attempt = 1; while (true) { try { const result = await operationThatMayFail(); // it didn't fail return result; } catch (error) { if (attempt >= maxAttempts || error !== 'Retryable') { // either unhandleable, or no further attempts throw error; } } attempt++; await sleep(pauseTime); } This ...

Read More »

It Looks Right To Me

When writing a test it’s important to test both positive and negative scenarios. It’s important to test edge cases. However, when choosing test data, the test data needs to illustrate the test case well. If the test data is hard to connect back to the exact use case, then it can lead someone to misunderstand the test, its implied specification, ...

Read More »

Choosing the Right Testing Strategy to Scale up Mobile App Testing

As soon as we hear the word mobile, we realize that it has majorly occupied the human space. Internet, videos, music, social networks, navigation, etc. you name it and you’ve got it. The relationship between mobile apps and human beings has become an unshakable bond. As the mobile app trends progress, it becomes a dire need to have a robust ...

Read More »

REST API Design: Dealing with concurrent updates

java-interview-questions-answers

Concurrency control can be an important part of a REST API, especially if you expect concurrent update requests for the same resource. In this post we will look at different options to avoid lost updates over HTTP. Let’s start with an example request flow, to understand the problem: We start with Alice and Bob requesting the resource /articles/123 from the ...

Read More »

Upload files in Spring Boot application using Commons FileUpload

spring-interview-questions-answers

In our previous post, we saw how to upload a file using the Spring framework’s default implementation for MultipartFile interface. In this post, we will see how we can use the Commons FileUpload library and the wrapper implementation CommonsMultipartFile provided by the Spring framework. Update the pom.xml We will update the maven dependencies to include commons-io and commons-fileupload. We will ...

Read More »

Uploading files in Spring Boot application

spring-interview-questions-answers

Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy it to the file system on the server. Creating a HTML form with file upload option The below HTML code and its corresponding Javascript code creates the HTML form and ...

Read More »