Hot answers tagged

6 votes

Why do payment systems verify the transaction once it has been completed?

When you write "deducted the balance" it suggests you might be missing a key thing that is important to understand about banking systems. They don't really store 'a balance' for each account....
JimmyJames's user avatar
  • 25.2k
2 votes
Accepted

Sandboxing interpreted code

It seems you have two conflicting requirements. On one hand, you want direct, low level memory access from your language's byte code to the host. On the other hand, you want to prevent the host ...
Doc Brown's user avatar
  • 201k
1 vote

High Throughput Concurrent Map Access and Periodic Updates Causing Contention and Latency Spikes

Is the considered solution optimal, or is there a better approach to handle high throughput reads and periodic writes without causing contention? Assuming you have a fairly constant read-load on the ...
Bart van Ingen Schenau's user avatar
1 vote

Sandboxing interpreted code

Can I even handle segfaults in user code reliably? No, because the worst case is that it doesn't segfault but instead overwrites part of the runtime's state which is in the same process. You can't ...
pjc50's user avatar
  • 10.8k

Only top scored, non community-wiki answers of a minimum length are eligible