Monday Sep 28, 2009

MySQL Backup in a Second with ZFS

For the MySQL users, I just posted a blog entry about how to get fast and reliable MySQL backup using ZFS.

Friday Aug 07, 2009

Flawed JavaFX Sample (Wrap up Java User Group Karlsruhe Presentation)

JUG UKAJavaFX

Hello everyone,

thank you for the great JavaFX evening we had in Karlsruhe(Download for english slides) .

My audience was fully alert and found a bug in the official JavaFX performance sample.

Have a look at it. What is wrong here? 

Right. The Java multithreaded example finds a prime less.

Tobias Laube saw it right away and send me the fix within 24 hours. One way to fix the problem is to patch line 65 in

ThreadedCount.java by initializing the counting variable total with 1 instead of 0 as done in the demo code.

       }

int total = 1; // 2 is a prime

            List<Future<Integer>> results = pool.invokeAll(tasks);

            for (Future<Integer> result : results) {

Thank you Tobias! By the way: This is not the reason why the multi threaded code is faster

I'll now have to find someone who's fixing the page...

- Stefan Schneider 

About

Connecting the Startup Essentials community with all the events, information and resources required for them to grow and scale.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today