Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
peter_lawrey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
peter_lawrey
6y ago
A lot of code in any language is a red flag.
32.
▲
by
peter_lawrey
6y ago
Say you have a strategy which is only going to make money for a few weeks, every day you delay means you are losing money. If you are in a Bank, correctness is always the most important and speed only helps you reduce cost/make money,
33.
▲
by
peter_lawrey
6y ago
Some people use Azul Zing but we typically use OpenJDK or Oracle JDK.
34.
▲
by
peter_lawrey
6y ago
Not all your services/code needs to have the lowest latencies so you can have a team which just needs to be able to translate the business requirements and a couple of people to optimise the critical code.
35.
▲
by
peter_lawrey
6y ago
If you have multiple processes each with 24 GB of Eden space and you can produce 1 GB/hour of garbage in each service and still only GC once a day.
36.
▲
by
peter_lawrey
6y ago
Projects with limit time and resources can be completed faster with a high level language giving you more time to optimise it. A well optimised Java application can perform better than a poorly optimised C++ application.
37.
▲
by
peter_lawrey
6y ago
The trading systems we work on have a wire-to-wire latency of 20 - 50 microseconds on the 99.9%ile. It really depends on what you are looking to achieve.
38.
▲
by
peter_lawrey
6y ago
Most trading systems I work on only need a very small portion to be highly optimised. As long as most of the code is pretty efficient that is fine.
39.
▲
Java 8 Optional is not just a replacement for null
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
12y ago
|
0 comments
40.
▲
On heap vs. off heap memory usage in Java
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
12y ago
|
0 comments
41.
▲
Java Lambdas and Low Latency
(vanillajava.blogspot.com)
5 points
by
peter_lawrey
12y ago
|
0 comments
42.
▲
What skills should a Core Java Developer have?
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
43.
▲
Why thread priority rarely matters
(vanillajava.blogspot.com)
2 points
by
peter_lawrey
15y ago
|
0 comments
44.
▲
Order of elements in a hash collection
(vanillajava.blogspot.com)
2 points
by
peter_lawrey
15y ago
|
0 comments
45.
▲
The Exchanger and GC-less Java
(vanillajava.blogspot.com)
8 points
by
peter_lawrey
15y ago
|
0 comments
46.
▲
Memory alignment in C, C++ and Java
(vanillajava.blogspot.com)
2 points
by
peter_lawrey
15y ago
|
0 comments
47.
▲
Writing to stdin
(vanillajava.blogspot.com)
2 points
by
peter_lawrey
15y ago
|
0 comments
48.
▲
Avoiding Java Serialization to increase performance
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
49.
▲
Why testing code for thread safety is flawed
(vanillajava.blogspot.com)
6 points
by
peter_lawrey
15y ago
|
0 comments
50.
▲
Collections Library for millions of elements
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
51.
▲
Vanilla Java: Tuning buffer sizes
(vanillajava.blogspot.com)
2 points
by
peter_lawrey
15y ago
|
0 comments
52.
▲
Comparing Collections speeds in Java
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
53.
▲
Reading/writing GC-less memory
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
54.
▲
Vanilla Java: A collection with billions of entries
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
55.
▲
Strange Hello World in Java
(vanillajava.blogspot.com)
1 points
by
peter_lawrey
15y ago
|
0 comments
56.
▲
Comparing Java 7 Async NIO with NIO.
(vanillajava.blogspot.com)
4 points
by
peter_lawrey
15y ago
|
0 comments
57.
▲
by
peter_lawrey
15y ago
Most of the 10 micro-seconds is spent receiving the UDP/TCP packet, decoding it, building an order request and sending it. Only a fraction of this time is left to make a decision. ;)
58.
▲
by
peter_lawrey
15y ago
LMAX is more high throughput than low latency. Most exchanges are about 10x slower than the trading systems which connect to them. This is because the exchange has handle all its clients, whereas the trading system can limit itself to les
59.
▲
by
peter_lawrey
15y ago
I would be interested if you could expand on this speculation?
60.
▲
by
peter_lawrey
15y ago
I agree, avoiding GC is paramount. You can do this in Java by discarding less objects. http://vanillajava.blogspot.com/2011/06/how-to-avoid-garbage...
More ›