Skip to content

A code sample for one of my job applications demonstrating non-trivial concurrent programming solutions in Java.

Notifications You must be signed in to change notification settings

vhalme/score-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

score-server

Performance considerations

- Unnecessary iteration and looping is avoided in sorting the highscores list.
- Unnecessary copying of data is avoided in concurrency strategies.

Concurrence considerations

- Highscores list is being kept in order in asynchronous mode, ie. it is always in correct order.
- Iterators are avoided to make sure ConcurrentModificationException would not occur.
- Concurrent methods are marked as 'synchronous' to ensure thread safe data access.

Running

java -jar score-server.jar

Other

About

A code sample for one of my job applications demonstrating non-trivial concurrent programming solutions in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages