Currency Questions

Ad
Ad

Wait until any of Future<T> is done

I have few asynchronous tasks running and i need to wait until at least one of them is finished (in the future probably i'll need to wait util m
Ad

Decimal fixed precision

I would like to use decimal in currency calculations, so i would like to work on exactly two numbers after comma. initially i thought that
Ad
Ad

PostgreSQL row read lock

Let’s say i have a table called withdrawals (id, amount, user_id, status). whenever i a withdrawal is initiated this is the flow:

NodeJS/Express not asynchronous

Can you give a hint why is express handling one request at a time? i thought that it should be able to do multiple at once. const
Ad

Java Concurrent Socket Programming

Below is my code for a simple concurrent server. whenever i run multiple clients, the server only prints out the input of the first client. i'm
Ad
Ad

Handle when api doesn't respond

I am trying to get euro, dollar and turkish liras currencies and comparing them. but sometimes api (i am using a random currency website json
Ad

JUnit and Latches

// improving the description as requested // the code works fine as it is below. but if i move one assert(latch) from testa to testb; the
Ad

Node.js or Erlang

I really like these tools when it comes to the concurrency level it can handle. erlang/otp looks like much more stable solution but
Ad
Ad

Blog Categories

Ad